Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jamacku
Copy link
Member

@jamacku jamacku commented Mar 23, 2022

Move 60-net.rules from initscripts - @initscripts/usr/lib/udev/rules.d/60-net.rules

Related to fedora-sysv/initscripts#379

@jamacku jamacku added the Fedora label Mar 23, 2022
@jamacku jamacku self-assigned this Mar 23, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 23, 2022

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (4b389c4) 86.95% compared to head (c463c2b) 86.95%.

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           

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -72,6 +74,8 @@ use the "default" feature of the "%{crate}" crate.
%install
%cargo_install

install -m 0755 -d $(DESTDIR)$(libdir)/udev
Copy link
Contributor

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.

@jamacku jamacku force-pushed the add-udev-rules branch 2 times, most recently from 731c42f to ad6017f Compare October 6, 2022 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants