From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=5.0 tests=DATE_IN_PAST_12_24, DMARC_REJECT,INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from bender.physast.uga.edu ([128.192.19.61]) by cvs.gentoo.org with esmtp (Exim 3.22 #1) id 14MZdY-0004AM-00 for gentoo-dev@gentoo.org; Sat, 27 Jan 2001 10:59:45 -0700 Received: (from andy@localhost) by bender.physast.uga.edu (8.9.1/8.9.1) id NAA46136 for gentoo-dev@gentoo.org; Sat, 27 Jan 2001 13:00:36 -0500 From: Andreas Schweitzer To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] sys-build Message-ID: <20010127130035.A19292@bender.physast.uga.edu> References: <3A72E971.21CE995B@gottinger.de> <20010127100337.C15584@cvs.gentoo.org> <3A730059.6C5E0FBC@gottinger.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <3A730059.6C5E0FBC@gottinger.de>; from Achim Gottinger on Sat, Jan 27, 2001 at 06:07:37PM +0100 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org X-Reply-To: Andreas Schweitzer List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat Jan 27 11:00:02 2001 X-Original-Date: Sat, 27 Jan 2001 13:00:36 -0500 X-Archives-Salt: 06621a6e-313c-4e3b-b7b4-0204a695beb3 X-Archives-Hash: 6a447de5589155ed363627f8c70d131d On Sat, Jan 27, 2001 at 06:07:37PM +0100, Achim Gottinger wrote: > drobbins@gentoo.org wrote: > > > On Sat, Jan 27, 2001 at 04:29:53PM +0100, Achim Gottinger wrote: > > > Hi Guys, > > > > > > Today I build a working sys-build package that includes all the packages > > > in sys-build, baselayout and portage. Sounds very interesting. Where can I find it to try it out ? > > > This means we now have an environment to which we can chroot and build > > > everithing else within. (I tested all sys-packages with success, so the > > > rest should work too). > > > I used exactly the same dir-layout as in the corresponding sys-* > > > packages, so nothink statically linked remains > > > after the corresponding packages are merged over. > > > It is bigger(130MB, 28MB bzipped) than the 50MB I expectend it to be, > > > maybe it can be reduced to around 100MB. :-/. > > > What can we do now? > > > > > > 1. This build sytsem can be placed on a bootable cd together with the > > > sources and the ebuild-tree. We can then > > > unpack the build.tbz2 instead of the sys.tbz2 to our target partition, > > > chroot there and build everything. > > > > OK, I'm very confused, so please explain how this works. Also, what me too :-) > > prevented us from just extracting sys.tbz2 and chrooting to /mnt/gentoo > > and building everything? > > Ok, you can use sys.tbz2 too for that but build.tbz2 contains only the > minimum required stuff, we can even > place gcc and binutils in separate TARGET dependent packages, so it should be > possible to make one cd that > gives you the ability to build for all our intel targets. But /mnt/gentoo will contain the compiler etc. ? And it will be overwritten ? Or at least some of the binaries in /mnt/gentoo ? > > And I assume that sys-build has nothing extra. For example, no star, no > > iptables, etc? OK, I'm looking at /usr/portage/sys-build as I should > > have done in the first place. Beautiful :) But please explain how the > > build process is supposed to work (maybe by typing in example command-line > > build install). > > Ok imagine you have a list of required packages that is sorted in order of > dependencies > and a filestructure on the cd that corresponds to that under /usr/portage > > --------------------------------------- > Mkdir /mnt/gentoo/usr/portage > mount /dev/cdrom /mnt/gentoo/usr/portage > cp package-list /mnt/gentoo/root > vi /mnt/gentoo/etc/make.conf > chroot /mnt/gentoo > source /etc/profile > cd /usr/portage > for i in 'cat /root/package-list'' > do > ebuild $i merge > done > --------------------------------------- A bit clearer. But again, this requires binaries in /mnt/gentoo that you put there from unpacking build.tbz2 - right ? And there are no sources in build.tbz2 ? Those should also be on the CDROM ? Alternatively, include wget and rsync, and the sources can be grabbed from the net (if somebody wants to get them from there). Still a newbie to gentoo - but it looks promising ! Cheers Andreas -- Department of Physics & Astronomy and Center for Simulational Physics University of Georgia Phone ++1 (706) 542 5043 Athens, GA 30602-2451 Fax ++1 (706) 542 2492 USA http://dilbert.physast.uga.edu/~andy/