Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371506 Details for
Bug 503140
>=sys-fs/udev-210: If user has empty 80-net-name-slot.rules, do automigration
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible patch for automigration
migration.patch (text/plain), 1.15 KB, created by
Samuli Suominen (RETIRED)
on 2014-03-01 17:40:06 UTC
(
hide
)
Description:
Possible patch for automigration
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2014-03-01 17:40:06 UTC
Size:
1.15 KB
patch
obsolete
>--- /tmp/udev-9999.ebuild 2014-03-01 19:02:08.614284766 +0200 >+++ udev-9999.ebuild 2014-03-01 19:33:34.645133614 +0200 >@@ -471,6 +471,21 @@ > elog "http://wiki.gentoo.org/wiki/Udev" > elog "http://wiki.gentoo.org/wiki/Udev/upgrade" > >+ # If user has disabled 80-net-name-slot.rules using a empty file or a symlink to /dev/null, >+ # do the same for 80-net-setup-link.rules to keep the old behavior >+ local net_move=no >+ local net_rules_path="${ROOT}"/etc/udev/rules.d >+ local net_name_slot="${net_rules_path}"/80-net-name-slot.rules >+ local net_setup_link="${net_rules_path}"/80-net-setup-link.rules >+ [[ -e ${net_setup_link} ]] && net_move=no >+ [[ -f ${net_name_slot} && $(grep -v ^# ${net_name_slot} | wc -l) == 0 ]] && net_move=yes >+ [[ -L ${net_name_slot} && $(readlink ${net_name_slot}) == /dev/null ]] && net_move=yes >+ if [[ ${net_move} == yes ]]; then >+ ebegin "Because empty ${net_name_slot} was detected, symlinking ${net_setup_link} to /dev/null" >+ ln -nfs /dev/null "${net_setup_link}" >+ eend $? >+ fi >+ > # Update hwdb database in case the format is changed by udev version. > if has_version 'sys-apps/hwids[udev]'; then > udevadm hwdb --update --root="${ROOT%/}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503140
: 371506 |
371522