Re: blkid in initrd

KP Kirchdoerfer via leaf-devel <[email protected]> Sat, 11 Jul 2020 21:30:12 +0200
Newsgroups gmane.linux.leaf.devel
Message-ID <3697fb1f3f1bcbc56512b6c1499e43f18dd98211.camel@users.sourceforge.net>
Hi Erich;

On Mo, 2020-07-06 at 13:31 +0200, Erich Titl wrote:
> Bad Karma to respond to ones own message....
> 
> Am 06.07.2020 um 13:15 schrieb Erich Titl:
> > Hi
> > 
> > in root.linuxrc we are using blkid to identify devices. Now I could
> > not
> > find a blkid in buildtool.cfg for the initrd package. I was
> > wondering
> > where and when it disappeared.
> 
> I found that we have a blkid in busybox. Do we need another one in
> hdsupp?

Seems we don't:

#grep -R blkid repo/*/*
repo/e2fsprogs/buildtool.mk:    --disable-libblkid \
repo/hdsupp/buildtool.cfg:      fsck.ext3, fsck.msdos, fsck.vfat,
losetup, blkid, findfs
repo/hdsupp/buildtool.cfg:        Source          =
lib/libblkid.so.1.1.0
repo/hdsupp/buildtool.cfg:        Filename        =
lib/libblkid.so.1.1.0
repo/hdsupp/buildtool.cfg:        Filename        = lib/libblkid.so.1
repo/hdsupp/buildtool.cfg:        Target          =
lib/libblkid.so.1.1.0
repo/hdsupp/buildtool.cfg:        Source          = sbin/blkid
repo/hdsupp/buildtool.cfg:        Filename        = sbin/blkid
repo/initrd/root.linuxrc:# If blkid does not return true then lets just
drop the device.
repo/initrd/root.linuxrc:# Sometimes blkid returns true even if the
device cannot be identified
repo/initrd/root.linuxrc:               RESULT=$(blkid $dev)
repo/initrd/root.linuxrc:# we use the result from the blkid if it was
successful to extract
repo/nfs-utils/buildtool.mk:#   Disable uuid to avoid the need for
libblkid

regards kp

> cheers
> 
> ET
> 
> 
> _______________________________________________
> leaf-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-devel