aboutsummaryrefslogtreecommitdiff
blob: 7d09aed3b3c96e526721e7061c1ab2d15166acc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Essentially:
# 1- set up the environment as described in the LiveCD-HOWTO
# 2- :
# openrc is so haWt we need the latest and gratest...but since we don't want to pull git and all deps into the nfsroot, here is a "hack":
cd /var/git/
git clone git://git.overlays.gentoo.org/proj/openrc.git
cd openrc/
make dist
mv openrc-0.2.5.tar.bz2 /usr/portage/distfiles/
ebuild /usr/portage/sys-apps/openrc/openrc-0.2.5.ebuild digest

# 3- :
cd /var/git/clustering-livecd/catalyst/nfsroot/2008.0/specs/amd64/
for I in stage1.spec stage2.spec stage3.spec nfsroot_stage4.spec
do
	catalyst -f $I
done

# Your NFSroot is now in: /var/tmp/catalyst/tmp/default/stage4-amd64-nfsroot-20080629/
# you can copy it over directly to /tftproot/nfsroot/$(uname -m)/ and start using it 
# if you have such a setup ;)

# of course...there is also the stage4 in:
# /var/tmp/catalyst/builds/default/stage4-amd64-nfsroot-20080629.tar.bz2

# For the liveCD/DVD creation we'll bind mount the folder into the CD/DVD's overlay so it's automatically included in the ISO image:
mount -o bind /var/tmp/catalyst/tmp/default/stage4-amd64-nfsroot-20080629/ /var/git/clustering-livecd/catalyst/livecd/2008.0/overlay/tftproot/nfsroot/x86_64/