Gentoo Archives: gentoo-catalyst

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-catalyst@l.g.o
Cc: gentoo-releng@l.g.o
Subject: Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le
Date: Wed, 04 Nov 2015 00:57:52
Message-Id: alpine.LNX.2.00.1511040048210.26760@woodpecker.gentoo.org
In Reply to: Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le by Kevin Zhao
1 On Tue, 3 Nov 2015, Kevin Zhao wrote:
2
3 > Hi Brian & all,
4 > Now I have successfully made livecd-stage1, compiled some packages
5 > such as app-misc/livecd-tools. After that , I'm working on building gentoo
6 > livecd-stage2 for ppc64le. Now I have a problem and needs your help :-)
7 >
8 > In the file: catalyst/examples/livecd-stage2_template.spec , I see "The
9 > cdtar is essentially the bootloader for the CD. It also holds the
10 > main configuration
11 > for the bootloader".
12
13 We've been talking about how to improve this as we're basically using a
14 binary in the catalyst package to build the CD instead of building it from
15 source.
16
17 > Also I see in the releng/
18 > releases/weekly/specs/ppc/ppc64/installcd-stage2-minimal.spec , in the the
19 > livecd/cdtar is yaboot,but yaboot has not been used in ppc64le . *Now the
20 > bootloader of ppc64le iso is almost Grub*. I have a problem:
21 > When I decompressed
22 > the catalyst/livecd/cdtar/grub-memtest86+-cdtar.tar.bz2 , get the
23 > consequence:
24 > boot/
25 > boot/grub/
26 > boot/grub/stage2_eltorito
27 > boot/memtest86
28 > The grub is the binary . So If I want to use the grub , how could I build
29 > from the grub source files and replace the grub here? What are the
30 > essential files of grub used here?
31 > Really Appreciate for your help ~ Big Big Big thanks ~
32
33 I can share with you some scripts I've used to build the cdtar for
34 myself[1].
35 IIRC, I've used it to update the cdtar in catalyst sometime ago.
36 These have quite a few hardcoded paths, make a few assumptions and are
37 meant for building the cdtar for x86 / amd64, but they might be able to
38 give you some ideas.
39
40 [1] - http://www.jmbsvicetto.name/build-cdtar.tar.xz
41
42 > Best Regards ,
43 > Kevin
44
45 Regards,
46 Jorge