From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B6B1D1384B4 for ; Tue, 3 Nov 2015 10:11:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0432BE0851; Tue, 3 Nov 2015 10:11:21 +0000 (UTC) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D88FBE0851; Tue, 3 Nov 2015 10:11:19 +0000 (UTC) Received: by lffz202 with SMTP id z202so11910243lff.3; Tue, 03 Nov 2015 02:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LDDPRXkuolxJvSJTJz/etAQC8FRA0hT/cS3n3MW4udY=; b=LTFsxs9vN6K6PZMcDH/41TuZexWE4HE7WjMgNMUsj6Gw6ZAuB8p56kFub4bCTZC97A lK71PPrfuUv+VPtm2UcZMLQzrkrOfSoaXKj/lfj6DP3B01Gi6C1M2BBuMa+IMel3V3Aj yId+3P1ZmigZhznUIhS8ZpTLDd8mJdfsvSdQ+ApnwYXGfdQ6tshHGKcBH5yUT+ZP44iL 71aYH5z3gc5X5wMao4/ikxS/rChhhk74jAYU9R9pVpl+OLs6Yq7xamNY5nH4VHaamlhm 77sQ27F1v5Qi80WyLu3+BqgRZaivzy7wTVAqS6bmiaD7GXLeLMcRoKWHgWTPWUyMHSHO MO0Q== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.112.13.136 with SMTP id h8mr12565161lbc.23.1446545478338; Tue, 03 Nov 2015 02:11:18 -0800 (PST) Received: by 10.25.90.142 with HTTP; Tue, 3 Nov 2015 02:11:18 -0800 (PST) In-Reply-To: References: <20151031125551.428492da.dolsen@gentoo.org> Date: Tue, 3 Nov 2015 18:11:18 +0800 Message-ID: Subject: Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le From: Kevin Zhao To: dolsen@gentoo.org, gentoo-catalyst@lists.gentoo.org, gentoo-releng@lists.gentoo.org Content-Type: multipart/alternative; boundary=001a11c3c4446351e20523a01ddd X-Archives-Salt: f80c089e-094f-4aca-a310-b0698317400f X-Archives-Hash: 90b248e39b6acc90543735a22f0367c3 --001a11c3c4446351e20523a01ddd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 "T= he 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 : > 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 : > >> On Fri, 30 Oct 2015 23:02:57 +0800 >> Kevin Zhao wrote: >> >> > Hi Jorge, >> > Really thanks for your suggestion=F0=9F=98=81 >> > 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 >> > > 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/amd= 64/installcd-stage1.spec >> > > [3] - >> > > >> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd= 64/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 =3D squashfs >> >> That's it >> >> -- >> Brian Dolbec >> >> >> > --001a11c3c4446351e20523a01ddd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Brian & all,
=C2=A0 =C2=A0 =C2=A0 Now I have successfully made livecd-stage1, com= piled some packages such as=C2=A0app-misc/livecd-tools. After that , I'm working on building ge= ntoo livecd-stage2 for ppc64le. Now I have a problem and needs your help :-= )

=C2=A0 =C2=A0 =C2=A0 In the file: = catalyst/examples/livecd-stage2_template.spec=C2=A0, I see "The cdtar is essentially the bootloader = for the CD.=C2=A0 It also holds the main configuration for the bootloader".=C2=A0
Also I see in the releng/releases/weekly/specs/ppc/ppc64/installcd-stage2-minimal.spec=C2= =A0, in the the livecd/cdtar is yaboot,but yaboot =C2=A0has not been used i= n ppc64le .=C2=A0Now the bootloader of ppc64le iso is almost Grub. I= have a =C2=A0problem:
=C2=A0 =C2=A0 =C2= =A0 =C2=A0When I decompressed=C2=A0the=C2=A0catalys= t/livecd/cdtar/grub-memtest86+-cdtar.tar.bz2=C2=A0, get the consequence:
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 boot/
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 boo= t/grub/
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 boot/grub/stage2_eltor= ito
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 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?
=C2=A0 =C2=A0 =C2=A0 =C2=A0Really Appreciate for your help ~ Big Big= Big thanks ~=C2=A0

Best R= egards ,
Kevin




2015-11-01 15:41 GMT+08:00 Kevin Zhao <<= a href=3D"mailto:kevin.zhaoshuai@gmail.com" target=3D"_blank">kevin.zhaoshu= ai@gmail.com>:
Hi Brian,
=C2=A0 =C2=A0 =C2=A0Big Thanks~
=C2=A0 =C2=A0 = =C2=A0I see the releng direcctory, find th at the spec of ppc64 just suppor= t BE ,and the bootloader is yaboot.=C2=A0 So I will use a new spec referenc= e to the ppc64 BE spec, modify the bootloader as grub ,arch type and use th= e stage3 I have just compilied to build livecd. If I have more progress I w= ill 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,
>=C2=A0 =C2=A0 =C2=A0 Really thanks for your suggestion=F0=9F=98=81
>=C2=A0 =C2=A0 =C2=A0 I see in the spec that the filesystem type is squa= shFS. And I
> want to compress the Gentoo=C2=A0 stage3 of ppc64le=C2=A0 to the squas= hfs
> 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 <
> jmbsvicett= o@gentoo.org>:
>
> > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao
> > <kevin.zhaoshuai@gmail.com> wrote:
> > > Hi=C2=A0 Mike && Hi Folks,
> >
> > Hi Kevin.
> >
> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0First I want to thanks for your he= lp and advices , we have
> > > finish
> > make
> > > gentoo stage3 and it will be tests by our community.
> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0Now I=C2=A0 am working for=C2=A0 g= entoo LiveCD using stage3 .=C2=A0 =C2=A0After
> > searching
> > > gentoo website, I can not find a very clearly method to make=
> > > gentoo
> > LiveCD .
> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0So ,if conveniently , could you gi= ve me some advices or some
> > websites
> > > which cover the methods to LiveCD of other arch(e.g : x86 ,a= md64
> > > etc..) Thanks very much ~=C2=A0 =C2=A0:-)
> >
> > 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 wan= t
> > 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.
> >
> >=C2=A0 [1] - https://gitweb.gentoo.org/proj/relen= g.git/
> >=C2=A0 [2] -
> > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/= amd64/installcd-stage1.spec
> >=C2=A0 [3] -
> > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekl= y/specs/amd64/installcd-stage2-minimal.spec
> >=C2=A0 [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 handlin= g code.
then in your spec file:

compress_mode =3D squashfs

That's it

--
Brian Dolbec <dolsen>




--001a11c3c4446351e20523a01ddd--