[Buildroot] [Bug 11811] New: lsblk (util-linux) should depend on libudev if available

bugzilla at busybox.net bugzilla at busybox.net
Tue Apr 30 03:02:40 UTC 2019


            Bug ID: 11811
           Summary: lsblk (util-linux) should depend on libudev if
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: pmorici at dev295.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Several of the output columns of lsblk such as SERIAL and WWN are incorrectly
reported as empty strings. ie: 'lsblk -do SERIAL'  

The cause is that lsblk uses libudev to obtain this information but the
util-linux package doesn't list the udev package as a dependency if it is
selected. If util-linux gets built before udev then many parts of lsblk return
empty strings for various fields.

Adding the following to packages/util-linux/util-linux.mk fixes the problem.

 ifeq ($(BR2_PACKAGE_UDEV),y)

You are receiving this mail because:
You are on the CC list for the bug.

More information about the buildroot mailing list