cookutils view uname @ rev 1135

Small improvements and fixes:
1. cook: summary(): skip unpackaged packages (when use CATEGORY="nopack");
2. modules/compressor:
a) move strip_package from "fs" to "install" stage - from this moment files in $install and $fs are identical (of course, if you use genpkg_rules() only for copying) - we may clean taz/*/fs/ in the future;
b) remove "empty" *.mo;
c) skip silly error messages when $install or $fs absent;
3. modules/pack:
a) move symlinks *.so to the @dev;
b) small improvements;
4. doc/cookopts.txt: small update;
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 29 14:12:35 2019 +0200 (2019-01-29)
parents 251a9d5b7542
children
line source
1 #!/bin/sh
2 # uname - special "fake" wrapper for using inside SliTaz cooker chroot.
3 # Although SliTaz cooker *host arch* is 64-bit, SliTaz *target arch* may be
4 # 32-bit and some configuration tools using uname could be improperly configured.
5 # This also applies to the kernel versions of the host and the target systems.
7 . /etc/slitaz/cook.conf
8 kernel_version=$(. /home/slitaz/wok/linux/receipt; echo $VERSION)
9 uname_r=$(/bin/busybox uname -r)
10 /bin/busybox uname $@ | sed "s|x86_64|$ARCH|g; s|$uname_r|$kernel_version-slitaz|g"