wok-6.x rev 15772

linux-source: install initrd.cpio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 07 23:03:08 2014 +0000 (2014-01-07)
parents 0e66561b013b
children 9ba8ad309532
files linux-source/receipt linux-source/stuff/get-linux-source
line diff
     1.1 --- a/linux-source/receipt	Tue Jan 07 22:29:24 2014 +0100
     1.2 +++ b/linux-source/receipt	Tue Jan 07 23:03:08 2014 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  LICENSE="GPL2"
     1.5  WANTED="linux"
     1.6  WEB_SITE="http://www.kernel.org/"
     1.7 -DEPENDS="linux slitaz-toolchain ncurses-dev perl"
     1.8 +DEPENDS="linux slitaz-toolchain ncurses-dev perl busybox-boot"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11  genpkg_rules()
     2.1 --- a/linux-source/stuff/get-linux-source	Tue Jan 07 22:29:24 2014 +0100
     2.2 +++ b/linux-source/stuff/get-linux-source	Tue Jan 07 23:03:08 2014 +0000
     2.3 @@ -41,6 +41,7 @@
     2.4  fi
     2.5  
     2.6  cd /usr/src/linux-$VERSION
     2.7 +cp /usr/share/boot/initrd initrd.cpio
     2.8  while read patch_file; do
     2.9  	echo "Apply $patch_file"
    2.10  	patch -p1 < slitaz/$patch_file