grub2-unsigned: disable ppc64el and armhf as not build on unsigned.
This commit is contained in:
parent
8982b304dd
commit
51381bab73
1 changed files with 8 additions and 2 deletions
|
|
@ -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 @@
|
||||||
# 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue