Summary: | sys-apps/nvme-cli-1.9 installs systemd units and udev rules to wrong dir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Georgy Yakovlev <gyakovlev> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=704934 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Install systemd and udev files in the right place |
Description
Georgy Yakovlev
![]() ![]() The same think happens on systems running systemd. The udev rules are installed in the wrong place as well. Created attachment 602146 [details, diff]
Install systemd and udev files in the right place
systemd_get_systemunitdir returns /lib/systemd/system and makefile installs to /lib/systemd/system with the patch units will end up in /lib/systemd/system/system ├── lib │ ├── systemd │ │ └── system │ │ └── system │ │ ├── nvmefc-boot-connections.service │ │ ├── nvmf-connect@.service │ │ └── nvmf-connect.target │ └── udev │ └── rules.d │ └── 70-nvmf-autoconnect.rules need to either patch makefile or local unitdir="$(systemd_get_systemunitdir)" export SYSTEMDDIR="${unitdir%system/}" The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2 commit f52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-12-31 22:53:30 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-12-31 23:03:30 +0000 sys-apps/nvme-cli: install systemd and udev files in the right place Closes: https://bugs.gentoo.org/704406 Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/nvme-cli/{nvme-cli-1.9.ebuild => nvme-cli-1.9-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Thanks guys! The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ee38095605592f04aee5c351057afa0bbd8e35 commit f6ee38095605592f04aee5c351057afa0bbd8e35 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-12-31 23:11:18 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-12-31 23:11:18 +0000 sys-apps/nvme-cli: trim "/system" from SYSTEMDDIR Bug: https://bugs.gentoo.org/704406 Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/nvme-cli/{nvme-cli-1.9-r1.ebuild => nvme-cli-1.9-r2.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (In reply to Georgy Yakovlev from comment #3) Good catch. quickest fix eva! =) thanks. good catch with udev as well, totally missed it. |