-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udev: Import 60-net.rules from initscripts #51
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #51 +/- ##
=======================================
Coverage 86.95% 86.95%
=======================================
Files 5 5
Lines 184 184
=======================================
Hits 160 160
Misses 24 24 ☔ View full report in Codecov by Sentry. |
2455c09
to
50583c5
Compare
rust-ifcfg-devname.spec
Outdated
@@ -72,6 +74,8 @@ use the "default" feature of the "%{crate}" crate. | |||
%install | |||
%cargo_install | |||
|
|||
install -m 0755 -d $(DESTDIR)$(libdir)/udev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not enough just to create the destination directory. There two problems, first, we also need to install actual ifcfg-devname
after creating this directory. Second, ifcfg-devname
is now installed into /bin
which is default for binary crates. Probably the easiest solution will be adding Makefile
that would have install
target that installs the binary into correct location.
731c42f
to
ad6017f
Compare
Move 60-net.rules from initscripts - https://github.com/fedora-sysv/initscripts/blob/c28529c5dc64d036fe6b9ea0bf3d78f049b97445/usr/lib/udev/rules.d/60-net.rules Related to fedora-sysv/initscripts#379
Co-authored-by: Michal Sekletar <[email protected]>
ad6017f
to
c463c2b
Compare
Move 60-net.rules from initscripts - @initscripts/usr/lib/udev/rules.d/60-net.rules
Related to fedora-sysv/initscripts#379