summaryrefslogtreecommitdiff
path: root/functions
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 /functions
parentedaeb76e8f4bb56ad10dded3fffb9d82febdae67 (diff)
downloaddebootstrap-d3518b9c7e4f693562d99ec4c15bb009b456603b.tar.gz
Move setup_devices to second stage of bootstrap. Closes: #498731, #531316
Diffstat (limited to 'functions')
-rw-r--r--functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions b/functions
index 2451ba6..fd94a59 100644
--- a/functions
+++ b/functions
@@ -972,6 +972,11 @@ setup_proc_fakechroot () {
}
setup_devices () {
+ if doing_variant fakechroot; then
+ setup_devices_fakechroot
+ return 0
+ fi
+
case "$ARCH" in
kfreebsd-*)
in_target mount -t devfs devfs /dev ;;