summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-06-12 14:41:10 +0000
committerJybz <j.biernacki@free.fr>2024-04-20 22:55:56 +0200
commit69461af9b8bd2fc335142856d97cc2669fb55098 (patch)
tree100b322eecc62ecc449e436170736cf63dd7869a
parentef1eda86e889cd654ee943bda72232d354aa6ef5 (diff)
downloadmageia-dracut-conf-69461af9b8bd2fc335142856d97cc2669fb55098.tar
mageia-dracut-conf-69461af9b8bd2fc335142856d97cc2669fb55098.tar.gz
mageia-dracut-conf-69461af9b8bd2fc335142856d97cc2669fb55098.tar.bz2
mageia-dracut-conf-69461af9b8bd2fc335142856d97cc2669fb55098.tar.xz
mageia-dracut-conf-69461af9b8bd2fc335142856d97cc2669fb55098.zip
mgainstaller: fix network interface renaming (mga#17651)
Since systemd 220 interface renaming changed, and this file is needed for it to trigger in stage1 as we dont run full systemd/udev there. Fixes: https://bugs.mageia.org/show_bug.cgi?id=17651 Signed-of-by: Thomas Backlund <tmb@mageia.org>
-rwxr-xr-xmodules.d/90mgainstaller/module-setup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules.d/90mgainstaller/module-setup.sh b/modules.d/90mgainstaller/module-setup.sh
index 9dcced2..e40f71b 100755
--- a/modules.d/90mgainstaller/module-setup.sh
+++ b/modules.d/90mgainstaller/module-setup.sh
@@ -48,6 +48,9 @@ install() {
# below has /usr added...
inst /usr/lib/module-init-tools/ldetect-lst-modules.alias /usr/lib/module-init-tools/ldetect-lst-modules.alias
+ # needed for udev network interface renaming
+ inst /lib/systemd/network/99-default.link /lib/systemd/network/99-default.link
+
# To allow for debug build of stage1
if [ -n "$DRAKX_STAGE1_BINARY" -a -x "$DRAKX_STAGE1_BINARY" ]; then
inst "$DRAKX_STAGE1_BINARY" /usr/sbin/stage1