Hi Brian & all,
      Now I have successfully made livecd-stage1, compiled some packages
such as app-misc/livecd-tools. After that , I'm working on building gentoo
livecd-stage2 for ppc64le. Now I have a problem and needs your help :-)

      In the file: catalyst/examples/livecd-stage2_template.spec , I see "The
cdtar is essentially the bootloader for the CD.  It also holds the
main configuration
for the bootloader".
Also I see in the releng/
releases/weekly/specs/ppc/ppc64/installcd-stage2-minimal.spec , in the the
livecd/cdtar is yaboot,but yaboot  has not been used in ppc64le . *Now the
bootloader of ppc64le iso is almost Grub*. I have a  problem:
       When I decompressed
the catalyst/livecd/cdtar/grub-memtest86+-cdtar.tar.bz2 , get the
consequence:
          boot/
          boot/grub/
          boot/grub/stage2_eltorito
          boot/memtest86
The grub is the binary . So If I want to use the grub , how could I build
from the grub source files and replace the grub here? What are the
essential files of grub used here?
       Really Appreciate for your help ~ Big Big Big thanks ~

Best Regards ,
Kevin




2015-11-01 15:41 GMT+08:00 Kevin Zhao <kevin.zhaoshuai@gmail.com>:

> Hi Brian,
>      Big Thanks~
>      I see the releng direcctory, find th at the spec of ppc64 just
> support BE ,and the bootloader is yaboot.  So I will use a new spec
> reference to the ppc64 BE spec, modify the bootloader as grub ,arch type
> and use the stage3 I have just compilied to build livecd. If I have more
> progress I will put here .Thanks ~
>
> 2015-11-01 3:55 GMT+08:00 Brian Dolbec <dolsen@gentoo.org>:
>
>> On Fri, 30 Oct 2015 23:02:57 +0800
>> Kevin Zhao <kevin.zhaoshuai@gmail.com> wrote:
>>
>> > Hi Jorge,
>> >      Really thanks for your suggestion😁
>> >      I see in the spec that the filesystem type is squashFS. And I
>> > want to compress the Gentoo  stage3 of ppc64le  to the squashfs
>> > filesystem ,so that I can control the image size. Do you have any
>> > tips for me ? Thanks very much!
>> >
>> > 2015-10-28 20:05 GMT+08:00 Jorge Manuel B. S. Vicetto <
>> > jmbsvicetto@gentoo.org>:
>> >
>> > > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao
>> > > <kevin.zhaoshuai@gmail.com> wrote:
>> > > > Hi  Mike && Hi Folks,
>> > >
>> > > Hi Kevin.
>> > >
>> > > >       First I want to thanks for your help and advices , we have
>> > > > finish
>> > > make
>> > > > gentoo stage3 and it will be tests by our community.
>> > > >       Now I  am working for  gentoo LiveCD using stage3 .   After
>> > > searching
>> > > > gentoo website, I can not find a very clearly method to make
>> > > > gentoo
>> > > LiveCD .
>> > > >       So ,if conveniently , could you give me some advices or some
>> > > websites
>> > > > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64
>> > > > etc..) Thanks very much ~   :-)
>> > >
>> > > You can find in the releng repo the specs we use to build all the
>> > > stages and CDs for all the arches[1]. In particular you might want
>> > > to use something like the install-cd specs for amd64[2][3] as
>> > > examples. We also have some scripts in the repo we use for the
>> > > automated builds in some arches[4].
>> > > Feel free to poke us through e-mail or pop into #gentoo-releng in
>> > > the freenode network.
>> > >
>> > >  [1] - https://gitweb.gentoo.org/proj/releng.git/
>> > >  [2] -
>> > >
>> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec
>> > >  [3] -
>> > >
>> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec
>> > >  [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools
>> > >
>> > > Best regards,
>> > >
>> > > Jorge Manuel B. S. Vicetto
>> > > Gentoo developer
>> > > RelEng Lead
>> > >
>> > >
>>
>> Use catalyst-9999 which has the new compress/decompress handling code.
>> then in your spec file:
>>
>> compress_mode = squashfs
>>
>> That's it
>>
>> --
>> Brian Dolbec <dolsen>
>>
>>
>>
>