[remaster/*] use mount --bind trick instead of cp to copy packages cache over to chroots
This commit is contained in:
7
scripts/remaster_error_script.sh
Executable file
7
scripts/remaster_error_script.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
if [ -d "${CHROOT_DIR}" ]; then
|
||||
umount "${CHROOT_DIR}/proc"
|
||||
fi
|
||||
|
||||
echo "Umounting bind to ${CHROOT_PKGS_DIR}"
|
||||
umount "${CHROOT_PKGS_DIR}" || exit 1
|
||||
Reference in New Issue
Block a user