diff -Nru initramfs-tools-0.122ubuntu8.1/debian/changelog initramfs-tools-0.122ubuntu8.2/debian/changelog --- initramfs-tools-0.122ubuntu8.1/debian/changelog 2016-06-06 18:32:03.000000000 +0000 +++ initramfs-tools-0.122ubuntu8.2/debian/changelog 2016-09-23 22:01:48.000000000 +0000 @@ -1,3 +1,15 @@ +initramfs-tools (0.122ubuntu8.2) xenial; urgency=medium + + [ Mathieu Trudel-Lapierre ] + * scripts/functions: update configure_networking to use dhclient. + (LP: #1621507) + + [ LaMont Jones ] + * Depend/Breaks isc-dhcp-client as needed to make sure that it has + initramfs support + + -- LaMont Jones Fri, 23 Sep 2016 16:01:48 -0600 + initramfs-tools (0.122ubuntu8.1) xenial; urgency=medium * hook-functions: include ehci-msm in auto_add_modules_list diff -Nru initramfs-tools-0.122ubuntu8.1/debian/control initramfs-tools-0.122ubuntu8.2/debian/control --- initramfs-tools-0.122ubuntu8.1/debian/control 2016-02-21 21:22:01.000000000 +0000 +++ initramfs-tools-0.122ubuntu8.2/debian/control 2016-09-23 22:00:43.000000000 +0000 @@ -14,11 +14,11 @@ Package: initramfs-tools Architecture: all Multi-Arch: foreign -Depends: initramfs-tools-core (= ${binary:Version}), linux-base, ${misc:Depends} +Depends: initramfs-tools-core (= ${binary:Version}), linux-base, ${misc:Depends}, isc-dhcp-client (>= 4.3.3-5ubuntu12.3) Suggests: bash-completion Provides: linux-initramfs-tool Conflicts: linux-initramfs-tool, usplash (<< 0.5.50) -Breaks: cryptsetup (<< 2:1.6.6-4~), elilo (<< 3.12-3.1~), lilo (<< 22.8-8.2~), s390-tools (<< 1.8.3-2~), console-setup (<< 1.72), systemd-sysv (<< 186), lvm2 (<< 2.02.111-2.1~), initscripts (<< 2.88dsf-59.3~), mountall (<< 2.0~) +Breaks: cryptsetup (<< 2:1.6.6-4~), elilo (<< 3.12-3.1~), lilo (<< 22.8-8.2~), s390-tools (<< 1.8.3-2~), console-setup (<< 1.72), systemd-sysv (<< 186), lvm2 (<< 2.02.111-2.1~), initscripts (<< 2.88dsf-59.3~), mountall (<< 2.0~), isc-dhcp-client (= 4.3.3-5ubuntu13) Description: generic modular initramfs generator (automation) This package builds a bootable initramfs for Linux kernel packages. The initramfs is loaded along with the kernel and is responsible for diff -Nru initramfs-tools-0.122ubuntu8.1/scripts/functions initramfs-tools-0.122ubuntu8.2/scripts/functions --- initramfs-tools-0.122ubuntu8.1/scripts/functions 2016-03-05 09:47:31.000000000 +0000 +++ initramfs-tools-0.122ubuntu8.2/scripts/functions 2016-09-23 22:01:48.000000000 +0000 @@ -254,12 +254,16 @@ none|off) # Do nothing ;; - ""|on|any) + ""|::::*|on|any|dhcp|bootp|rarp|both) + # if IP contains something other than BOOTIF; use that + # interface to bring up the network. + if ! echo "${IP}" | grep -qc 'BOOTIF'; then + DEVICE="${IP#*:*:*:*:*:*}"; + fi + # Bring up device - ipconfig -t ${ROUNDTTT} "${DEVICE}" - ;; - dhcp|bootp|rarp|both) - ipconfig -t ${ROUNDTTT} -c ${IP} -d "${DEVICE}" + dhclient -4 -1 -v "${DEVICE}" + dhclient -6 -1 -v "${DEVICE}" ;; *) ipconfig -t ${ROUNDTTT} -d $IP