Changeset 249


Ignore:
Timestamp:
Oct 9, 2012, 12:33:47 AM (12 years ago)
Author:
jazz
Message:
  • modified test-live-helper.sh
    • live-helper is now live-build
    • command lh is now lb
File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-hadoop-live/test-live-helper.sh

    r160 r249  
    33## Author: Jazz Yao-Tsung Wang <jazzwang.tw@gmail.com>
    44##
     5## v0.2 - 2012-10-09 - update for live-build
    56## v0.1 - 2010-05-23 - initial version
    67##
     
    2324
    2425## If /usr/bin/lh is not found, install live-helper package first!!
    25 if [ ! -x /usr/bin/lh ]; then
    26   echo "[WARN] live-helper not found!! I will install it first for you!!"
    27   apt-get install -y live-helper
     26if [ ! -x /usr/bin/lb ]; then
     27  echo "[WARN] live-build not found!! I will install it first for you!!"
     28  apt-get install -y live-build
    2829fi
    2930
    30 ## [MEMO] following parameter is for live-helper ...........
     31## [MEMO] following parameter is for live-build ...........
    3132###        -b|--binary-images iso|net|tar|usb-hdd
    3233###        --binary-filesystem  fat16|fat32|ext2
     
    4445###        --username   NAME
    4546
    46 lh clean --binary
     47lb clean --binary
    4748# [Note] option '--categories' is only avaible at live-helper 1.0.3-2
    48 lh config -b iso --binary-indices disabled -f minimal --cache enabled --cache-indices enabled -d lenny --hostname hadoop -m http://free.nchc.org.tw/debian --mirror-chroot http://free.nchc.org.tw/debian --mirror-chroot-security http://free.nchc.org.tw/debian-security --mirror-binary http://free.nchc.org.tw/debian --mirror-binary-security http://free.nchc.org.tw/debian-security --username hadoop --packages 'net-tools wireless-tools ssh sudo xserver-xorg-video-vesa xinit xfonts-base x11-xserver-utils xterm openbox iceweasel dhcp3-client' -k 686
     49lb config -b iso --binary-indices disabled -f minimal --cache enabled --cache-indices enabled -d squeeze --hostname hadoop -m http://free.nchc.org.tw/debian --mirror-chroot http://free.nchc.org.tw/debian --mirror-chroot-security http://free.nchc.org.tw/debian-security --mirror-binary http://free.nchc.org.tw/debian --mirror-binary-security http://free.nchc.org.tw/debian-security --username hadoop --packages 'net-tools wireless-tools ssh sudo dhcp3-client' -k 686
    4950
    5051cp chroot-hook/* config/chroot_local-hooks/
    5152
    52 lh build
     53lb build
    5354
    5455if [ -f binary.iso ]; then
Note: See TracChangeset for help on using the changeset viewer.