slitaz-arm diff sat @ rev 13
Add custom rcS.conf, and shutdown, improve rcS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 26 02:16:49 2012 +0200 (2012-05-26) |
parents | f915047f70ad |
children | 68f82e46d19b |
line diff
1.1 --- a/sat Fri May 25 23:22:20 2012 +0200 1.2 +++ b/sat Sat May 26 02:16:49 2012 +0200 1.3 @@ -2,7 +2,7 @@ 1.4 # 1.5 # Sat - SliTaz ARM Tool 1.6 # 1.7 -# Copyright (C) 2012 SliTaz GNU/Linux - BSD License 1.8 +# Copyright (C) 2012 SliTaz ARM - BSD License 1.9 # Author: Christophe Lincoln <pankso@slitaz.org> 1.10 # 1.11 . /lib/libtaz.sh 1.12 @@ -33,9 +33,10 @@ 1.13 1.14 $(boldify "Options:") 1.15 --spk Include Spk package manager in the distro 1.16 + --kmap Include the system keymap config in the distro 1.17 --work= Path to work dir with packages and rootfs 1.18 --size= Specify optional vdisk size (default 20Mb) 1.19 - --init= Specify the initramfs compression: gz xz 1.20 + --init= Specify the initramfs compression: gz xz 1.21 1.22 EOT 1.23 } 1.24 @@ -136,6 +137,9 @@ 1.25 tmp=$work/tmp-$$ 1.26 mkdir -p $tmp 1.27 cp -r $work/rootfs/* $tmp 1.28 + if [ "$kmap" ]; then 1.29 + cp /etc/keymap.conf $tmp/etc 1.30 + fi 1.31 chown -R root.root $tmp 1.32 cp -a $tmp/* $distro && rm -rf $tmp 1.33 status