seb rev 11

More security, -e to emulate iso
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 06 19:06:12 2017 +0100 (2017-03-06)
parents a4fa34b33e9e
children ac5daac524c9
files README seb
line diff
     1.1 --- a/README	Mon Mar 06 18:37:02 2017 +0100
     1.2 +++ b/README	Mon Mar 06 19:06:12 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  SEB - SliTaz Embedded OS
     1.5  ================================================================================
     1.6  
     1.7 -Back to the root with this cmdline tool to build realy small SliTaz textmode 
     1.8 +Back to the root with this cmdline tool to build realy small SliTaz text mode 
     1.9  system for hacking, learning and developing small Linux operating system.
    1.10  
    1.11  Seb builder will init a minimal set of files that you can customise at your
    1.12 @@ -44,6 +44,8 @@
    1.13    # seb -p sqlite --add
    1.14    # seb build
    1.15  
    1.16 +To get a list of commands, just run seb without arguments: $ seb
    1.17 +
    1.18  
    1.19  Build process & environment
    1.20  --------------------------------------------------------------------------------
    1.21 @@ -99,8 +101,9 @@
    1.22    * examples/       Various fs and scripts examples
    1.23    * initfs/         Initial files used to create the system
    1.24    * seb             SliTaz Embedded operation system builder
    1.25 +  * libseb.sh       Seb shared functions install on host and in seb OS
    1.26    * tools/          Various tools included or used to build an OS
    1.27 -  * packages/       SliTaz Embedded packages
    1.28 +  * packages/       SliTaz Embedded packages database
    1.29  
    1.30  We dont want to much automation, let people create ther own OS in there
    1.31  own way but provide some usefull function to help :-)
     2.1 --- a/seb	Mon Mar 06 18:37:02 2017 +0100
     2.2 +++ b/seb	Mon Mar 06 19:06:12 2017 +0100
     2.3 @@ -276,6 +276,7 @@
     2.4  EOT
     2.5  	
     2.6  	# Security check
     2.7 +	chown -R 0.0 ${rootfs}
     2.8  	chmod 0600 ${rootfs}/etc/busybox.conf
     2.9  
    2.10  	# Rootfs archive
    2.11 @@ -433,7 +434,7 @@
    2.12  		cd ${rootfs}; find . -type f | sed s'/^.//'g
    2.13  		footer "Rootfs files: $(find . -type f | wc -l)" ;;
    2.14  	
    2.15 -	emu)
    2.16 +	-e|emu)
    2.17  		title "Emulating: $iso"
    2.18  		emulate ${work}/${iso} 
    2.19  		footer ;;