FIX a problem with pkgxx repository in chroot: was created in local instead

This commit is contained in:
Olivier DOSSMANN 2018-08-04 17:48:27 +02:00
parent b37e66b399
commit 625eb99a8b

View File

@ -37,7 +37,7 @@ fi
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf"
# Insert pkg++ configuration in chroot # Insert pkg++ configuration in chroot
sudo mkdir -p /opt/pkgxx/dev && \ sudo mkdir -p "$DIR/opt/pkgxx/dev" && \
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1 sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
# Launch chroot # Launch chroot