[pisa-src] r2417 - trunk/tools/testbed/scripts/create_ubuntu_live

  • From: Samuel Richter <samuel.richter@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 24 Jan 2011 11:23:36 +0100

Author: richter
Date: Mon Jan 24 11:23:35 2011
New Revision: 2417

Log:
add option to change architecture

Modified:
   trunk/tools/testbed/scripts/create_ubuntu_live

Modified: trunk/tools/testbed/scripts/create_ubuntu_live
==============================================================================
--- trunk/tools/testbed/scripts/create_ubuntu_live      Mon Jan 24 11:05:15 
2011        (r2416)
+++ trunk/tools/testbed/scripts/create_ubuntu_live      Mon Jan 24 11:23:35 
2011        (r2417)
@@ -5,6 +5,7 @@
 #TODO: fakeroot
 usage(){
     echo "Usage: create_ubuntu_live <options> *packages"
+    echo " -a, --architecture ARCH: i386 (default) or amd64"
     echo " -i, --install INSTALL_LIST: textfile with additional packages to 
install"
     echo " -o, --output ISO: name of final iso-file (default: 
ubuntu-remix.iso)"
     echo " -b, --build-path BUILD_PATH: path to store the build files"
@@ -20,6 +21,7 @@
 #defaults
 BUILD_PATH=$(pwd)
 ISO=$(pwd)/ubuntu-remix.iso
+ARCH=i386
 
 #process input
 i=$((1+$#))
@@ -28,6 +30,8 @@
     i=$#
     case $1
     in
+        -a|--architecture) ARCH=$2; shift 2;;
+
         -i|--install) INSTALL_LIST=$2; shift 2;;
 
         -o|--output) ISO=$2; shift 2;;
@@ -48,7 +52,6 @@
 DISKDEFINES=$BUILD_PATH/README.diskdefines   #optional
 
 IMAGE_NAME="PisaLive"
-ARCH=i386
 
 # prepare chroot
 mkdir -p $CHROOT
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2417 - trunk/tools/testbed/scripts/create_ubuntu_live - Samuel Richter