------------------------------------------------------------ revno: 181 fixes bug: https://launchpad.net/bugs/1373137 committer: Scott Moser branch nick: trunk.ppc64-2 timestamp: Tue 2014-09-23 17:26:28 -0400 message: must run update-grub diff: === modified file 'helpers/common' --- helpers/common 2014-09-18 20:26:53 +0000 +++ helpers/common 2014-09-23 21:26:28 +0000 @@ -555,7 +555,6 @@ sed -i "$sede" "$mp/etc/default/grub" || { error "failed to update /etc/default/grub"; return 1; } grep "$n" "$mp/etc/default/grub" - reconf="dpkg-reconfigure $grub_name" debug 1 "updating cmdline to '${newargs}'" # LP: #1179940 . this fix was applied to raring, which @@ -606,8 +605,10 @@ prober="/etc/grub.d/30_os-prober" [ -x $prober ] && chmod -x "$prober" dpkg-reconfigure "$1" + update-grub [ -f $prober ] && chmod +x "$prober" - grub-install --target=$2 --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck' \ + grub-install --target=$2 --efi-directory=/boot/efi \ + --bootloader-id=ubuntu --recheck || exit' \ -- "${grub_name}" "${grub_target}"