Opened 2 years ago
Closed 2 years ago
#5112 closed enhancement (fixed)
eudev: add "udev_dir" in udev.pc
Reported by: | Xi Ruoyao | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 11.3 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
Downstream packages (for example upower) use pkg-config --variable=udev_dir udev
to get the directory for udev rules. Without it, udev rules are installed into wrong location.
Upstream has added it as https://github.com/eudev-project/eudev/pull/225. It can be simplified to a sed:
sed -i '/udevdir/a udev_dir=${udevdir}' src/udev/udev.pc.in
Note:
See TracTickets
for help on using tickets.
Fixed at commit b17680d8ea3c91a0107a52a182ab5465749c0f5b