summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-10-19 11:12:24 (GMT)
committerColin Watson <cjwatson@debian.org>2007-10-19 11:12:24 (GMT)
commitc702ea3582aecfe6d164092bfbebdd0a08226b8e (patch)
tree2054138447ac664b6d999613bb386769820371dd /scripts
parentfcf2d188965c3e27fd0b49f049711d2ff1d14d2d (diff)
downloaddebootstrap-c702ea3582aecfe6d164092bfbebdd0a08226b8e.zip
debootstrap-c702ea3582aecfe6d164092bfbebdd0a08226b8e.tar.gz
debootstrap-c702ea3582aecfe6d164092bfbebdd0a08226b8e.tar.bz2
* Fix Ubuntu hoary and breezy scripts to unmount /dev etc. on exit
(closes: #327708). r49821
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ubuntu/breezy2
-rw-r--r--scripts/ubuntu/hoary2
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ubuntu/breezy b/scripts/ubuntu/breezy
index 13a9747..1b6fb7c 100644
--- a/scripts/ubuntu/breezy
+++ b/scripts/ubuntu/breezy
@@ -76,6 +76,8 @@ second_stage_install () {
}
setup_proc
+ umount_on_exit /dev/.static/dev
+ umount_on_exit /dev
in_target /sbin/ldconfig
DEBIAN_FRONTEND=noninteractive
diff --git a/scripts/ubuntu/hoary b/scripts/ubuntu/hoary
index 4f94783..dffb74a 100644
--- a/scripts/ubuntu/hoary
+++ b/scripts/ubuntu/hoary
@@ -103,6 +103,8 @@ second_stage_install () {
bases=7
setup_proc
+ umount_on_exit /.dev
+ umount_on_exit /dev
in_target /sbin/ldconfig
p; progress $baseprog $bases INSTCORE "Installing core packages" #1