wok-6.x rev 247

Squashfs: don't put unsquashfs in squashfs filesystem...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 13:33:30 2008 +0100 (2008-02-20)
parents 44ac9eacbb5f
children 1ca9367ddcd4
files squashfs/receipt
line diff
     1.1 --- a/squashfs/receipt	Tue Feb 19 18:03:25 2008 +0100
     1.2 +++ b/squashfs/receipt	Wed Feb 20 13:33:30 2008 +0100
     1.3 @@ -60,7 +60,8 @@
     1.4  	make -C src/. SUBDIRS=$(pwd)/fs/squashfs/ CONFIG_SQUASHFS=m modules
     1.5  	cd ..
     1.6  	[ -d _pkg ] && rm -rf _pkg
     1.7 -	mkdir -p _pkg/lib/modules/$kver-slitaz/kernel/fs/squashfs _pkg/usr/sbin
     1.8 +	mkdir -p _pkg/lib/modules/$kver-slitaz/kernel/fs/squashfs
     1.9 +	mkdir -p _pkg/usr/sbin _pkg/sbin
    1.10  	cp _kernel/fs/squashfs/squashfs.ko \
    1.11          	_pkg/lib/modules/$kver-slitaz/kernel/fs/squashfs/squashfs.ko
    1.12  	gzip -9 _pkg/lib/modules/$kver-slitaz/kernel/fs/squashfs/squashfs.ko
    1.13 @@ -68,14 +69,14 @@
    1.14  	# Build user land tools
    1.15  	cd ${PACKAGE}${VERSION}/squashfs-tools
    1.16  	make
    1.17 -	cp mksquashfs unsquashfs ../../_pkg/usr/sbin
    1.18 +	cp mksquashfs ../../_pkg/usr/sbin
    1.19 +	cp unsquashfs ../../_pkg/sbin
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	cp -a _pkg/* $fs
    1.26 -	strip  -s $fs/usr/sbin/*
    1.27  }
    1.28  
    1.29  # Post install/remove commands for Tazpkg.