From 51381bab7385e8a360812989a9fae49c9b2244fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Fri, 5 Aug 2022 23:37:09 +0000 Subject: [PATCH] grub2-unsigned: disable ppc64el and armhf as not build on unsigned. --- helpers/make-grub2-unsigned | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/helpers/make-grub2-unsigned b/helpers/make-grub2-unsigned index 911bbb8..249f623 100644 --- a/helpers/make-grub2-unsigned +++ b/helpers/make-grub2-unsigned @@ -2,7 +2,7 @@ # # Copyright (C) 2011-2017 Ruben Rodriguez # Copyright (C) 2019 Mason Hock -# Copyright (C) 2021 Luis Guzman +# Copyright (C) 2022 Luis Guzman # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,12 +19,18 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=6 +VERSION=7 COMPONENT=main DEPENDS=base-files . ./config +#Prevent to built grub2-unsigned on armhf and ppc64el arch +sed -i "/Architecture:/s|any-ppc64*||g" debian/control +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 + # http://grub.johnlane.ie/ ## updated to 2.04-1 on https://aur.archlinux.org/packages/grub-luks-keyfile/ for i in $DATA/*.patch; do