wok-current diff module-init-tools/receipt @ rev 3436

module-init-tools/depmod: force full path for busybox modprobe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 13 16:45:39 2009 +0200 (2009-06-13)
parents f0a84dc0a7c2
children 71c7aacfbbb2
line diff
     1.1 --- a/module-init-tools/receipt	Mon Jun 08 19:12:04 2009 +0200
     1.2 +++ b/module-init-tools/receipt	Sat Jun 13 16:45:39 2009 +0200
     1.3 @@ -15,8 +15,15 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	[ -f done.lzlib.u ] || patch -p1 < ../stuff/lzlib.u
     1.8 -	touch done.lzlib.u
     1.9 +	for patch_file in lzlib depmod; do
    1.10 +		if [ -f done.$patch_file ]; then
    1.11 +			echo "Skipping $patch_file"
    1.12 +			continue
    1.13 +		fi
    1.14 +		echo "Apply $patch_file.u"
    1.15 +		patch -p1 < ../stuff/$patch_file.u || return 1
    1.16 +		touch done.$patch_file
    1.17 +	done
    1.18  	./configure --enable-zlib --prefix=/usr \
    1.19  	--sbindir=/sbin --bindir=/bin --sysconfdir=/etc \
    1.20  	--infodir=/usr/share/info --mandir=/usr/share/man \