summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-10-19 11:12:24 +0000
committerColin Watson <cjwatson@debian.org>2007-10-19 11:12:24 +0000
commitc702ea3582aecfe6d164092bfbebdd0a08226b8e (patch)
tree2054138447ac664b6d999613bb386769820371dd
parentfcf2d188965c3e27fd0b49f049711d2ff1d14d2d (diff)
downloaddebootstrap-c702ea3582aecfe6d164092bfbebdd0a08226b8e.tar.gz
* Fix Ubuntu hoary and breezy scripts to unmount /dev etc. on exit
(closes: #327708). r49821
-rw-r--r--debian/changelog2
-rw-r--r--scripts/ubuntu/breezy2
-rw-r--r--scripts/ubuntu/hoary2
3 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 673e093..158f7d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ debootstrap (1.0.4) UNRELEASED; urgency=low
* Cope if uncompressed Packages is missing from Release (closes: #402380).
* Don't rely on XSI test(1) extensions.
* Add support for ssh:/// URLs (thanks, Steffen Joeris; closes: #434893).
+ * Fix Ubuntu hoary and breezy scripts to unmount /dev etc. on exit
+ (closes: #327708).
-- Otavio Salvador <otavio@debian.org> Tue, 16 Oct 2007 16:47:55 -0200
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