Bug 124667 - RFE: compile devlabel with dietlibc for use in initrd
Summary: RFE: compile devlabel with dietlibc for use in initrd
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: devlabel
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-28 12:57 UTC by Harald Hoyer
Modified: 2014-03-17 02:45 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-06-07 09:18:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch for the utils to compile with dietlibc (9.13 KB, patch)
2004-05-28 12:57 UTC, Harald Hoyer
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.