Skip to content

udev: Import 60-net.rules from initscripts#51

Open
jamacku wants to merge 2 commits intofedora-sysv:mainfrom
jamacku:add-udev-rules
Open

udev: Import 60-net.rules from initscripts#51
jamacku wants to merge 2 commits intofedora-sysv:mainfrom
jamacku:add-udev-rules

Conversation

@jamacku
Copy link
Copy Markdown
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
Copy Markdown

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.

@jamacku jamacku force-pushed the add-udev-rules branch 4 times, most recently from 2455c09 to 50583c5 Compare March 23, 2022 12:17
@jamacku jamacku requested a review from msekletar July 12, 2022 12:58
Comment thread rust-ifcfg-devname.spec Outdated
%install
%cargo_install

install -m 0755 -d $(DESTDIR)$(libdir)/udev
Copy link
Copy Markdown
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.

Comment thread usr/lib/udev/rules.d/60-net.rules Outdated
@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