slitaz-arm rev 17
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jun 01 21:08:17 2012 +0100 (2012-06-01) |
parents | 5fc6d5fabb1c |
children | 537fa92f46a4 |
files | README rootfs/etc/init.d/rcS rootfs/etc/inittab rootfs/etc/rcS.conf rootfs/lib/libtaz.sh sat |
line diff
1.1 --- a/README Tue May 29 23:51:57 2012 +0000 1.2 +++ b/README Fri Jun 01 21:08:17 2012 +0100 1.3 @@ -2,14 +2,14 @@ 1.4 ================================================================================ 1.5 1.6 1.7 -SliTaz ARM tools, files and 1.8 +SliTaz ARM tools and files 1.9 1.10 1.11 Sat howto 1.12 --------- 1.13 Sat is a tool in the spirit of all SliTaz tools, all commands and options are 1.14 accessible via: sat usage or help. To create a distro you first need to have 1.15 -some ARM packages. You can use custom cook the one from SliTaz mirror, put 1.16 +some ARM packages. You can use custom cook, the one from the SliTaz mirror, put 1.17 them all in a packages/ directory and sat will install them. Then generate the 1.18 distro initramfs with your custom --options: 1.19 1.20 @@ -19,21 +19,21 @@ 1.21 1.22 # sat emu 1.23 1.24 -Sata le you clone the ARM cooking repo to let you debug and try official ARM 1.25 -packages. Sat will creat a mirror directory in the working path, douwnlod all 1.26 -list and packages. After a first clone it will only check the repo ID file 1.27 -and download the modified or new packages. 1.28 +Sat lets you clone the ARM cooking repo to let you debug and try official ARM 1.29 +packages. Sat will create a mirror directory in the working path and download 1.30 +all lists and packages. After a first clone it will only check the repo ID 1.31 +file and download any modified or new packages. 1.32 1.33 1.34 History 1.35 ------- 1.36 -While I was porting SliTaz to ARM I ended by creating a lot of initramfs to 1.37 -test the SliTaz boot, packages and so on. So I first wrote a small script, 1.38 -then improved it so just have to put include packages in a single directory 1.39 +While I was porting SliTaz to ARM I ended up by creating a lot of initramfs' 1.40 +to test the SliTaz boot, packages and so on. So I first wrote a small script, 1.41 +then improved it by just having to put include packages in a single directory 1.42 and all custom files in a rootfs directory. I also wanted virtual disk support 1.43 -so I can code under Qemu and save my work. This is how sat is born, one day 1.44 -we may use TazLito or have a new SliTaz Live tool, but at the time being 'sat' 1.45 -and the way it work feet all my needs to buils custom distro and boot then 1.46 +so I can code under Qemu and save my work. This is how sat was born, one day 1.47 +we may use TazLito or have a new SliTaz Live tool, but for the time being 'sat' 1.48 +and the way it works fits all my needs to build custom distros and then boot 1.49 with qemu-system-arm. 1.50 1.51 - Pankso 24 May 2012
2.1 --- a/rootfs/etc/init.d/rcS Tue May 29 23:51:57 2012 +0000 2.2 +++ b/rootfs/etc/init.d/rcS Fri Jun 01 21:08:17 2012 +0100 2.3 @@ -5,7 +5,7 @@ 2.4 # 2.5 # rcS is the main initialization script used to check fs, mount, clean, 2.6 # run scripts and start daemons. This is a custom script for ARM to get 2.7 -# fast boot under Qemu and skip things like handling cdrom. 2.8 +# a faster boot under Qemu and skip things like handling cdrom. 2.9 # 2.10 # Copyright (C) 2012 SliTaz ARM - BSD License 2.11 # 2.12 @@ -27,7 +27,7 @@ 2.13 mount -a 2.14 2.15 # Populate /dev 2.16 -echo -n "Creating devives nodes..." 2.17 +echo -n "Creating device nodes..." 2.18 mdev -s 2.19 echo "/sbin/mdev" > /proc/sys/kernel/hotplug 2.20 status
3.1 --- a/rootfs/etc/inittab Tue May 29 23:51:57 2012 +0000 3.2 +++ b/rootfs/etc/inittab Fri Jun 01 21:08:17 2012 +0100 3.3 @@ -7,7 +7,7 @@ 3.4 tty2::respawn:/sbin/getty 38400 tty2 3.5 tty3::askfirst:-/bin/sh 3.6 3.7 -# Stuff to do before rebooting or shuting down 3.8 +# Stuff to do before rebooting or shutting down 3.9 ::restart:/etc/init.d/shutdown.sh 3.10 ::restart:/sbin/init 3.11 ::shutdown:/etc/init.d/shutdown.sh
4.1 --- a/rootfs/etc/rcS.conf Tue May 29 23:51:57 2012 +0000 4.2 +++ b/rootfs/etc/rcS.conf Fri Jun 01 21:08:17 2012 +0100 4.3 @@ -2,13 +2,13 @@ 4.4 # Config file used by /etc/init.d/rcS 4.5 # 4.6 4.7 -# Syslogd: Max size (KB) before rotation 4.8 +# Syslogd: Max size (KB) before rotation. 4.9 SYSLOGD_SIZE="40" 4.10 4.11 -# Kernel modules to load earlier in boot 4.12 +# Kernel modules to load earlier in boot. 4.13 LOAD_MODULES="" 4.14 4.15 -# Scripts to run at boot time. Important: system.sh after network.sh 4.16 +# Scripts to run at boot time. Important: system.sh after network.sh. 4.17 RUN_SCRIPTS="network.sh system.sh local.sh" 4.18 4.19 # Daemons/services to start later in boot process.
5.1 --- a/rootfs/lib/libtaz.sh Tue May 29 23:51:57 2012 +0000 5.2 +++ b/rootfs/lib/libtaz.sh Fri Jun 01 21:08:17 2012 +0100 5.3 @@ -16,7 +16,7 @@ 5.4 5.5 # xgettext (from Makefile) can't extract strings from above example: 5.6 # gettext -d 'slitaz-base' 'Done' 5.7 -# so, I define own function (and add it as option to xgettext to Makefile) 5.8 +# so, I defined own function (and added it as option to xgettext in Makefile) 5.9 lgettext() { 5.10 gettext -d 'slitaz-base' $1 5.11 }
6.1 --- a/sat Tue May 29 23:51:57 2012 +0000 6.2 +++ b/sat Fri Jun 01 21:08:17 2012 +0100 6.3 @@ -25,7 +25,7 @@ 6.4 $(boldify "Usage:") $(basename $0) [command|--options] 6.5 6.6 $(boldify "Commands:") 6.7 - gen Generate a disto cpio/gzip initramfs 6.8 + gen Generate a distro cpio/gzip initramfs 6.9 clean Clean up the work directory 6.10 vdisk Create a virtual disk to be used by Qemu 6.11 emu Emulate the distro with qemu-system-arm 6.12 @@ -41,7 +41,7 @@ 6.13 EOT 6.14 } 6.15 6.16 -# --> use libpkg.sh when release (function is shared with spk) 6.17 +# --> use libpkg.sh when released (function is shared with spk) 6.18 # Check mirror ID: return 1 if no changes or mirror unreachable 6.19 check_mirror_id() { 6.20 [ "$forced" ] && rm -f ID 6.21 @@ -70,8 +70,8 @@ 6.22 rm -rf $distro slitaz-arm.xz 6.23 mkdir -p $distro 6.24 6.25 - # Packages. Dep install it not well handled by tazpkg/spk actually 6.26 - # so simply install all packages and dont resolv deps or use equiv. 6.27 + # Packages. Dep install is not well handled by tazpkg/spk actually. 6.28 + # So simply install all packages and don't resolve deps or use equiv. 6.29 cd $packages 6.30 for pkg in $packages/*.tazpkg 6.31 do 6.32 @@ -153,7 +153,7 @@ 6.33 rm -rf $work/$r && status 6.34 done ;; 6.35 vdisk) 6.36 - # Let use and HD in Qemu to store files|packages|whatever 6.37 + # Lets use and HD in Qemu to store files|packages|whatever 6.38 vdisk="vdisk.img" 6.39 : ${size=20} 6.40 cd $work