summaryrefslogtreecommitdiff
path: root/scripts/sid
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-07-26 18:33:37 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2011-07-26 18:33:37 +0200
commitd3518b9c7e4f693562d99ec4c15bb009b456603b (patch)
tree6f399fbdccf8c313c716cbfbe5ec899ed88eb9a5 /scripts/sid
parentedaeb76e8f4bb56ad10dded3fffb9d82febdae67 (diff)
downloaddebootstrap-d3518b9c7e4f693562d99ec4c15bb009b456603b.tar.gz
Move setup_devices to second stage of bootstrap. Closes: #498731, #531316
Diffstat (limited to 'scripts/sid')
-rw-r--r--scripts/sid8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/sid b/scripts/sid
index 7673764..893d5d5 100644
--- a/scripts/sid
+++ b/scripts/sid
@@ -47,12 +47,6 @@ first_stage_install () {
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
- if doing_variant fakechroot; then
- setup_devices_fakechroot
- else
- setup_devices
- fi
-
x_feign_install () {
local pkg="$1"
local deb="$(debfor $pkg)"
@@ -73,6 +67,8 @@ Status: install ok installed" >> "$TARGET/var/lib/dpkg/status"
}
second_stage_install () {
+ setup_devices
+
x_core_install () {
smallyes '' | in_target dpkg --force-depends --install $(debfor "$@")
}