first commit

This commit is contained in:
mudler
2016-08-04 16:50:12 +02:00
commit 385cec42b8
29 changed files with 1127 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/sh
if [ -d "${CHROOT_DIR}/proc" ]; then
echo "Unmounting ${CHROOT_DIR}/proc"
umount "${CHROOT_DIR}/proc"
fi
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/client/packages"
if [ -d "${CHROOT_PKGS_DIR}" ]; then
echo "Umounting bind to ${CHROOT_PKGS_DIR}"
umount "${CHROOT_PKGS_DIR}" || exit 1
fi