wok-tiny rev 109

Update custom-console
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 27 10:51:46 2016 +0100 (2016-02-27)
parents ee2e9af7ce73
children fe3786524709
files base-tiny/receipt custom-console/receipt fbvnc-ssh/receipt ftp-config/receipt hardware-ibm-6272/receipt jslinux-config/receipt keyboard/receipt lan-config/receipt libcrypt/receipt libdl/receipt libgcc_s/receipt libm/receipt libpthread/receipt librt/receipt libtcc/receipt libutil/receipt linux/receipt linux/stuff/cmdline.S lpd-config/receipt lpd-spooling-config/receipt module-3c509/receipt module-8250/receipt module-cifs/receipt module-cs89x0/receipt module-ext3/receipt module-fat/receipt module-floppy/receipt module-fuse/receipt module-hfsplus/receipt module-isofs/receipt module-loop/receipt module-lp/receipt module-ne/receipt module-nfsd/receipt module-reiserfs/receipt module-serial/receipt module-usb-storage/receipt module-usbkbd/receipt module-usblp/receipt module-usbmouse/receipt module-usbserial/receipt module-xfs/receipt ntp-config/receipt telnet-config/receipt udhcpd-config/receipt zlib/receipt
line diff
     1.1 --- a/base-tiny/receipt	Mon Feb 15 22:11:25 2016 +0100
     1.2 +++ b/base-tiny/receipt	Sat Feb 27 10:51:46 2016 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="base-tiny"
     1.6  VERSION="1.0"
     1.7 -CATEGORY="misc"
     1.8 +CATEGORY="base-system"
     1.9  SHORT_DESC="Tiny SliTaz base configuration files"
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  LICENSE="BSD"
     2.1 --- a/custom-console/receipt	Mon Feb 15 22:11:25 2016 +0100
     2.2 +++ b/custom-console/receipt	Sat Feb 27 10:51:46 2016 +0100
     2.3 @@ -3,6 +3,7 @@
     2.4  PACKAGE="custom-console"
     2.5  VERSION="2.0"
     2.6  CATEGORY="meta"
     2.7 +GROUP="system"
     2.8  SHORT_DESC="Configure the consoles"
     2.9  MAINTAINER="pascal.bellard@slitaz.org"
    2.10  LICENSE="BSD"
    2.11 @@ -18,6 +19,8 @@
    2.12  
    2.13  post_install()
    2.14  {
    2.15 +	respawn=respawn
    2.16 +	[ "$ASKFIRST" ] && respawn=askfirst
    2.17  	[ "$KERNEL_TTY" == "none" ] ||
    2.18  	echo -n " console=tty0 console=$KERNEL_TTY,${SPEED_KERNEL_TTY}n8" \
    2.19  		>> $1/boot/cmdline
    2.20 @@ -48,18 +51,23 @@
    2.21  	[ -n "$TTY_LIST" ] && cat >> $1/etc/init.d/tty.sh <<EOT
    2.22  echo -n "Enable login console from "
    2.23  for i in$TTY_LIST; do
    2.24 -	[ -e /dev/\${i%:*} ] || continue
    2.25 -	case "\$i" in
    2.26 -	ttyS*) grep -q serial /proc/ioports || continue ;;
    2.27 +	dev=\${i%:*}
    2.28 +	major=4
    2.29 +	minor=\$(echo \$dev | sed 's/[^0-9]*//')
    2.30 +	case "\$dev" in
    2.31 +	ttyUSB*) major=188 ;;
    2.32 +	ttyS*)	 minor=\$((64+\$minor)) ;;
    2.33  	esac
    2.34 -	echo -n "\${i%:*} "
    2.35 -	echo "\${i%:*}::respawn:/sbin/getty \${i#*:} \${i%:*}" >> /etc/inittab
    2.36 +	[ -e /dev/\$dev ] || mknod /dev/\$dev c \$major \$minor
    2.37 +	stty -F /dev/\$dev > /dev/null 2>&1 || continue
    2.38 +	echo -n "\$dev "
    2.39 +	echo "\$dev::$respawn:getty \${i#*:} /dev/\$dev" >> /etc/inittab
    2.40  done
    2.41  kill -1 1
    2.42  status
    2.43  EOT
    2.44  	grep tty.sh $1/etc/rcS.conf ||
    2.45 -	sed -i 's/RUN_SCRIPTS="/&tty.sh /' $1/etc/rcS.conf
    2.46 +	sed -i 's/^RUN_SCRIPTS="/&tty.sh /' $1/etc/rcS.conf
    2.47  }
    2.48  
    2.49  config_form()
    2.50 @@ -107,6 +115,11 @@
    2.51  	cat <<EOT
    2.52  </table>
    2.53  </tr>
    2.54 +<p>
    2.55 +<input type="checkbox" name="ASKFIRST" checked=checked />
    2.56 +Confirm console launch (spare some memory)
    2.57 +</p>
    2.58 +<p>
    2.59  Kernel serial console 
    2.60  <select name="KERNEL_TTY">
    2.61  <option>none</option>
    2.62 @@ -121,5 +134,5 @@
    2.63  	for i in 115200 57600 38400 19200 9600 4800 2400 1200 600 300; do
    2.64  		echo "<option>$i</option>"
    2.65  	done
    2.66 -	echo "</select>"
    2.67 +	echo -e "</select>\n</p>"
    2.68  }
     3.1 --- a/fbvnc-ssh/receipt	Mon Feb 15 22:11:25 2016 +0100
     3.2 +++ b/fbvnc-ssh/receipt	Sat Feb 27 10:51:46 2016 +0100
     3.3 @@ -2,7 +2,7 @@
     3.4  
     3.5  PACKAGE="fbvnc-ssh"
     3.6  VERSION="1.0"
     3.7 -CATEGORY="meta"
     3.8 +CATEGORY="network"
     3.9  SHORT_DESC="VNC client in frame buffer within a SSH tunnel."
    3.10  MAINTAINER="pascal.bellard@slitaz.org"
    3.11  LICENSE="BSD"
     4.1 --- a/ftp-config/receipt	Mon Feb 15 22:11:25 2016 +0100
     4.2 +++ b/ftp-config/receipt	Sat Feb 27 10:51:46 2016 +0100
     4.3 @@ -2,7 +2,7 @@
     4.4  
     4.5  PACKAGE="ftp-config"
     4.6  VERSION="1.0"
     4.7 -CATEGORY="meta"
     4.8 +CATEGORY="network"
     4.9  SHORT_DESC="File transport protocol server configuration"
    4.10  MAINTAINER="pascal.bellard@slitaz.org"
    4.11  LICENSE="BSD"
     5.1 --- a/hardware-ibm-6272/receipt	Mon Feb 15 22:11:25 2016 +0100
     5.2 +++ b/hardware-ibm-6272/receipt	Sat Feb 27 10:51:46 2016 +0100
     5.3 @@ -2,7 +2,7 @@
     5.4  
     5.5  PACKAGE="hardware-ibm-6272"
     5.6  VERSION="1.0"
     5.7 -CATEGORY="meta"
     5.8 +CATEGORY="system"
     5.9  MAINTAINER="devel@slitaz.org"
    5.10  LICENSE="BSD"
    5.11  SHORT_DESC="IBM 300GL 6272/6282 (P75-233 ISA/PCI/USB/ETH desktop) hardware support"
     6.1 --- a/jslinux-config/receipt	Mon Feb 15 22:11:25 2016 +0100
     6.2 +++ b/jslinux-config/receipt	Sat Feb 27 10:51:46 2016 +0100
     6.3 @@ -2,7 +2,7 @@
     6.4  
     6.5  PACKAGE="jslinux-config"
     6.6  VERSION="1.0"
     6.7 -CATEGORY="meta"
     6.8 +CATEGORY="system"
     6.9  SHORT_DESC="Tiny SliTaz configuration files for jslinux"
    6.10  MAINTAINER="pascal.bellard@slitaz.org"
    6.11  LICENSE="BSD"
     7.1 --- a/keyboard/receipt	Mon Feb 15 22:11:25 2016 +0100
     7.2 +++ b/keyboard/receipt	Sat Feb 27 10:51:46 2016 +0100
     7.3 @@ -2,7 +2,7 @@
     7.4  
     7.5  PACKAGE="keyboard"
     7.6  VERSION="1.0"
     7.7 -CATEGORY="meta"
     7.8 +CATEGORY="system"
     7.9  SHORT_DESC="keyboard, locales and timezone settings"
    7.10  MAINTAINER="pascal.bellard@slitaz.org"
    7.11  LICENSE="GPL2"
     8.1 --- a/lan-config/receipt	Mon Feb 15 22:11:25 2016 +0100
     8.2 +++ b/lan-config/receipt	Sat Feb 27 10:51:46 2016 +0100
     8.3 @@ -2,7 +2,7 @@
     8.4  
     8.5  PACKAGE="lan-config"
     8.6  VERSION="1.0"
     8.7 -CATEGORY="meta"
     8.8 +CATEGORY="network"
     8.9  SHORT_DESC="Tiny SliTaz lan ip configuration (2nd ethernet card)"
    8.10  MAINTAINER="pascal.bellard@slitaz.org"
    8.11  LICENSE="BSD"
     9.1 --- a/libcrypt/receipt	Mon Feb 15 22:11:25 2016 +0100
     9.2 +++ b/libcrypt/receipt	Sat Feb 27 10:51:46 2016 +0100
     9.3 @@ -3,6 +3,7 @@
     9.4  PACKAGE="libcrypt"
     9.5  VERSION="0.9.31"
     9.6  CATEGORY="base-system"
     9.7 +GROUP="library"
     9.8  SHORT_DESC="Crypt runtime library"
     9.9  MAINTAINER="pascal.bellard@slitaz.org"
    9.10  LICENSE="LGPL"
    10.1 --- a/libdl/receipt	Mon Feb 15 22:11:25 2016 +0100
    10.2 +++ b/libdl/receipt	Sat Feb 27 10:51:46 2016 +0100
    10.3 @@ -3,6 +3,7 @@
    10.4  PACKAGE="libdl"
    10.5  VERSION="0.9.31"
    10.6  CATEGORY="base-system"
    10.7 +GROUP="library"
    10.8  SHORT_DESC="Dynamic library runtime library"
    10.9  MAINTAINER="pascal.bellard@slitaz.org"
   10.10  LICENSE="LGPL"
    11.1 --- a/libgcc_s/receipt	Mon Feb 15 22:11:25 2016 +0100
    11.2 +++ b/libgcc_s/receipt	Sat Feb 27 10:51:46 2016 +0100
    11.3 @@ -3,6 +3,7 @@
    11.4  PACKAGE="libgcc_s"
    11.5  VERSION="4.2.1"
    11.6  CATEGORY="base-system"
    11.7 +GROUP="library"
    11.8  SHORT_DESC="GCC runtime library"
    11.9  MAINTAINER="pascal.bellard@slitaz.org"
   11.10  LICENSE="LGPL"
    12.1 --- a/libm/receipt	Mon Feb 15 22:11:25 2016 +0100
    12.2 +++ b/libm/receipt	Sat Feb 27 10:51:46 2016 +0100
    12.3 @@ -3,6 +3,7 @@
    12.4  PACKAGE="libm"
    12.5  VERSION="0.9.31"
    12.6  CATEGORY="base-system"
    12.7 +GROUP="library"
    12.8  SHORT_DESC="Math runtime library"
    12.9  MAINTAINER="pascal.bellard@slitaz.org"
   12.10  LICENSE="LGPL"
    13.1 --- a/libpthread/receipt	Mon Feb 15 22:11:25 2016 +0100
    13.2 +++ b/libpthread/receipt	Sat Feb 27 10:51:46 2016 +0100
    13.3 @@ -3,6 +3,7 @@
    13.4  PACKAGE="libpthread"
    13.5  VERSION="0.9.31"
    13.6  CATEGORY="base-system"
    13.7 +GROUP="library"
    13.8  SHORT_DESC="Threads runtime library"
    13.9  MAINTAINER="pascal.bellard@slitaz.org"
   13.10  LICENSE="LGPL"
    14.1 --- a/librt/receipt	Mon Feb 15 22:11:25 2016 +0100
    14.2 +++ b/librt/receipt	Sat Feb 27 10:51:46 2016 +0100
    14.3 @@ -3,6 +3,7 @@
    14.4  PACKAGE="librt"
    14.5  VERSION="0.9.31"
    14.6  CATEGORY="base-system"
    14.7 +GROUP="library"
    14.8  SHORT_DESC="Timers runtime library"
    14.9  MAINTAINER="pascal.bellard@slitaz.org"
   14.10  LICENSE="LGPL"
    15.1 --- a/libtcc/receipt	Mon Feb 15 22:11:25 2016 +0100
    15.2 +++ b/libtcc/receipt	Sat Feb 27 10:51:46 2016 +0100
    15.3 @@ -3,6 +3,7 @@
    15.4  PACKAGE="libtcc"
    15.5  VERSION="0.9.25"
    15.6  CATEGORY="development"
    15.7 +GROUP="library"
    15.8  SHORT_DESC="Tiny C Compiler code generator library"
    15.9  MAINTAINER="pascal.bellard@slitaz.org"
   15.10  LICENSE="LGPL"
    16.1 --- a/libutil/receipt	Mon Feb 15 22:11:25 2016 +0100
    16.2 +++ b/libutil/receipt	Sat Feb 27 10:51:46 2016 +0100
    16.3 @@ -3,6 +3,7 @@
    16.4  PACKAGE="libutil"
    16.5  VERSION="0.9.31"
    16.6  CATEGORY="base-system"
    16.7 +GROUP="library"
    16.8  SHORT_DESC="Utils runtime library"
    16.9  MAINTAINER="pascal.bellard@slitaz.org"
   16.10  LICENSE="LGPL"
    17.1 --- a/linux/receipt	Mon Feb 15 22:11:25 2016 +0100
    17.2 +++ b/linux/receipt	Sat Feb 27 10:51:46 2016 +0100
    17.3 @@ -55,6 +55,8 @@
    17.4  	objcopy -O binary bundle.o bundle.bin
    17.5  	cp $stuff/bundle .
    17.6  	./bundle
    17.7 +	cc -o cmdline.o -Wa,-algms=cmdline.lst -c $stuff/cmdline.S
    17.8 +	objcopy -O binary cmdline.o cmdline.bin
    17.9  }
   17.10  
   17.11  # Rules to gen a SliTaz package suitable for Tazpkg.
   17.12 @@ -63,6 +65,7 @@
   17.13  	mkdir $fs/boot
   17.14  	cp -a $src/arch/i386/boot/bzImage $fs/boot/
   17.15  	dd if=$src/bootloader.bin of=$fs/boot/bzImage conv=notrunc
   17.16 +	dd if=$src/cmdline.bin bs=1 seek=560 of=$fs/boot/bzImage conv=notrunc
   17.17  	cp -a $src/System.map $fs/boot/
   17.18  	cp -a $src/.config $fs/boot/config
   17.19  	cp -a $src/config-busybox $fs/boot
   17.20 @@ -73,7 +76,9 @@
   17.21  post_install()
   17.22  {
   17.23      echo "Processing post-install commands..."
   17.24 -    chroot "$1/" depmod -a $VERSION-slitaz
   17.25 +    chroot "$1/" /boot/depmod -a $VERSION-slitaz
   17.26 +    [ -s $1/boot/cmdline ] && cat $1/boot/cmdline | sed 's/^ *//' | \
   17.27 +	dd of=$1/boot/bzImage conv=notrunc bs=1 seek=768 count=3072
   17.28      # GRUB stuff.
   17.29      if [ -f "$1/boot/grub/menu.lst" ]; then
   17.30      	root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1`
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/linux/stuff/cmdline.S	Sat Feb 27 10:51:46 2016 +0100
    18.3 @@ -0,0 +1,133 @@
    18.4 +start_of_setup	=	0xF00
    18.5 +cmd_line_ptr	=	0x228
    18.6 +default_cmdline	=	0x300
    18.7 +#define ABS(x)	(x)-0x230
    18.8 +#ifdef BUGGY
    18.9 +#define	EDIT_CMDLINE
   18.10 +#endif
   18.11 +
   18.12 +	.code16
   18.13 +	.org	0
   18.14 +	//.org	0x230
   18.15 +tranpoline:
   18.16 +	call	start_of_setup2
   18.17 +base	= 3
   18.18 +	rep
   18.19 +	  stosb
   18.20 +	popw	%ds
   18.21 +	ret
   18.22 +
   18.23 +start_of_setup2:
   18.24 +	popw	%di	// caller nextip = base
   18.25 +	pushw	%di
   18.26 +	pushw	%ds	// caller %ds
   18.27 +	pushw	%cs
   18.28 +	popw	%ds
   18.29 +	xorl	%eax, %eax
   18.30 +	leaw	ABS(default_cmdline)-base(%di), %si
   18.31 +	cmpb	%al, (%si)
   18.32 +	je	no_cmdline
   18.33 +	orl	ABS(cmd_line_ptr)-base(%di), %eax
   18.34 +	jne	not_default
   18.35 +	cld
   18.36 +
   18.37 +#ifdef	EDIT_CMDLINE
   18.38 +# The cmdline can be entered and modifed at boot time.
   18.39 +# Only characters before the cursor are passed to the kernel.
   18.40 +
   18.41 +	movw	%ax, %es
   18.42 +	movw	%si, %dx
   18.43 +	movb	$13, %al
   18.44 +puts:
   18.45 +#ifdef BUGGY
   18.46 +	call	putc
   18.47 +#endif
   18.48 +	lodsb
   18.49 +	orb	%al, %al
   18.50 +	jnz	puts
   18.51 +endputs:
   18.52 +cmdlp:
   18.53 +	movb	$0x20, %al		# clear end of line
   18.54 +cmdlpz:
   18.55 +	call	putc			#  with Space
   18.56 +	subb	$0x18, %al		#   and BackSpace
   18.57 +	jnc	cmdlpz
   18.58 +	decw	%si
   18.59 +cmdget:
   18.60 +clock	= 0x46C
   18.61 +	movw	$clock, %bx
   18.62 +#define DELAY 5
   18.63 +	movb	$257-(DELAY*182)/10, %es:(%bx)
   18.64 +waitkbd:
   18.65 +	movw	$0x10D, %ax		# test keyboard, timeout => CR
   18.66 +	cmpb	%es:(%bx),%ah
   18.67 +	je	waitdone
   18.68 +	int	$0x16
   18.69 +	jz	waitkbd
   18.70 +	cbw
   18.71 +	int	$0x16			# eat char
   18.72 +	movw	%bx, %es		# disable timeout
   18.73 +waitdone:
   18.74 +	cmpb	$8, %al			# BackSpace ?
   18.75 +	je	cmdbs
   18.76 +	movb	%al, (%si)		# store char
   18.77 +	lodsw				# %si += 2
   18.78 +cmdbs:
   18.79 +	cmpw	%dx, %si
   18.80 +	je	cmdget
   18.81 +	call	putc
   18.82 +	cmpb	$10, %al		# Enter/linefeed ?
   18.83 +	jne	cmdlp
   18.84 +	movb	%bh,-2(%si)		# set end of string and remove CR
   18.85 +endcmdline:
   18.86 +	movw	%dx, %si
   18.87 +#endif
   18.88 +
   18.89 +	xorw	%cx, %cx
   18.90 +len:
   18.91 +	lodsb
   18.92 +	orb	%al, %al
   18.93 +	loopne	len
   18.94 +	addw	%cx, %si
   18.95 +	cbw
   18.96 +	cdq
   18.97 +	andb	$0xFE, %cl
   18.98 +	popw	%bp		// caller %ds
   18.99 +	addw	%cx, %sp
  18.100 +	pushw	%di		// caller nextip
  18.101 +	pushw	%bp		// caller %ds
  18.102 +	pushw	%ss
  18.103 +	popw	%es
  18.104 +	movw	%sp, %ax
  18.105 +	movw	%es, %dx
  18.106 +	shll	$4, %edx
  18.107 +	addl	%eax, %edx
  18.108 +	movl	%edx, ABS(cmd_line_ptr)-base(%di)
  18.109 +	pushw	%di
  18.110 +	xchgw	%ax, %di
  18.111 +	negw	%cx
  18.112 +	rep
  18.113 +	  movsb
  18.114 +	popw	%di
  18.115 +not_default:
  18.116 +no_cmdline:
  18.117 +	pushw	%cs
  18.118 +	popw	%es
  18.119 +	movw	$ABS(start_of_setup)-base, %cx
  18.120 +	leaw	ABS(start_of_setup)-base(%di), %ax
  18.121 +	pushw	%ax
  18.122 +	xorw	%ax, %ax
  18.123 +	jmp	*%di
  18.124 +
  18.125 +#ifdef	EDIT_CMDLINE
  18.126 +putlf:
  18.127 +	xorb	$10^13, %al
  18.128 +putc:
  18.129 +	movb	$0xe, %ah
  18.130 +	movw	$7, %bx
  18.131 + 	int	$0x10
  18.132 +	cmpb	$13, %al
  18.133 +	je	putlf
  18.134 +	ret
  18.135 +#endif
  18.136 +
    19.1 --- a/lpd-config/receipt	Mon Feb 15 22:11:25 2016 +0100
    19.2 +++ b/lpd-config/receipt	Sat Feb 27 10:51:46 2016 +0100
    19.3 @@ -2,7 +2,7 @@
    19.4  
    19.5  PACKAGE="lpd-config"
    19.6  VERSION="1.0"
    19.7 -CATEGORY="meta"
    19.8 +CATEGORY="system"
    19.9  SHORT_DESC="Line printer server configuration (without spooling)"
   19.10  MAINTAINER="pascal.bellard@slitaz.org"
   19.11  LICENSE="BSD"
    20.1 --- a/lpd-spooling-config/receipt	Mon Feb 15 22:11:25 2016 +0100
    20.2 +++ b/lpd-spooling-config/receipt	Sat Feb 27 10:51:46 2016 +0100
    20.3 @@ -2,7 +2,7 @@
    20.4  
    20.5  PACKAGE="lpd-spooling-config"
    20.6  VERSION="1.0"
    20.7 -CATEGORY="meta"
    20.8 +CATEGORY="system"
    20.9  SHORT_DESC="Line printer server configuration"
   20.10  MAINTAINER="pascal.bellard@slitaz.org"
   20.11  LICENSE="BSD"
    21.1 --- a/module-3c509/receipt	Mon Feb 15 22:11:25 2016 +0100
    21.2 +++ b/module-3c509/receipt	Sat Feb 27 10:51:46 2016 +0100
    21.3 @@ -3,6 +3,7 @@
    21.4  PACKAGE="module-3c509"
    21.5  VERSION="2.6.14"
    21.6  CATEGORY="base-system"
    21.7 +GROUP="driver,ethernet"
    21.8  SHORT_DESC="Kernel module for the 3c509 (3com Etherlink III) driver"
    21.9  MAINTAINER="pascal.bellard@slitaz.org"
   21.10  LICENSE="GPL2"
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/module-8250/receipt	Sat Feb 27 10:51:46 2016 +0100
    22.3 @@ -0,0 +1,32 @@
    22.4 +# SliTaz package receipt.
    22.5 +
    22.6 +PACKAGE="module-8250"
    22.7 +VERSION="2.6.14"
    22.8 +CATEGORY="base-system"
    22.9 +GROUP="driver"
   22.10 +SHORT_DESC="Kernel module for the serial ports"
   22.11 +MAINTAINER="pascal.bellard@slitaz.org"
   22.12 +LICENSE="GPL2"
   22.13 +WEB_SITE="http://tiny.slitaz.org/"
   22.14 +WANTED="linux"
   22.15 +
   22.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
   22.17 +genpkg_rules()
   22.18 +{
   22.19 +	local path
   22.20 +	export src=$WOK/$WANTED/source/linux-$VERSION
   22.21 +	export _pkg=$WOK/$WANTED/install
   22.22 +	path=lib/modules/$(ls $_pkg/lib/modules)/kernel
   22.23 +	mkdir -p $fs/$path
   22.24 +	$src/slitaz/list_modules.sh drivers/serial/8250.ko | while read module; do
   22.25 +		dir=$path/$(dirname $module)
   22.26 +		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   22.27 +		cp -a $_pkg/$path/$module $fs/$dir
   22.28 +	done
   22.29 +}
   22.30 +
   22.31 +# Post install/remove commands for Tazpkg.
   22.32 +post_install()
   22.33 +{
   22.34 +	echo ${PACKAGE#*-} >> $1/modules
   22.35 +}
    23.1 --- a/module-cifs/receipt	Mon Feb 15 22:11:25 2016 +0100
    23.2 +++ b/module-cifs/receipt	Sat Feb 27 10:51:46 2016 +0100
    23.3 @@ -3,6 +3,7 @@
    23.4  PACKAGE="module-cifs"
    23.5  VERSION="2.6.14"
    23.6  CATEGORY="base-system"
    23.7 +GROUP="filesystem"
    23.8  SHORT_DESC="Kernel module for the cifs (samba) filesystem"
    23.9  MAINTAINER="pascal.bellard@slitaz.org"
   23.10  LICENSE="GPL2"
    24.1 --- a/module-cs89x0/receipt	Mon Feb 15 22:11:25 2016 +0100
    24.2 +++ b/module-cs89x0/receipt	Sat Feb 27 10:51:46 2016 +0100
    24.3 @@ -3,6 +3,7 @@
    24.4  PACKAGE="module-cs89x0"
    24.5  VERSION="2.6.14"
    24.6  CATEGORY="base-system"
    24.7 +GROUP="driver,ethernet"
    24.8  SHORT_DESC="Kernel module for the cs89x0 driver"
    24.9  MAINTAINER="pascal.bellard@slitaz.org"
   24.10  LICENSE="GPL2"
    25.1 --- a/module-ext3/receipt	Mon Feb 15 22:11:25 2016 +0100
    25.2 +++ b/module-ext3/receipt	Sat Feb 27 10:51:46 2016 +0100
    25.3 @@ -3,6 +3,7 @@
    25.4  PACKAGE="module-ext3"
    25.5  VERSION="2.6.14"
    25.6  CATEGORY="base-system"
    25.7 +GROUP="filesystem"
    25.8  SHORT_DESC="Kernel module for the ext3 filesystem"
    25.9  MAINTAINER="pascal.bellard@slitaz.org"
   25.10  LICENSE="GPL2"
    26.1 --- a/module-fat/receipt	Mon Feb 15 22:11:25 2016 +0100
    26.2 +++ b/module-fat/receipt	Sat Feb 27 10:51:46 2016 +0100
    26.3 @@ -3,6 +3,7 @@
    26.4  PACKAGE="module-fat"
    26.5  VERSION="2.6.14"
    26.6  CATEGORY="base-system"
    26.7 +GROUP="filesystem"
    26.8  SHORT_DESC="Kernel module for the vfat filesystem"
    26.9  MAINTAINER="pascal.bellard@slitaz.org"
   26.10  LICENSE="GPL2"
    27.1 --- a/module-floppy/receipt	Mon Feb 15 22:11:25 2016 +0100
    27.2 +++ b/module-floppy/receipt	Sat Feb 27 10:51:46 2016 +0100
    27.3 @@ -3,7 +3,8 @@
    27.4  PACKAGE="module-floppy"
    27.5  VERSION="2.6.14"
    27.6  CATEGORY="base-system"
    27.7 -SHORT_DESC="Kernel module for the parallel printers"
    27.8 +GROUP="driver"
    27.9 +SHORT_DESC="Kernel module for the floppy disk"
   27.10  MAINTAINER="pascal.bellard@slitaz.org"
   27.11  LICENSE="GPL2"
   27.12  WEB_SITE="http://tiny.slitaz.org/"
    28.1 --- a/module-fuse/receipt	Mon Feb 15 22:11:25 2016 +0100
    28.2 +++ b/module-fuse/receipt	Sat Feb 27 10:51:46 2016 +0100
    28.3 @@ -3,6 +3,7 @@
    28.4  PACKAGE="module-fuse"
    28.5  VERSION="2.6.14"
    28.6  CATEGORY="base-system"
    28.7 +GROUP="filesystem"
    28.8  SHORT_DESC="Kernel module for the fuse filesystem"
    28.9  MAINTAINER="pascal.bellard@slitaz.org"
   28.10  LICENSE="GPL2"
    29.1 --- a/module-hfsplus/receipt	Mon Feb 15 22:11:25 2016 +0100
    29.2 +++ b/module-hfsplus/receipt	Sat Feb 27 10:51:46 2016 +0100
    29.3 @@ -3,6 +3,7 @@
    29.4  PACKAGE="module-hfsplus"
    29.5  VERSION="2.6.14"
    29.6  CATEGORY="base-system"
    29.7 +GROUP="filesystem"
    29.8  SHORT_DESC="Kernel module for the hfsplus (MacOS) filesystem"
    29.9  MAINTAINER="pascal.bellard@slitaz.org"
   29.10  LICENSE="GPL2"
    30.1 --- a/module-isofs/receipt	Mon Feb 15 22:11:25 2016 +0100
    30.2 +++ b/module-isofs/receipt	Sat Feb 27 10:51:46 2016 +0100
    30.3 @@ -3,6 +3,7 @@
    30.4  PACKAGE="module-isofs"
    30.5  VERSION="2.6.14"
    30.6  CATEGORY="base-system"
    30.7 +GROUP="filesystem"
    30.8  SHORT_DESC="Kernel module for the iso9660 filesystem"
    30.9  MAINTAINER="pascal.bellard@slitaz.org"
   30.10  LICENSE="GPL2"
    31.1 --- a/module-loop/receipt	Mon Feb 15 22:11:25 2016 +0100
    31.2 +++ b/module-loop/receipt	Sat Feb 27 10:51:46 2016 +0100
    31.3 @@ -3,6 +3,7 @@
    31.4  PACKAGE="module-loop"
    31.5  VERSION="2.6.14"
    31.6  CATEGORY="base-system"
    31.7 +GROUP="driver"
    31.8  SHORT_DESC="Kernel module for the loop device"
    31.9  MAINTAINER="pascal.bellard@slitaz.org"
   31.10  LICENSE="GPL2"
    32.1 --- a/module-lp/receipt	Mon Feb 15 22:11:25 2016 +0100
    32.2 +++ b/module-lp/receipt	Sat Feb 27 10:51:46 2016 +0100
    32.3 @@ -3,6 +3,7 @@
    32.4  PACKAGE="module-lp"
    32.5  VERSION="2.6.14"
    32.6  CATEGORY="base-system"
    32.7 +GROUP="driver"
    32.8  SHORT_DESC="Kernel module for the parallel printers"
    32.9  MAINTAINER="pascal.bellard@slitaz.org"
   32.10  LICENSE="GPL2"
    33.1 --- a/module-ne/receipt	Mon Feb 15 22:11:25 2016 +0100
    33.2 +++ b/module-ne/receipt	Sat Feb 27 10:51:46 2016 +0100
    33.3 @@ -3,6 +3,7 @@
    33.4  PACKAGE="module-ne"
    33.5  VERSION="2.6.14"
    33.6  CATEGORY="base-system"
    33.7 +GROUP="driver,ethernet"
    33.8  SHORT_DESC="Kernel module for the ne2000 driver"
    33.9  MAINTAINER="pascal.bellard@slitaz.org"
   33.10  LICENSE="GPL2"
    34.1 --- a/module-nfsd/receipt	Mon Feb 15 22:11:25 2016 +0100
    34.2 +++ b/module-nfsd/receipt	Sat Feb 27 10:51:46 2016 +0100
    34.3 @@ -3,6 +3,7 @@
    34.4  PACKAGE="module-nfsd"
    34.5  VERSION="2.6.14"
    34.6  CATEGORY="base-system"
    34.7 +GROUP="filesystem"
    34.8  SHORT_DESC="Kernel module for the nfs filesystem (server side)"
    34.9  MAINTAINER="pascal.bellard@slitaz.org"
   34.10  LICENSE="GPL2"
    35.1 --- a/module-reiserfs/receipt	Mon Feb 15 22:11:25 2016 +0100
    35.2 +++ b/module-reiserfs/receipt	Sat Feb 27 10:51:46 2016 +0100
    35.3 @@ -3,6 +3,7 @@
    35.4  PACKAGE="module-reiserfs"
    35.5  VERSION="2.6.14"
    35.6  CATEGORY="base-system"
    35.7 +GROUP="filesystem"
    35.8  SHORT_DESC="Kernel module for the reiserfs filesystem"
    35.9  MAINTAINER="pascal.bellard@slitaz.org"
   35.10  LICENSE="GPL2"
    36.1 --- a/module-serial/receipt	Mon Feb 15 22:11:25 2016 +0100
    36.2 +++ b/module-serial/receipt	Sat Feb 27 10:51:46 2016 +0100
    36.3 @@ -3,6 +3,7 @@
    36.4  PACKAGE="module-serial"
    36.5  VERSION="2.6.14"
    36.6  CATEGORY="base-system"
    36.7 +GROUP="driver"
    36.8  SHORT_DESC="Kernel module for the serial (RS232) port"
    36.9  MAINTAINER="pascal.bellard@slitaz.org"
   36.10  LICENSE="GPL2"
    37.1 --- a/module-usb-storage/receipt	Mon Feb 15 22:11:25 2016 +0100
    37.2 +++ b/module-usb-storage/receipt	Sat Feb 27 10:51:46 2016 +0100
    37.3 @@ -3,6 +3,7 @@
    37.4  PACKAGE="module-usb-storage"
    37.5  VERSION="2.6.14"
    37.6  CATEGORY="base-system"
    37.7 +GROUP="driver,usb"
    37.8  SHORT_DESC="Kernel module for the USB storage devices"
    37.9  MAINTAINER="pascal.bellard@slitaz.org"
   37.10  LICENSE="GPL2"
    38.1 --- a/module-usbkbd/receipt	Mon Feb 15 22:11:25 2016 +0100
    38.2 +++ b/module-usbkbd/receipt	Sat Feb 27 10:51:46 2016 +0100
    38.3 @@ -3,6 +3,7 @@
    38.4  PACKAGE="module-usbkbd"
    38.5  VERSION="2.6.14"
    38.6  CATEGORY="base-system"
    38.7 +GROUP="driver,usb"
    38.8  SHORT_DESC="Kernel module for the USB keyboard"
    38.9  MAINTAINER="pascal.bellard@slitaz.org"
   38.10  LICENSE="GPL2"
    39.1 --- a/module-usblp/receipt	Mon Feb 15 22:11:25 2016 +0100
    39.2 +++ b/module-usblp/receipt	Sat Feb 27 10:51:46 2016 +0100
    39.3 @@ -3,6 +3,7 @@
    39.4  PACKAGE="module-usblp"
    39.5  VERSION="2.6.14"
    39.6  CATEGORY="base-system"
    39.7 +GROUP="driver,usb"
    39.8  SHORT_DESC="Kernel module for the USB printers"
    39.9  MAINTAINER="pascal.bellard@slitaz.org"
   39.10  LICENSE="GPL2"
    40.1 --- a/module-usbmouse/receipt	Mon Feb 15 22:11:25 2016 +0100
    40.2 +++ b/module-usbmouse/receipt	Sat Feb 27 10:51:46 2016 +0100
    40.3 @@ -3,6 +3,7 @@
    40.4  PACKAGE="module-usbmouse"
    40.5  VERSION="2.6.14"
    40.6  CATEGORY="base-system"
    40.7 +GROUP="driver,usb"
    40.8  SHORT_DESC="Kernel module for the USB mouse"
    40.9  MAINTAINER="pascal.bellard@slitaz.org"
   40.10  LICENSE="GPL2"
    41.1 --- a/module-usbserial/receipt	Mon Feb 15 22:11:25 2016 +0100
    41.2 +++ b/module-usbserial/receipt	Sat Feb 27 10:51:46 2016 +0100
    41.3 @@ -3,6 +3,7 @@
    41.4  PACKAGE="module-usbserial"
    41.5  VERSION="2.6.14"
    41.6  CATEGORY="base-system"
    41.7 +GROUP="driver,usb"
    41.8  SHORT_DESC="Kernel module for the USB serial dongle"
    41.9  MAINTAINER="pascal.bellard@slitaz.org"
   41.10  LICENSE="GPL2"
    42.1 --- a/module-xfs/receipt	Mon Feb 15 22:11:25 2016 +0100
    42.2 +++ b/module-xfs/receipt	Sat Feb 27 10:51:46 2016 +0100
    42.3 @@ -3,6 +3,7 @@
    42.4  PACKAGE="module-xfs"
    42.5  VERSION="2.6.14"
    42.6  CATEGORY="base-system"
    42.7 +GROUP="filesystem"
    42.8  SHORT_DESC="Kernel module for the xfs filesystem"
    42.9  MAINTAINER="pascal.bellard@slitaz.org"
   42.10  LICENSE="GPL2"
    43.1 --- a/ntp-config/receipt	Mon Feb 15 22:11:25 2016 +0100
    43.2 +++ b/ntp-config/receipt	Sat Feb 27 10:51:46 2016 +0100
    43.3 @@ -2,7 +2,7 @@
    43.4  
    43.5  PACKAGE="ntp-config"
    43.6  VERSION="1.0"
    43.7 -CATEGORY="meta"
    43.8 +CATEGORY="network"
    43.9  SHORT_DESC="Network time protocol configuration"
   43.10  MAINTAINER="pascal.bellard@slitaz.org"
   43.11  LICENSE="BSD"
    44.1 --- a/telnet-config/receipt	Mon Feb 15 22:11:25 2016 +0100
    44.2 +++ b/telnet-config/receipt	Sat Feb 27 10:51:46 2016 +0100
    44.3 @@ -2,7 +2,7 @@
    44.4  
    44.5  PACKAGE="telnet-config"
    44.6  VERSION="1.0"
    44.7 -CATEGORY="meta"
    44.8 +CATEGORY="network"
    44.9  SHORT_DESC="Enable Telnet server"
   44.10  MAINTAINER="pascal.bellard@slitaz.org"
   44.11  LICENSE="BSD"
    45.1 --- a/udhcpd-config/receipt	Mon Feb 15 22:11:25 2016 +0100
    45.2 +++ b/udhcpd-config/receipt	Sat Feb 27 10:51:46 2016 +0100
    45.3 @@ -2,7 +2,7 @@
    45.4  
    45.5  PACKAGE="udhcpd-config"
    45.6  VERSION="1.0"
    45.7 -CATEGORY="meta"
    45.8 +CATEGORY="network"
    45.9  SHORT_DESC="DHCP server configuration file"
   45.10  MAINTAINER="pascal.bellard@slitaz.org"
   45.11  LICENSE="BSD"
    46.1 --- a/zlib/receipt	Mon Feb 15 22:11:25 2016 +0100
    46.2 +++ b/zlib/receipt	Sat Feb 27 10:51:46 2016 +0100
    46.3 @@ -3,6 +3,7 @@
    46.4  PACKAGE="zlib"
    46.5  VERSION="1.2.3"
    46.6  CATEGORY="base-system"
    46.7 +GROUP="library"
    46.8  SHORT_DESC="Compression library."
    46.9  MAINTAINER="pascal.bellard@slitaz.org"
   46.10  LICENSE="zlib/libpng"