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




Reply via email to