slitaz-modular diff initramfs/linuxrc @ rev 13

Add rootuuid support into init. Also started copying initramfs to /mnt/memory/initramfs to save space. Updated linuxrc to support /memory/initramfs in union.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 08:53:50 2010 +0000 (2010-12-16)
parents 6d654d523ac8
children 5dd7947d1eeb
line diff
     1.1 --- a/initramfs/linuxrc	Thu Nov 25 03:30:16 2010 +0000
     1.2 +++ b/initramfs/linuxrc	Thu Dec 16 08:53:50 2010 +0000
     1.3 @@ -178,6 +178,14 @@
     1.4  
     1.5  debug_shell
     1.6  
     1.7 +# setup initramfs if it exist
     1.8 +if [ -d /memory/initramfs ]; then
     1.9 +	echolog "Setup initramfs for first module..."
    1.10 +	mount -n -o remount,add:1:/memory/initramfs=ro aufs $UNION
    1.11 +fi
    1.12 +
    1.13 +debug_shell
    1.14 +
    1.15  # If toram or copy2ram boot parameter is present, copy all fs modules to RAM.
    1.16  # (skip modules from /optional/ which are not listed in load= boot option)
    1.17  # Finaly modify DATA variable so it will point to correct directory