From 48023e336bc95bda974f1e772e209dc07f3b1e05 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 29 Aug 2011 01:45:49 -0300 Subject: [configs/releng] Support configurable build options via command line usage ./build.sh [options] command General options: -N Set an iso filename (prefix) Default: archlinux -V Set an iso version (in filename) Default: 2011.08.18 -L Set an iso label (disk label) Default: ARCH_201108 -D Set an install_dir (directory inside iso) Default: arch -w Set the working directory Default: work -o Set the output directory Default: out -v Enable verbose output -h This help message Commands: build Build selected .iso by and purge Clean working directory except iso/ directory of build clean Clean working directory and .iso file in output directory of build Command options: Valid values 'single' or 'dual' Valid values 'netinstall', 'core' or 'all' Signed-off-by: Gerardo Exequiel Pozzi --- README | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'README') diff --git a/README b/README index 97b5f77..88b3243 100644 --- a/README +++ b/README @@ -240,23 +240,24 @@ Note: These steps should be done with 64 bits support. * Enter 32 bits chroot enviroment then build core and netinstall single images. [chroot32] # linux32 mkarchroot -r bash /tmp/chroot32 - [chroot32] # mknod /dev/loop1032 b 7 1032 #assumed loop.max_part=0 (by default) + [chroot32] # mknod /dev/loop1032 b 7 1032 # assumed loop.max_part=0 (by default) [chroot32] # cp -r /usr/share/archiso/configs/releng /tmp [chroot32] # cd /tmp/releng - [chroot32] # ./build.sh all_iso_single - [chroot32] # ./build.sh purge_single #optional + [chroot32] # ./build.sh build single all + [chroot32] # ./build.sh purge single # optional step * Enter 64 bits chroot enviroment then build core and netinstall single images. [chroot64] # mkarchroot -r bash /tmp/chroot64 - [chroot64] # mknod /dev/loop1064 b 7 1064 #assumed loop.max_part=0 (by default) + [chroot64] # mknod /dev/loop1064 b 7 1064 # assumed loop.max_part=0 (by default) [chroot64] # cp -r /usr/share/archiso/configs/releng /tmp [chroot64] # cd /tmp/releng - [chroot64] # ./build.sh all_iso_single - [chroot64] # ./build.sh purge_single #optional + [chroot64] # ./build.sh build single all + [chroot64] # ./build.sh purge single # optional step * Build core and netinstall dual images from any of the chroot enviroments. [host64] # mkarchroot -r bash /tmp/chroot64 [chroot64] # cd /tmp/releng - [chroot64] # ./build.sh all_iso_dual + [chroot64] # ./build.sh build dual all + [chroot64] # ./build.sh purge dual # optional step -- cgit v1.2.2