Bug#778907: adt-setup-vm: configure grub only if it is installed
Christian Kastner
debian at kvr.at
Sun Feb 22 11:47:13 UTC 2015
On 2015-02-22 11:00, Martin Pitt wrote:
> Christian Kastner [2015-02-21 18:05 +0100]:
>> -if [ "$(chroot "$root" dpkg --print-architecture)" = "i386" ]; then
>> +if [ "$(chroot "$root" dpkg --print-architecture)" = "i386" ] && [ -d "$root/etc/default/grub.d" ]; then
>
> That isn't the correct test. /etc/default/grub.d doesn't exist by
> default, only /etc/default/grub.
Oh, I should have checked that first. Sorry!
> This also collides with another fix
> that I pushed:
>
> http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=a47abea
>
> So I updated the test to check for "update-grub" instead:
>
> http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=76ce87ec6
>
> vmdebootstrapping sid now works again.
Great, thanks!
Regards,
Christian
More information about the autopkgtest-devel
mailing list