wok diff linux-uml/receipt @ rev 15570

Up lxc (0.9.0) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 26 09:00:34 2013 +0000 (2013-11-26)
parents ad59999b3fce
children eb689de65d7e
line diff
     1.1 --- a/linux-uml/receipt	Wed Jun 05 16:21:04 2013 +0200
     1.2 +++ b/linux-uml/receipt	Tue Nov 26 09:00:34 2013 +0000
     1.3 @@ -6,7 +6,6 @@
     1.4  KBASEVER="3.2"
     1.5  CATEGORY="base-system"
     1.6  SHORT_DESC="The User Mode Linux kernel."
     1.7 -BUILD_DEPENDS="bash perl"
     1.8  MAINTAINER="pascal.bellard@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  TARBALL="$SOURCE-$KBASEVER.tar.xz"
    1.11 @@ -16,6 +15,8 @@
    1.12  PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" &&
    1.13  EXTRA_SOURCE_FILES="$(basename $PATCH)"
    1.14  
    1.15 +BUILD_DEPENDS="bash perl busybox-boot"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -26,6 +27,7 @@
    1.21  		xzcat $SRC/$(basename $PATCH) | patch -Np1
    1.22  		touch done.patch-$VERSION
    1.23  	fi
    1.24 +	cp /usr/share/boot/initrd initrd.cpio
    1.25  	sed -i 's/uname -m/echo i386/;s|/bin/bash|/bin/ash|g' Makefile
    1.26  	make ARCH=um mrproper	
    1.27  	cat > mini.config << EOF &&
    1.28 @@ -81,6 +83,7 @@
    1.29  CONFIG_IP_NF_TARGET_REDIRECT=y
    1.30  CONFIG_NETDEVICES=y
    1.31  CONFIG_TUN=y
    1.32 +CONFIG_INITRAMFS_SOURCE="initrd.cpio"
    1.33  EOF
    1.34  	make ARCH=um allnoconfig KCONFIG_ALLCONFIG=mini.config &&
    1.35  	make ARCH=um