diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-05-01 13:53:29 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:09 +0100 |
| commit | 6112649bf507da5d58ae1841bc1fe2f61e90a30c (patch) | |
| tree | aa8a1099280b1962187f1ac97fee3d1223b53d24 /scripts/live-bottom/41apt_cdrom | |
| parent | 45bcf5aa5ac1744e8c48ae4d7bf9529d0e3ede79 (diff) | |
| download | live-boot-6112649bf507da5d58ae1841bc1fe2f61e90a30c.tar.gz live-boot-6112649bf507da5d58ae1841bc1fe2f61e90a30c.zip | |
Merging casper 1.223.
Diffstat (limited to 'scripts/live-bottom/41apt_cdrom')
| -rwxr-xr-x | scripts/live-bottom/41apt_cdrom | 8 |
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 |
