Use /srv/pkgxx instead of /opt/pkgxx
This commit is contained in:
parent
4e0ce8aa77
commit
fadf5fa93c
4
build
4
build
@ -26,7 +26,7 @@ git clone https://github.com/lukc/pkgxx && \
|
||||
|
||||
# APK configuration
|
||||
echo "> Configure APK to use pkg++ as supplementary repository…"
|
||||
grep -q "^/opt/pkgxx/dev$" /etc/apk/repositories || \
|
||||
echo "/opt/pkgxx/dev" >> /etc/apk/repositories
|
||||
grep -q "^/srv/pkgxx/dev$" /etc/apk/repositories || \
|
||||
echo "/srv/pkgxx/dev" >> /etc/apk/repositories
|
||||
|
||||
# FIXME: DL yunoconfig
|
||||
|
@ -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
|
||||
|
||||
# Insert pkg++ configuration in chroot
|
||||
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \
|
||||
sudo mkdir -p "$DIR/opt/pkgxx/src" && \
|
||||
sudo mkdir -p "$DIR/srv/pkgxx/dev" && \
|
||||
sudo mkdir -p "$DIR/srv/pkgxx/src" && \
|
||||
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
|
||||
|
||||
exit 0
|
||||
|
@ -1,8 +1,8 @@
|
||||
with context
|
||||
.distribution = "Alpine"
|
||||
.packageManager = "apk"
|
||||
.packagesDirectory = "/opt/pkgxx/dev"
|
||||
.sourcesDirectory = "/opt/pkgxx/src"
|
||||
.packagesDirectory = "/srv/pkgxx/dev"
|
||||
.sourcesDirectory = "/srv/pkgxx/src"
|
||||
.repositoryManager = "apk"
|
||||
.builder = "Contributor Dev Team"
|
||||
.repositoryDescription = "pkg++ dev repository"
|
||||
|
Loading…
Reference in New Issue
Block a user