Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-catalyst
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-catalyst@g.o
From: Amit Dor-Shifer <amitds@...>
Subject: How did package XYZ get into the liveCD?
Date: Sun, 14 Sep 2008 14:29:57 +0300
Hi all.
After finishing stage2, looking at the image file, I see that it 
includes /sbin/sfdisk:

disk_replace ~ # mount|grep image.squashfs
/var/tmp/catalyst/builds/replace_disk/livecd-stage2-i686-101/image.squashfs 
on /mnt/cdrom type squashfs (ro,loop=/dev/loop0)
disk_replace ~ # ls -la /mnt/cdrom/sbin/sfdisk
-rwxr-xr-x 1 root root 51684 Jun 15 16:28 /mnt/cdrom/sbin/sfdisk


which AFAIK belongs to util-linux (so my root FS says).

disk_replace ~ # equery b /sbin/sfdisk
[ Searching for file(s) /sbin/sfdisk in *... ]
sys-apps/util-linux-2.13.1.1 (/sbin/sfdisk)

I didn't specify util-linux in livecd/packages, nor did I see it merged 
in stage1's output. In fact, the binary that resides in my sqashfs image 
is the same one from the initial stage3 I downloaded from gentoo:

disk_replace bla # tar xvjf 
/var/tmp/catalyst/builds/stage3-x86-2008.0.tar.bz2 ./sbin/sfdisk
./sbin/sfdisk
disk_replace bla # ls
sbin
disk_replace bla # cd sbin/
disk_replace sbin # md5sum sfdisk
68f84ca6f42380cb8594051dc7fd6e13  sfdisk
disk_replace sbin # md5sum /mnt/cdrom/sbin/sfdisk
68f84ca6f42380cb8594051dc7fd6e13  /mnt/cdrom/sbin/sfdisk

So, I'm confused. Which parts of the liveCD get built and which are just 
copied from the initial stage3 tarball?

Thanks,
Amit





Replies:
Re: How did package XYZ get into the liveCD?
-- Andrew Gaffney
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
stage4 glibc ebuild stomps my locale.gen
Next by thread:
Re: How did package XYZ get into the liveCD?
Previous by date:
Re: stage4 glibc ebuild stomps my locale.gen
Next by date:
Re: How did package XYZ get into the liveCD?


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.