aboutsummaryrefslogtreecommitdiff
path: root/configs/releng/build.sh
Commit message (Collapse)AuthorAgeFilesLines
* [archiso] Integrate omit_kill_nbd_client logic in hook.Gerardo Exequiel Pozzi2011-08-291-0/+1
| | | | | | | This makes archiso_pxe_nbd functionallity full-independient from archiso profiles (configs/*). Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Switch from cdrkit to libisoburnGerardo Exequiel Pozzi2011-08-291-0/+1
| | | | | | | | | | * Preparing terrain for UEFI support. * Also make isohybrid hack in one step. * Removed UDF layer, since xorriso does not support it. * Removed unsupported options by xorriso (-uid/-gid/-allow-limited-size) * Removed option already default in xorriso (-input-charset utf-8) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/releng] Support configurable build options via command lineGerardo Exequiel Pozzi2011-08-291-64/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage ./build.sh [options] command <command options> General options: -N <iso_name> Set an iso filename (prefix) Default: archlinux -V <iso_version> Set an iso version (in filename) Default: 2011.08.18 -L <iso_label> Set an iso label (disk label) Default: ARCH_201108 -D <install_dir> Set an install_dir (directory inside iso) Default: arch -w <work_dir> Set the working directory Default: work -o <out_dir> Set the output directory Default: out -v Enable verbose output -h This help message Commands: build <mode> <type> Build selected .iso by <mode> and <type> purge <mode> Clean working directory except iso/ directory of build <mode> clean <mode> Clean working directory and .iso file in output directory of build <mode> Command options: <mode> Valid values 'single' or 'dual' <type> Valid values 'netinstall', 'core' or 'all' Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Use -w <work_dir> instead of cmd <work>, add -o <out_dir>Gerardo Exequiel Pozzi2011-08-291-10/+11
| | | | | | | | | | | | | | Default (if not specified) -w work -o out. -o <out_dir> is only used by 'iso' command. Adjust build.sh of releng and baseline profile to reflect this change. <project> - work <- $work_dir - out <- $out_dir Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/*] Rename $name -> $iso_name, $version -> $iso_versionGerardo Exequiel Pozzi2011-08-291-6/+6
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/releng] Add missing -D param to checksum commandGerardo Exequiel Pozzi2011-08-181-2/+2
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Add checksum= boot paramGerardo Exequiel Pozzi2011-08-151-0/+2
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/releng] Add purge_* commandsGerardo Exequiel Pozzi2011-08-151-2/+16
| | | | | | | | | | | | | | | purge_single command can be usefull to save space during build. It removes all files in working directory except "iso/" and *.iso. Workflow can be: (32) ./build.sh all_iso_single -> i686 *.iso are ready. (32) ./build.sh purge_single -> safe cleanup. (64) ./build.sh all_iso_single -> x86_64 *.iso are ready. (64) ./build.sh purge_single -> safe cleanup. (any) ./build.sh all_iso_dual -> dual *.iso are ready. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/*] Use $script_path for "source" files.Gerardo Exequiel Pozzi2011-08-151-11/+13
| | | | | | Allows to execute directly build.sh from any directory, using it as working dir. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/releng] Rename core pkgs images and mountpoint.Gerardo Exequiel Pozzi2011-08-111-12/+12
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Update kernel image name for linux-3.0Gerardo Exequiel Pozzi2011-07-241-2/+2
| | | | | | | Also rename kernel from vmlinuz-linux to vmlinuz to make filename ISO9660 friendly. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/releng] Make user "arch" at build time.Gerardo Exequiel Pozzi2011-07-091-0/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [configs/releng] Re-generate locales only if needed.Gerardo Exequiel Pozzi2011-07-091-0/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Update for mkinitcpio >= 0.7Gerardo Exequiel Pozzi2011-07-091-11/+21
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Delete etc/mtab on _cleanup stepGerardo Exequiel Pozzi2011-07-091-3/+0
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit")Gerardo Exequiel Pozzi2011-06-181-0/+284
* Use device mapper + snapshot module, instead union layer filesystem. * A block-level approach vs vfs-level. * No more unofficial (Linux) things. * More memory is needed. * Refactor mkarchiso. * Refactor hooks/archiso. * Fix install/archiso_pxe_nbd (due recent change in mkinitcpio-0.6.15 on checked_modules()/all_modules()) [Thanks Dave for the improved workaround] * New configs/releng to build official images. * Works with a Bash script instead of Makefile. (better control and easy to maintain) * Remove configs/syslinux-iso. * Remove archiso2dual script. Integrate functionality in configs/releng. * New configs/baseline to build the most basic live medium or use as template. * New README (draft). [Thanks Dieter for fixing english grammar] Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>