diff -Nru grub2-2.02~beta2/debian/changelog grub2-2.02~beta2/debian/changelog --- grub2-2.02~beta2/debian/changelog 2016-06-08 12:16:40.000000000 -0300 +++ grub2-2.02~beta2/debian/changelog 2016-07-26 12:37:48.000000000 -0300 @@ -1,3 +1,10 @@ +grub2 (2.02~beta2-36ubuntu3.1powernvosprober1) UNRELEASED; urgency=medium + + * Disable os-prober for ppc64el on the PowerNV platform, to reduce the + number of entries/clutter from other OSes in Petitboot (LP: #1447500) + + -- Mauricio Faria de Oliveira Tue, 26 Jul 2016 12:36:44 -0300 + grub2 (2.02~beta2-36ubuntu3.1) xenial; urgency=medium * debian/postinst.in: replace setup_mok_validation with a call to diff -Nru grub2-2.02~beta2/debian/postinst.in grub2-2.02~beta2/debian/postinst.in --- grub2-2.02~beta2/debian/postinst.in 2016-05-20 16:02:55.000000000 -0300 +++ grub2-2.02~beta2/debian/postinst.in 2016-07-26 12:35:11.000000000 -0300 @@ -373,6 +373,15 @@ sed -i -e 's/^GRUB_HIDDEN_TIMEOUT=/#&/' "$tmp_default_grub" fi ;; + grub-ieee1275) + if grep ^platform /proc/cpuinfo | grep -q PowerNV; then + cat <<-EOF >>"$tmp_default_grub" + + # Disable os-prober for ppc64el on the PowerNV platform (for Petitboot) + GRUB_DISABLE_OS_PROBER=true + EOF + fi + ;; esac ucf --three-way --debconf-ok --sum-file=/usr/share/grub/default/grub.md5sum ${tmp_default_grub} /etc/default/grub