Include upstream fix to wait for network devices
- Aug 25, 2023
-
-
Walter Lozano authored
Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
Walter Lozano authored
configure_networking can now wait for a named net device, but the net device may be specified by hardware (MAC) address or not at all. * Factor out the hardware-address-to-device lookup into a function * Add a function to check whether any suitable device exists * Change the wait loop to use the appropriate check for device existence * Update the IP variable after the wait loop, so it follows the hardware-address-to-device lookup Closes: #911727 Origin: upstream, https://salsa.debian.org/kernel-team/initramfs-tools/-/commit/80eddcf6c11502ca925c3c9e78f58f9d7998fdc4 Signed-off-by:
Ben Hutchings <benh@debian.org> Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-