wok rev 14754

linux: add default initrd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 20:18:01 2013 +0200 (2013-06-16)
parents 5ab0716094d5
children 6f23be282ae6
files linux/receipt linux/stuff/linux-slitaz.config linux/stuff/linux-slitaz.config64
line diff
     1.1 --- a/linux/receipt	Sun Jun 16 19:55:07 2013 +0200
     1.2 +++ b/linux/receipt	Sun Jun 16 20:18:01 2013 +0200
     1.3 @@ -13,7 +13,8 @@
     1.4  HOST_ARCH="i486 arm x86_64"
     1.5  
     1.6  DEPENDS="kmod"
     1.7 -BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch uclibc-cross-compiler-x86_64"
     1.8 +BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch \
     1.9 +uclibc-cross-compiler-x86_64 busybox-boot"
    1.10  
    1.11  # Use version patch so we dont dl full kernel source on each minor update
    1.12  [ "$KBASEVER" != "$VERSION" ] && 
    1.13 @@ -46,6 +47,7 @@
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 +	cp /usr/share/boot/initrd initrd.cpio
    1.18  
    1.19  	if [ "$KBASEVER" != "$VERSION" ]; then
    1.20  		[ -s $SRC/$(basename $PATCH) ] ||
     2.1 --- a/linux/stuff/linux-slitaz.config	Sun Jun 16 19:55:07 2013 +0200
     2.2 +++ b/linux/stuff/linux-slitaz.config	Sun Jun 16 20:18:01 2013 +0200
     2.3 @@ -135,12 +135,20 @@
     2.4  # CONFIG_SYSFS_DEPRECATED is not set
     2.5  # CONFIG_RELAY is not set
     2.6  CONFIG_BLK_DEV_INITRD=y
     2.7 -CONFIG_INITRAMFS_SOURCE=""
     2.8 +CONFIG_INITRAMFS_SOURCE="initrd.cpio"
     2.9 +CONFIG_INITRAMFS_ROOT_UID=0
    2.10 +CONFIG_INITRAMFS_ROOT_GID=0
    2.11  CONFIG_RD_GZIP=y
    2.12  CONFIG_RD_BZIP2=y
    2.13  CONFIG_RD_LZMA=y
    2.14  CONFIG_RD_XZ=y
    2.15  CONFIG_RD_LZO=y
    2.16 +# CONFIG_INITRAMFS_COMPRESSION_NONE is not set
    2.17 +# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
    2.18 +# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set
    2.19 +CONFIG_INITRAMFS_COMPRESSION_LZMA=y
    2.20 +# CONFIG_INITRAMFS_COMPRESSION_XZ is not set
    2.21 +# CONFIG_INITRAMFS_COMPRESSION_LZO is not set
    2.22  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    2.23  CONFIG_SYSCTL=y
    2.24  CONFIG_ANON_INODES=y
     3.1 --- a/linux/stuff/linux-slitaz.config64	Sun Jun 16 19:55:07 2013 +0200
     3.2 +++ b/linux/stuff/linux-slitaz.config64	Sun Jun 16 20:18:01 2013 +0200
     3.3 @@ -136,12 +136,20 @@
     3.4  # CONFIG_SYSFS_DEPRECATED is not set
     3.5  # CONFIG_RELAY is not set
     3.6  CONFIG_BLK_DEV_INITRD=y
     3.7 -CONFIG_INITRAMFS_SOURCE=""
     3.8 +CONFIG_INITRAMFS_SOURCE="initrd.cpio"
     3.9 +CONFIG_INITRAMFS_ROOT_UID=0
    3.10 +CONFIG_INITRAMFS_ROOT_GID=0
    3.11  CONFIG_RD_GZIP=y
    3.12  CONFIG_RD_BZIP2=y
    3.13  CONFIG_RD_LZMA=y
    3.14  CONFIG_RD_XZ=y
    3.15  CONFIG_RD_LZO=y
    3.16 +# CONFIG_INITRAMFS_COMPRESSION_NONE is not set
    3.17 +# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
    3.18 +# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set
    3.19 +CONFIG_INITRAMFS_COMPRESSION_LZMA=y
    3.20 +# CONFIG_INITRAMFS_COMPRESSION_XZ is not set
    3.21 +# CONFIG_INITRAMFS_COMPRESSION_LZO is not set
    3.22  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    3.23  CONFIG_SYSCTL=y
    3.24  CONFIG_ANON_INODES=y