Fix grub2 release for aramo.

This commit is contained in:
Luis Guzmán 2022-04-13 23:47:44 +00:00
parent 6cb8242d81
commit 4c6dab3570

View file

@ -20,8 +20,8 @@
# #
VERSION=6 VERSION=6
FIXED_VER=2.04-1ubuntu26.13
COMPONENT=main COMPONENT=main
DEPENDS=base-files
. ./config . ./config
@ -36,10 +36,8 @@ done
#sed '/dosfstools/d' -i debian/control #sed '/dosfstools/d' -i debian/control
sed '/mkfs.minix/s/-B $BLKSIZE//g' -i tests/util/grub-fs-tester.in sed '/mkfs.minix/s/-B $BLKSIZE//g' -i tests/util/grub-fs-tester.in
for i in install-efi-ubuntu-flavours.patch mkconfig-ubuntu-distributor.patch; do #remove_patch install-efi-ubuntu-flavours.patch
rm debian/patches/$i remove_patch mkconfig-ubuntu-distributor.patch
sed /$i/d debian/patches/series -i
done
#Allow passwords https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311302 #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 /bin/sed '/CLASS=/s/class os/class os --unrestricted/' -i util/grub.d/* debian/patches/mkconfig-other-inits.patch
@ -51,6 +49,9 @@ replace Ubuntu Trisquel .
replace ubuntu trisquel . replace ubuntu trisquel .
find |grep ubuntu|xargs rename s/ubuntu/trisquel/ find |grep ubuntu|xargs rename s/ubuntu/trisquel/
#Prevent "replace"ment break patches
sed -i '/^trisquel/s|-trisquel|-ubuntu|g' debian/patches/series
#Avoid the use of signed grub efi package #Avoid the use of signed grub efi package
sed -i '/Recommends:/s|grub-efi-amd64-signed|grub-efi-amd64|' debian/control sed -i '/Recommends:/s|grub-efi-amd64-signed|grub-efi-amd64|' debian/control
@ -59,6 +60,9 @@ sed 's/class osx/class osx --unrestricted/; s/class windows/class osx --unrestri
sed -i '/set -e/aexit 77' tests/grub_cmd_set_date.in sed -i '/set -e/aexit 77' tests/grub_cmd_set_date.in
# Remove this change once building on a trisquel schroot
sed -i '/SB_EFI_VENDOR ?/s|=.*|= trisquel|' debian/rules
changelog "skip test grub_cmd_set_date.in" changelog "skip test grub_cmd_set_date.in"
compile compile