1 |
Hi Brian & all, |
2 |
Now I have successfully made livecd-stage1, compiled some packages |
3 |
such as app-misc/livecd-tools. After that , I'm working on building gentoo |
4 |
livecd-stage2 for ppc64le. Now I have a problem and needs your help :-) |
5 |
|
6 |
In the file: catalyst/examples/livecd-stage2_template.spec , I see "The |
7 |
cdtar is essentially the bootloader for the CD. It also holds the |
8 |
main configuration |
9 |
for the bootloader". |
10 |
Also I see in the releng/ |
11 |
releases/weekly/specs/ppc/ppc64/installcd-stage2-minimal.spec , in the the |
12 |
livecd/cdtar is yaboot,but yaboot has not been used in ppc64le . *Now the |
13 |
bootloader of ppc64le iso is almost Grub*. I have a problem: |
14 |
When I decompressed |
15 |
the catalyst/livecd/cdtar/grub-memtest86+-cdtar.tar.bz2 , get the |
16 |
consequence: |
17 |
boot/ |
18 |
boot/grub/ |
19 |
boot/grub/stage2_eltorito |
20 |
boot/memtest86 |
21 |
The grub is the binary . So If I want to use the grub , how could I build |
22 |
from the grub source files and replace the grub here? What are the |
23 |
essential files of grub used here? |
24 |
Really Appreciate for your help ~ Big Big Big thanks ~ |
25 |
|
26 |
Best Regards , |
27 |
Kevin |
28 |
|
29 |
|
30 |
|
31 |
|
32 |
2015-11-01 15:41 GMT+08:00 Kevin Zhao <kevin.zhaoshuai@×××××.com>: |
33 |
|
34 |
> Hi Brian, |
35 |
> Big Thanks~ |
36 |
> I see the releng direcctory, find th at the spec of ppc64 just |
37 |
> support BE ,and the bootloader is yaboot. So I will use a new spec |
38 |
> reference to the ppc64 BE spec, modify the bootloader as grub ,arch type |
39 |
> and use the stage3 I have just compilied to build livecd. If I have more |
40 |
> progress I will put here .Thanks ~ |
41 |
> |
42 |
> 2015-11-01 3:55 GMT+08:00 Brian Dolbec <dolsen@g.o>: |
43 |
> |
44 |
>> On Fri, 30 Oct 2015 23:02:57 +0800 |
45 |
>> Kevin Zhao <kevin.zhaoshuai@×××××.com> wrote: |
46 |
>> |
47 |
>> > Hi Jorge, |
48 |
>> > Really thanks for your suggestion😁 |
49 |
>> > I see in the spec that the filesystem type is squashFS. And I |
50 |
>> > want to compress the Gentoo stage3 of ppc64le to the squashfs |
51 |
>> > filesystem ,so that I can control the image size. Do you have any |
52 |
>> > tips for me ? Thanks very much! |
53 |
>> > |
54 |
>> > 2015-10-28 20:05 GMT+08:00 Jorge Manuel B. S. Vicetto < |
55 |
>> > jmbsvicetto@g.o>: |
56 |
>> > |
57 |
>> > > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao |
58 |
>> > > <kevin.zhaoshuai@×××××.com> wrote: |
59 |
>> > > > Hi Mike && Hi Folks, |
60 |
>> > > |
61 |
>> > > Hi Kevin. |
62 |
>> > > |
63 |
>> > > > First I want to thanks for your help and advices , we have |
64 |
>> > > > finish |
65 |
>> > > make |
66 |
>> > > > gentoo stage3 and it will be tests by our community. |
67 |
>> > > > Now I am working for gentoo LiveCD using stage3 . After |
68 |
>> > > searching |
69 |
>> > > > gentoo website, I can not find a very clearly method to make |
70 |
>> > > > gentoo |
71 |
>> > > LiveCD . |
72 |
>> > > > So ,if conveniently , could you give me some advices or some |
73 |
>> > > websites |
74 |
>> > > > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 |
75 |
>> > > > etc..) Thanks very much ~ :-) |
76 |
>> > > |
77 |
>> > > You can find in the releng repo the specs we use to build all the |
78 |
>> > > stages and CDs for all the arches[1]. In particular you might want |
79 |
>> > > to use something like the install-cd specs for amd64[2][3] as |
80 |
>> > > examples. We also have some scripts in the repo we use for the |
81 |
>> > > automated builds in some arches[4]. |
82 |
>> > > Feel free to poke us through e-mail or pop into #gentoo-releng in |
83 |
>> > > the freenode network. |
84 |
>> > > |
85 |
>> > > [1] - https://gitweb.gentoo.org/proj/releng.git/ |
86 |
>> > > [2] - |
87 |
>> > > |
88 |
>> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec |
89 |
>> > > [3] - |
90 |
>> > > |
91 |
>> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec |
92 |
>> > > [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools |
93 |
>> > > |
94 |
>> > > Best regards, |
95 |
>> > > |
96 |
>> > > Jorge Manuel B. S. Vicetto |
97 |
>> > > Gentoo developer |
98 |
>> > > RelEng Lead |
99 |
>> > > |
100 |
>> > > |
101 |
>> |
102 |
>> Use catalyst-9999 which has the new compress/decompress handling code. |
103 |
>> then in your spec file: |
104 |
>> |
105 |
>> compress_mode = squashfs |
106 |
>> |
107 |
>> That's it |
108 |
>> |
109 |
>> -- |
110 |
>> Brian Dolbec <dolsen> |
111 |
>> |
112 |
>> |
113 |
>> |
114 |
> |