diff options
| author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-07-13 07:02:27 (GMT) |
|---|---|---|
| committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-07-13 07:02:27 (GMT) |
| commit | b8fdd6f8f16c1bbfdf75f90e2710b2ac0dabae1b (patch) | |
| tree | 8435bbf1fef64071ac29f4846105cc731efb8d76 | |
| parent | 7b5eb265bbb2b783cbf7563b57db2f5a9b5cc3cf (diff) | |
Also put old 70-persistent-net.rules into initramfs
The previous commit added the new net.ifnames machinery to initramfs, to get
consistent names in initramfs and the real system. However, we also need to
copy the legacy 70-persistent-net.rules to avoid getting different names in
both places. Thanks Adam Conrad!
| -rwxr-xr-x | debian/extra/initramfs-tools/hooks/udev | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/extra/initramfs-tools/hooks/udev b/debian/extra/initramfs-tools/hooks/udev index 9704ef6..cfe5085 100755 --- a/debian/extra/initramfs-tools/hooks/udev +++ b/debian/extra/initramfs-tools/hooks/udev @@ -43,7 +43,7 @@ done mkdir -p $DESTDIR/lib/udev/rules.d/ for rules in 50-firmware.rules 50-udev-default.rules 60-persistent-storage.rules \ - 75-net-description.rules 80-net-setup-link.rules \ + 70-persistent-net.rules 75-net-description.rules 80-net-setup-link.rules \ 61-persistent-storage-android.rules 80-drivers.rules; do if [ -e /etc/udev/rules.d/$rules ]; then cp -p /etc/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/ |
