# HG changeset patch # User Paul Issott # Date 1338581297 -3600 # Node ID 4dcfb253c8f7694d8224221357eced65ce1a29b4 # Parent 5fc6d5fabb1cc98e4bbdeb264363076af3cbb359 Tiny edits diff -r 5fc6d5fabb1c -r 4dcfb253c8f7 README --- a/README Tue May 29 23:51:57 2012 +0000 +++ b/README Fri Jun 01 21:08:17 2012 +0100 @@ -2,14 +2,14 @@ ================================================================================ -SliTaz ARM tools, files and +SliTaz ARM tools and files Sat howto --------- Sat is a tool in the spirit of all SliTaz tools, all commands and options are accessible via: sat usage or help. To create a distro you first need to have -some ARM packages. You can use custom cook the one from SliTaz mirror, put +some ARM packages. You can use custom cook, the one from the SliTaz mirror, put them all in a packages/ directory and sat will install them. Then generate the distro initramfs with your custom --options: @@ -19,21 +19,21 @@ # sat emu -Sata le you clone the ARM cooking repo to let you debug and try official ARM -packages. Sat will creat a mirror directory in the working path, douwnlod all -list and packages. After a first clone it will only check the repo ID file -and download the modified or new packages. +Sat lets you clone the ARM cooking repo to let you debug and try official ARM +packages. Sat will create a mirror directory in the working path and download +all lists and packages. After a first clone it will only check the repo ID +file and download any modified or new packages. History ------- -While I was porting SliTaz to ARM I ended by creating a lot of initramfs to -test the SliTaz boot, packages and so on. So I first wrote a small script, -then improved it so just have to put include packages in a single directory +While I was porting SliTaz to ARM I ended up by creating a lot of initramfs' +to test the SliTaz boot, packages and so on. So I first wrote a small script, +then improved it by just having to put include packages in a single directory and all custom files in a rootfs directory. I also wanted virtual disk support -so I can code under Qemu and save my work. This is how sat is born, one day -we may use TazLito or have a new SliTaz Live tool, but at the time being 'sat' -and the way it work feet all my needs to buils custom distro and boot then +so I can code under Qemu and save my work. This is how sat was born, one day +we may use TazLito or have a new SliTaz Live tool, but for the time being 'sat' +and the way it works fits all my needs to build custom distros and then boot with qemu-system-arm. - Pankso 24 May 2012 diff -r 5fc6d5fabb1c -r 4dcfb253c8f7 rootfs/etc/init.d/rcS --- a/rootfs/etc/init.d/rcS Tue May 29 23:51:57 2012 +0000 +++ b/rootfs/etc/init.d/rcS Fri Jun 01 21:08:17 2012 +0100 @@ -5,7 +5,7 @@ # # rcS is the main initialization script used to check fs, mount, clean, # run scripts and start daemons. This is a custom script for ARM to get -# fast boot under Qemu and skip things like handling cdrom. +# a faster boot under Qemu and skip things like handling cdrom. # # Copyright (C) 2012 SliTaz ARM - BSD License # @@ -27,7 +27,7 @@ mount -a # Populate /dev -echo -n "Creating devives nodes..." +echo -n "Creating device nodes..." mdev -s echo "/sbin/mdev" > /proc/sys/kernel/hotplug status diff -r 5fc6d5fabb1c -r 4dcfb253c8f7 rootfs/etc/inittab --- a/rootfs/etc/inittab Tue May 29 23:51:57 2012 +0000 +++ b/rootfs/etc/inittab Fri Jun 01 21:08:17 2012 +0100 @@ -7,7 +7,7 @@ tty2::respawn:/sbin/getty 38400 tty2 tty3::askfirst:-/bin/sh -# Stuff to do before rebooting or shuting down +# Stuff to do before rebooting or shutting down ::restart:/etc/init.d/shutdown.sh ::restart:/sbin/init ::shutdown:/etc/init.d/shutdown.sh diff -r 5fc6d5fabb1c -r 4dcfb253c8f7 rootfs/etc/rcS.conf --- a/rootfs/etc/rcS.conf Tue May 29 23:51:57 2012 +0000 +++ b/rootfs/etc/rcS.conf Fri Jun 01 21:08:17 2012 +0100 @@ -2,13 +2,13 @@ # Config file used by /etc/init.d/rcS # -# Syslogd: Max size (KB) before rotation +# Syslogd: Max size (KB) before rotation. SYSLOGD_SIZE="40" -# Kernel modules to load earlier in boot +# Kernel modules to load earlier in boot. LOAD_MODULES="" -# Scripts to run at boot time. Important: system.sh after network.sh +# Scripts to run at boot time. Important: system.sh after network.sh. RUN_SCRIPTS="network.sh system.sh local.sh" # Daemons/services to start later in boot process. diff -r 5fc6d5fabb1c -r 4dcfb253c8f7 rootfs/lib/libtaz.sh --- a/rootfs/lib/libtaz.sh Tue May 29 23:51:57 2012 +0000 +++ b/rootfs/lib/libtaz.sh Fri Jun 01 21:08:17 2012 +0100 @@ -16,7 +16,7 @@ # xgettext (from Makefile) can't extract strings from above example: # gettext -d 'slitaz-base' 'Done' -# so, I define own function (and add it as option to xgettext to Makefile) +# so, I defined own function (and added it as option to xgettext in Makefile) lgettext() { gettext -d 'slitaz-base' $1 } diff -r 5fc6d5fabb1c -r 4dcfb253c8f7 sat --- a/sat Tue May 29 23:51:57 2012 +0000 +++ b/sat Fri Jun 01 21:08:17 2012 +0100 @@ -25,7 +25,7 @@ $(boldify "Usage:") $(basename $0) [command|--options] $(boldify "Commands:") - gen Generate a disto cpio/gzip initramfs + gen Generate a distro cpio/gzip initramfs clean Clean up the work directory vdisk Create a virtual disk to be used by Qemu emu Emulate the distro with qemu-system-arm @@ -41,7 +41,7 @@ EOT } -# --> use libpkg.sh when release (function is shared with spk) +# --> use libpkg.sh when released (function is shared with spk) # Check mirror ID: return 1 if no changes or mirror unreachable check_mirror_id() { [ "$forced" ] && rm -f ID @@ -70,8 +70,8 @@ rm -rf $distro slitaz-arm.xz mkdir -p $distro - # Packages. Dep install it not well handled by tazpkg/spk actually - # so simply install all packages and dont resolv deps or use equiv. + # Packages. Dep install is not well handled by tazpkg/spk actually. + # So simply install all packages and don't resolve deps or use equiv. cd $packages for pkg in $packages/*.tazpkg do @@ -153,7 +153,7 @@ rm -rf $work/$r && status done ;; vdisk) - # Let use and HD in Qemu to store files|packages|whatever + # Lets use and HD in Qemu to store files|packages|whatever vdisk="vdisk.img" : ${size=20} cd $work