diff --git a/radish-build b/radish-build index 9a1949a..58f111e 100755 --- a/radish-build +++ b/radish-build @@ -105,6 +105,8 @@ fi echo "Preparing system for update..." +mount --bind /dev "${mountdir}/dev" +mount --bind /dev/pts "${mountdir}/dev/pts" mount --bind /proc "${mountdir}/proc" mount --bind /sys "${mountdir}/sys" @@ -222,6 +224,8 @@ chroot "${mountdir}" adduser --disabled-password --gecos "User" user echo "Un-mounting filesystem image..." +umount "${mountdir}/dev/pts" +umount "${mountdir}/dev" umount "${mountdir}/proc" umount "${mountdir}/sys" umount "${mountdir}"