wok-next diff linux/receipt @ rev 20180

opencc: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 12:28:56 2017 +0100 (2017-11-02)
parents b53ebb2699ba
children e65b8db12080
line diff
     1.1 --- a/linux/receipt	Fri Jun 16 01:15:35 2017 +0300
     1.2 +++ b/linux/receipt	Thu Nov 02 12:28:56 2017 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4  TARBALL="$PACKAGE-$KBASEVER.tar.xz"
     1.5  WGET_URL="https://www.kernel.org/pub/linux/kernel/v4.x/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch kmod bc"
     1.8 +BUILD_DEPENDS="slitaz-toolchain perl xz lzma patch kmod bc" # git
     1.9  SPLIT="lguest linux-acpi linux-agp linux-aoe linux-appletalk linux-arcnet \
    1.10  linux-autofs linux-bluetooth linux-bridge linux-btrfs linux-cifs linux-coda \
    1.11  linux-cpufreq linux-cramfs linux-crypto linux-cryptoloop linux-dialup \
    1.12 @@ -209,7 +209,7 @@
    1.13  		*-drm)					c="DRM module"; DEPENDS="linux-agp";;
    1.14  		*-ecryptfs)				c="eCrypt FS module";;
    1.15  		*-efi)					c="EFI modules";;
    1.16 -		*-ethernet)				c="Ethernet drivers";;
    1.17 +		*-ethernet)				c="Ethernet drivers"; DEPENDS="linux-crypto";;
    1.18  		*-exofs)				c="OSD based FS module"; DEPENDS="linux-crypto";;
    1.19  		*-firewire)				c="Firewire modules";;
    1.20  		*-gfs2)					c="GFS2 module";;
    1.21 @@ -242,7 +242,7 @@
    1.22  		*-nfsd)					c="NFS server module"; DEPENDS="linux-nfs";;
    1.23  		*-ocfs2)				c="OCFS2 modules"; DEPENDS="linux-dlm";;
    1.24  		*-orangefs)				c="OrangeFS module";;
    1.25 -		*-radio)				c="radio modules";;
    1.26 +		*-radio)				c="radio modules"; DEPENDS="linux-sound";;
    1.27  		*-reiserfs)				c="ReiserFS module";;
    1.28  		*-romfs)				c="ROMFS module";;
    1.29  		*-sched)				c="Sched modules";;
    1.30 @@ -271,6 +271,7 @@
    1.31  
    1.32  	case $PACKAGE in
    1.33  		linux)
    1.34 +			DEPENDS="kmod"
    1.35  			case "$ARCH" in
    1.36  				arm)
    1.37  					echo "Packing: ARM Kernel"
    1.38 @@ -298,7 +299,7 @@
    1.39  
    1.40  			# Checking for Linux Kernel modules that don't belong to any of the packages
    1.41  			# $stuff/tools/check_modules.sh
    1.42 -			DEPENDS="kmod"
    1.43 +			# please, see web interface instead
    1.44  			;;
    1.45  		*-firmware)
    1.46  			mkdir -p $fs/lib
    1.47 @@ -464,7 +465,7 @@
    1.48  
    1.49  post_install_linux_zram() {
    1.50  	chroot "$1/" depmod -a $VERSION-slitaz &&
    1.51 -	RAM=$(cat /proc/meminfo | grep MemTotal | sed s/[^0-9]//g) &&
    1.52 +	RAM=$(grep MemTotal /proc/meminfo | tr -dc 0-9) &&
    1.53  	echo "SIZE_KB="$(($RAM/2)) > "$1/etc/compcache.conf"
    1.54  	[ -n "$quiet" ] || cat <<EOT
    1.55