diff -Nru initramfs-tools-0.130ubuntu3/debian/changelog initramfs-tools-0.130ubuntu3.1/debian/changelog --- initramfs-tools-0.130ubuntu3/debian/changelog 2018-02-20 18:35:17.000000000 -0300 +++ initramfs-tools-0.130ubuntu3.1/debian/changelog 2018-04-25 00:37:52.000000000 -0300 @@ -1,3 +1,9 @@ +initramfs-tools (0.130ubuntu3.1) bionic; urgency=medium + + * Do not include graphical drivers when FRAMEBUFFER is not set (LP: #1561643) + + -- Thadeu Lima de Souza Cascardo Wed, 25 Apr 2018 00:37:52 -0300 + initramfs-tools (0.130ubuntu3) bionic; urgency=medium * Fix resuming a hibernate session from a swapfile (LP: #1644975) diff -Nru initramfs-tools-0.130ubuntu3/hook-functions initramfs-tools-0.130ubuntu3.1/hook-functions --- initramfs-tools-0.130ubuntu3/hook-functions 2018-01-27 09:51:36.000000000 -0200 +++ initramfs-tools-0.130ubuntu3.1/hook-functions 2018-04-25 00:37:15.000000000 -0300 @@ -750,7 +750,7 @@ set -e for cs_x in ${runlist}; do [ -f ${initdir}/${cs_x} ] || continue - if [ x"$call_scripts_optional" = "xoptional" ]; then + if [ x"$call_scripts_optional" = "xy" ]; then option=$(sed '/^OPTION=/!d;$d;s/^OPTION=//;s/[[:space:]]*$//' "${initdir}/${cs_x}") [ -z "${option}" ] || eval test -n \"\${$option}\" -a \"\${$option}\" != \"n\" || continue fi