Skip to content
Snippets Groups Projects
Commit 6dd1323b authored by Luis Guzmán's avatar Luis Guzmán
Browse files

grub2-unsigned: disable armhf arch.

parent ab732368
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,11 @@ for i in install-efi-ubuntu-flavours.patch mkconfig-ubuntu-distributor.patch; do
sed /$i/d debian/patches/series -i
done
#Prevent to built grub2-unsigned on armhf and ppc64el arch
sed -i "/Architecture:/s|any-arm$|armel|g;s|any-arm |armel|g" debian/control
sed -i "/Architecture:/s|linux-any|linux|" debian/control
sed -i '/Package: grub-common/,/Built-Using:/s|Architecture: any|Architecture: any-i386 any-amd64 any-ia64 any-arm64 riscv64|' debian/control
#Allow passwords https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311302
/bin/sed '/CLASS=/s/class os/class os --unrestricted/' -i util/grub.d/* debian/patches/mkconfig-other-inits.patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment