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

grub2-unsigned: disable ppc64el and armhf as not build on unsigned.

parent 8982b304
No related branches found
No related tags found
No related merge requests found
Pipeline #635 passed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# Copyright (C) 2011-2017 Ruben Rodriguez <ruben@trisquel.info> # Copyright (C) 2011-2017 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2019 Mason Hock <mason@masonhock.com> # Copyright (C) 2019 Mason Hock <mason@masonhock.com>
# Copyright (C) 2021 Luis Guzman <ark@switnet.org> # Copyright (C) 2022 Luis Guzman <ark@switnet.org>
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
...@@ -19,12 +19,18 @@ ...@@ -19,12 +19,18 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=6 VERSION=7
COMPONENT=main COMPONENT=main
DEPENDS=base-files DEPENDS=base-files
. ./config . ./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/ # http://grub.johnlane.ie/
## updated to 2.04-1 on https://aur.archlinux.org/packages/grub-luks-keyfile/ ## updated to 2.04-1 on https://aur.archlinux.org/packages/grub-luks-keyfile/
for i in $DATA/*.patch; do for i in $DATA/*.patch; do
......
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