summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-01-24 12:27:42 +0100
committermaximilian attems <maks@debian.org>2006-01-24 12:27:42 +0100
commit5ac8871bdc5093eb2b570937dcc37167b904cb8e (patch)
tree283b2d7b6e8497f960982a2fe0225251900d9773 /init
parentf2688cc18d0e0420ad4ad069ed6bb32b2869badb (diff)
downloadinitramfs-tools-5ac8871bdc5093eb2b570937dcc37167b904cb8e.tar.gz
initramfs-tools-5ac8871bdc5093eb2b570937dcc37167b904cb8e.zip
sync 0.40ubuntu16
Diffstat (limited to 'init')
-rwxr-xr-xinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/init b/init
index db18f15..e983534 100755
--- a/init
+++ b/init
@@ -13,9 +13,15 @@ mount -t proc none /proc
# are used; which they will be, but it's worth pointing out
mount -t tmpfs -o mode=0755 udev /dev
touch /dev/.initramfs-tools
+mkdir /dev/.initramfs
mknod /dev/console c 5 1
mknod /dev/null c 1 3
+# Export the dpkg architecture
+export DPKG_ARCH=
+. /conf/arch.conf
+
+# Bring in the main config
. /conf/initramfs.conf
. /scripts/functions