From 1a90b05c1a91c90a37232c84c4efd5a61d3ecb3c Mon Sep 17 00:00:00 2001 From: Felix Endres Date: Tue, 27 Feb 2007 17:58:57 +0000 Subject: Rootfs stacking functionality for unionfs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@730 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'initramfs/initrd-stuff/init') 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 -- cgit v1.2.3-55-g7522