# HG changeset patch # User Pascal Bellard # Date 1521403550 -3600 # Node ID 71b689feb45cfc620c98a1fc3f1b299c7e8db6c9 # Parent 36656a030ec4b6d3cca1028c4120ae605bf1d416 linux: recook diff -r 36656a030ec4 -r 71b689feb45c linux/receipt --- a/linux/receipt Sun Mar 18 17:13:32 2018 +0100 +++ b/linux/receipt Sun Mar 18 21:05:50 2018 +0100 @@ -249,13 +249,14 @@ # Build bzImage64 without modules first if [ ! "$nonomods" ]; then + [ -d $DESTDIR/linux64 ] || mkdir -p $DESTDIR/linux64 || + return 1 cp -f $stuff/$PACKAGE-slitaz.config64 .config sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config echo -e "\n* Configure bzImage64 without modules...\n" yes '' | make ARCH=x86_64 oldconfig echo -e "\n* Building bzImage64 without modules...\n" make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage || exit 1 - [ -d $DESTDIR ] || mkdir -p $DESTDIR/linux64 mv arch/x86/boot/bzImage $DESTDIR/linux64 mv System.map System.map-without-modules64 mv vmlinux vmlinux-without-modules64 @@ -381,6 +382,7 @@ $fs/lib/modules/$VERSION-slitaz # Pack all packages with a kernel module + sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true for i in $(cd $WOK; grep -l '^WANTED="linux"' */receipt); do [ ! -d "$install/lib/modules/$VERSION-slitaz" ] && return 1 cook ${i%/receipt} diff -r 36656a030ec4 -r 71b689feb45c linux64-usbip/receipt --- a/linux64-usbip/receipt Sun Mar 18 17:13:32 2018 +0100 +++ b/linux64-usbip/receipt Sun Mar 18 21:05:50 2018 +0100 @@ -8,8 +8,8 @@ LICENSE="GPL2" DEPENDS="linux64" WANTED="linux" +WEB_SITE="http://www.kernel.org/" PROVIDE="usbip-module:linux64 linux-usbip:linux64" -WEB_SITE="http://www.kernel.org/" SUGGESTED="usbip" # Rules to gen a SliTaz package suitable for Tazpkg. @@ -20,8 +20,7 @@ install=$install/linux64 path=lib/modules/$VERSION-slitaz64/kernel mkdir -p $fs/$path - export src - export install + export src install $wanted_stuff/list_modules.sh drivers/staging/usbip | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir