Use /srv/pkgxx instead of /opt/pkgxx

This commit is contained in:
Olivier DOSSMANN 2018-08-05 11:21:37 +02:00
parent 4e0ce8aa77
commit fadf5fa93c
3 changed files with 6 additions and 6 deletions

4
build
View File

@ -26,7 +26,7 @@ git clone https://github.com/lukc/pkgxx && \
# APK configuration # APK configuration
echo "> Configure APK to use pkg++ as supplementary repository…" echo "> Configure APK to use pkg++ as supplementary repository…"
grep -q "^/opt/pkgxx/dev$" /etc/apk/repositories || \ grep -q "^/srv/pkgxx/dev$" /etc/apk/repositories || \
echo "/opt/pkgxx/dev" >> /etc/apk/repositories echo "/srv/pkgxx/dev" >> /etc/apk/repositories
# FIXME: DL yunoconfig # FIXME: DL yunoconfig

View File

@ -42,8 +42,8 @@ sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf"
sudo cp build $DIR/build && sh $DIR/enter-chroot /build || exit 1 sudo cp build $DIR/build && sh $DIR/enter-chroot /build || exit 1
# Insert pkg++ configuration in chroot # Insert pkg++ configuration in chroot
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \ sudo mkdir -p "$DIR/srv/pkgxx/dev" && \
sudo mkdir -p "$DIR/opt/pkgxx/src" && \ sudo mkdir -p "$DIR/srv/pkgxx/src" && \
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1 sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
exit 0 exit 0

View File

@ -1,8 +1,8 @@
with context with context
.distribution = "Alpine" .distribution = "Alpine"
.packageManager = "apk" .packageManager = "apk"
.packagesDirectory = "/opt/pkgxx/dev" .packagesDirectory = "/srv/pkgxx/dev"
.sourcesDirectory = "/opt/pkgxx/src" .sourcesDirectory = "/srv/pkgxx/src"
.repositoryManager = "apk" .repositoryManager = "apk"
.builder = "Contributor Dev Team" .builder = "Contributor Dev Team"
.repositoryDescription = "pkg++ dev repository" .repositoryDescription = "pkg++ dev repository"