wok-current diff linux-uml/receipt @ rev 15310

lives: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 15:34:03 2013 +0000 (2013-09-27)
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	Fri Sep 27 15:34:03 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