summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init9
1 files changed, 9 insertions, 0 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index d3881fc4..2d965bec 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -603,6 +603,12 @@ killall -9 dhcpcd dhclient pump udhcpc 2>/dev/null
# copy machine configuration file into stage4 filesystem
cp /etc/machine-setup /mnt/etc
+
+# If locations are given that should be unioned with the fs root, do it
+if [ -n "$uniondirs" ]; then
+ include_in_fsroot_union $uniondirs
+fi
+
# post init for some distro specific (fixme!! more elegant solution)
postinit
[ -s /initramfs/postinit.local ] && \
@@ -612,6 +618,9 @@ postinit
echo "Running postinit.local - if boot stops here, check the script!"
/bin/postinit.local; }
+
+
+
# start a debug shell in higher debug levels
[ $DEBUGLEVEL -gt 2 -a $DEBUGLEVEL != 8 ] && /bin/sh