source: drbl-hadoop-live/test-live-helper.sh @ 147

Last change on this file since 147 was 147, checked in by jazz, 14 years ago
  • building experiemental live cd using live-helper
    • tested on Ubuntu 9.04
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#!/bin/bash
2
3## Author: Jazz Yao-Tsung Wang <jazzwang.tw@gmail.com>
4##
5## v0.1 - 2010-05-23 - initial version
6##
7## Reference:
8## [1] http://live.debian.net/manual/html/packages.html#package-sources
9## [2] /opt/drbl/sbin/create-drbl-live (from drbl - http://drbl.sf.net)
10## [3] man lh_config and lh_build
11
12###        -b|--binary-images iso|net|tar|usb-hdd
13###        --binary-filesystem fat16|fat32|ext2
14###        --binary-indices enabled|disabled
15###        --bootstrap-config FILE
16###        -f|--bootstrap-flavour minimal|standard
17###        --cache enabled|disabled
18###        --cache-indices enabled|disabled
19###        --categories CATEGORY|"CATEGORIES"
20###        -d|--distribution CODENAME
21###        --hostname NAME
22###        -m|--mirror-bootstrap URL
23###        --mirror-chroot URL
24###        --mirror-chroot-security URL
25###        --username NAME
26sudo lh_config -b usb-hdd --binary-indices disabled -f minimal --cache enabled --cache-indices enabled --categories 'main non-free' -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 --username hadoop --packages 'gdm openbox'
27cat > .xsession << XSESSION
28#!/bin/bash
29/usr/bin/openbox &
30exit
31XSESSION
32sudo mkdir -p config/chroot_local-includes/etc/skel
33sudo mv .xsession config/chroot_local-includes/etc/skel/
34sudo lh build
Note: See TracBrowser for help on using the repository browser.