[systemd-bugs] [Bug 60398] New: systemd-197: udevadm hwdb --update needs additional switch for ${ROOT} support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 6 22:30:31 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60398

          Priority: medium
            Bug ID: 60398
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-197: udevadm hwdb --update needs additional
                    switch for ${ROOT} support
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: ssuominen at gentoo.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

A switch like --root or --installroot is required. The thing is that we call
`udevadm hwdb --update` at the end of udev installation, in the post install
phase in 2 places: udev and hwids package that contains all the iab.txt,
oui.txt, pci.ids, and so forth

The postinst phase must be called with ${ROOT} as the package manager is
supposed to support ${ROOT}. So the files should be picked up from ${ROOT} what
it uses to generate the hwdb.bin and the hwdb.bin should also end up in the
actual ${ROOT}

udevadm hwdb --update --root="${ROOT}"

And if not defined, ${ROOT} is just /

Currently this is breaking the packaging of udev for Gentoo, in fact, this is
the only real problem we are having.

Thanks for looking into it

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130207/088834af/attachment.html>


More information about the systemd-bugs mailing list