public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] How did package XYZ get into the liveCD?
@ 2008-09-14 11:29 Amit Dor-Shifer
  2008-09-14 13:42 ` Andrew Gaffney
  0 siblings, 1 reply; 7+ messages in thread
From: Amit Dor-Shifer @ 2008-09-14 11:29 UTC (permalink / raw
  To: gentoo-catalyst

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






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-15 17:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-14 11:29 [gentoo-catalyst] How did package XYZ get into the liveCD? Amit Dor-Shifer
2008-09-14 13:42 ` Andrew Gaffney
2008-09-14 16:47   ` Peter Stuge
2008-09-15  7:31   ` Amit Dor-Shifer
2008-09-15 14:59     ` Andrew Gaffney
2008-09-15 16:31       ` Amit Dor-Shifer
2008-09-15 17:03         ` Andrew Gaffney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox