summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/41apt_cdrom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-01 13:53:29 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:09 +0100
commit6112649bf507da5d58ae1841bc1fe2f61e90a30c (patch)
treeaa8a1099280b1962187f1ac97fee3d1223b53d24 /scripts/live-bottom/41apt_cdrom
parent45bcf5aa5ac1744e8c48ae4d7bf9529d0e3ede79 (diff)
downloadlive-boot-6112649bf507da5d58ae1841bc1fe2f61e90a30c.tar.gz
live-boot-6112649bf507da5d58ae1841bc1fe2f61e90a30c.zip
Merging casper 1.223.
Diffstat (limited to 'scripts/live-bottom/41apt_cdrom')
-rwxr-xr-xscripts/live-bottom/41apt_cdrom8
1 files changed, 8 insertions, 0 deletions
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