diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-26 18:33:37 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-26 18:33:37 +0200 |
commit | d3518b9c7e4f693562d99ec4c15bb009b456603b (patch) | |
tree | 6f399fbdccf8c313c716cbfbe5ec899ed88eb9a5 /scripts/sid | |
parent | edaeb76e8f4bb56ad10dded3fffb9d82febdae67 (diff) | |
download | debootstrap-d3518b9c7e4f693562d99ec4c15bb009b456603b.tar.gz |
Move setup_devices to second stage of bootstrap. Closes: #498731, #531316
Diffstat (limited to 'scripts/sid')
-rw-r--r-- | scripts/sid | 8 |
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 "$@") } |