I pushed the proposed fix for initramfs-tools to https://code.launchpad.net/~bdrung/ubuntu/+source/initramfs- tools/+git/initramfs-tools/+ref/ubuntu/2091904
Besides adding autopkgtest, the relevant code change is in https://git.launchpad.net/~bdrung/ubuntu/+source/initramfs- tools/commit/?id=0d384c77a8f9ba4e63a0746b54f03cb754339c1f: ``` diff --git a/scripts/functions b/scripts/functions index 1a0880db..96a5e0d9 100644 --- a/scripts/functions +++ b/scripts/functions @@ -290,10 +290,34 @@ _update_ip_param() fi } +_set_bootif_and_ip_param_from_ibft() +{ + local iface mac + for iface in /sys/firmware/ibft/ethernet*; do + echo "iface: $iface" + [ -e "$iface/mac" ] || continue + read -r mac < "${iface}"/mac + [ -n "$mac" ] || continue + echo "mac: $mac" + BOOTIF="$mac" + case "$(cat "$iface/ip-addr")" in + *:*) + # IPv6 address + IP=off + IP6=on + ;; + esac + done +} + configure_networking() { local netdev_desc + if [ -z "${DEVICE-}${DEVICE6-}${BOOTIF-}" ] && [ -e /sys/firmware/ibft ]; then + _set_bootif_and_ip_param_from_ibft + fi + # The order of precedence here is: # 1. Device specified by ip= kernel parameter # 2. Device matching MAC specified by BOOTIF= kernel parameter ``` ** Changed in: initramfs-tools (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2091904 Title: IPv6 iBFT boot runs into a timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2091904/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
