X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F41apt_cdrom;h=eb7fbd88bf01b8114628fb479754355cb8ee855b;hb=refs%2Ftags%2Fupstream%2F1.236.2;hp=00606d5006f55ec02c8316db0ba75046c6c8a6ce;hpb=f4238ae20312e1d36158ba70ac1076ba4da0211d;p=live-boot-grml.git diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom index 00606d5..eb7fbd8 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 - chroot /root apt-cdrom -m add + 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 -o Acquire::cdrom::AutoDetect=false -m add + + umount /root/dev + umount /root/proc + umount /root/sys fi log_end_msg