Bug 124667

Summary: RFE: compile devlabel with dietlibc for use in initrd
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: devlabelAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-07 09:18:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for the utils to compile with dietlibc none

Description Harald Hoyer 2004-05-28 12:57:19 UTC
for a better initrd (with udev) it would be nice to also include devlabel.
with the attached patch this is possible to build with diet

%build
-gcc $RPM_OPT_FLAGS -o scsi_unique_id scsi_unique_id.c
-gcc $RPM_OPT_FLAGS -o partition_uuid -luuid partition_uuid.c
+diet gcc $RPM_OPT_FLAGS -o scsi_unique_id scsi_unique_id.c
+diet gcc $RPM_OPT_FLAGS -o partition_uuid partition_uuid.c -luuid

Comment 1 Harald Hoyer 2004-05-28 12:57:54 UTC
Created attachment 100658 [details]
patch for the utils to compile with dietlibc

Comment 2 Bill Nottingham 2004-05-28 16:18:46 UTC
Why not just enhance udev with libuuid support (and its own scsi
identifier)?

The guts of devlabel (the shell script bits) are pretty much
irrelevant with udev.

In fact, scsi_id in extras/ in udev seems to be more or less the same
thing as scsi_unique_id.