X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F41apt_cdrom;h=0b3f79be71b87f9b7eabdaf610def3a237210e83;hb=4be693e68867b58fb0bac1f6fb1b5b153a1eb8bf;hp=00606d5006f55ec02c8316db0ba75046c6c8a6ce;hpb=11f6195097148e7b5738ffe29dc16061b2cfd770;p=live-boot-grml.git diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom index 00606d5..0b3f79b 100755 --- a/scripts/live-bottom/41apt_cdrom +++ b/scripts/live-bottom/41apt_cdrom @@ -33,7 +33,15 @@ log_begin_msg "Adding APT-CDROM source" if [ -d /root/cdrom ] then + mount -n -o bind /sys /root/sys + mount -n -o bind /proc /root/proc + mount -n -o bind /dev /root/dev + chroot /root apt-cdrom -m add + + umount /root/dev + umount /root/proc + umount /root/sys fi log_end_msg