From 7be091223cee5e908ade650f6cfa732d247368c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Sun, 2 Jan 2022 14:31:30 +0000
Subject: [PATCH] Grub2 unsigned 10.0

---
 helpers/make-grub2-unsigned | 72 -------------------------------------
 1 file changed, 72 deletions(-)
 delete mode 100644 helpers/make-grub2-unsigned

diff --git a/helpers/make-grub2-unsigned b/helpers/make-grub2-unsigned
deleted file mode 100644
index 0e705219..00000000
--- a/helpers/make-grub2-unsigned
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-#
-#    Copyright (C) 2011-2017  Ruben Rodriguez <ruben@trisquel.info>
-#    Copyright (C) 2019  Mason Hock <mason@masonhock.com>
-#    Copyright (C) 2021  Luis Guzman <ark@switnet.org>
-#
-#    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
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with this program; if not, write to the Free Software
-#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-#
-
-# This helper is heavily based on grub2, and even when is adviced to track changes from there,
-# please make sure to test changes by building the package before copying and commiting
-# every change at grub2.
-
-VERSION=5
-FIXED_VER='' #Keep FIXED_VER empty or delete it.
-COMPONENT=main
-
-. ./config
-
-#Avoid recommendation for signed efi packages.
-sed -i '/Recommends: grub-efi-amd64-signed/s|grub-efi-amd64-signed|grub-efi-amd64|' 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
-    echo Applying patch $i
-    patch -p1 < $i
-done
-
-sed '/mkfs.minix/s/-B $BLKSIZE//g' -i tests/util/grub-fs-tester.in
-
-for i in install-efi-ubuntu-flavours.patch; do
-    rm debian/patches/$i
-    sed /$i/d debian/patches/series -i
-done
-
-#Trisquel is Trisquel GNU/Linux - mkconfig-ubuntu-distributor.patch
-replace \"\${GRUB_DISTRIBUTOR}\" \"\${GRUB_DISTRIBUTOR}\ GNU/Linux\"  debian/patches
-
-#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
-
-replace "with Linux" "with Linux-Libre" util
-replace "with Linux" "with Linux-Libre" debian
-replace "Linux" "Linux-Libre" po
-replace Kubuntu Triskel .
-replace Ubuntu Trisquel .
-replace ubuntu trisquel .
-find |grep ubuntu|xargs rename s/ubuntu/trisquel/
-
-# Allow Windows and MacOX entries to boot without a password
-sed 's/class osx/class osx --unrestricted/; s/class windows/class osx --unrestricted/;' -i ./util/grub.d/30_os-prober.in
-
-#Other changes
-#test/grub_cmd_set_date.in already skipped by upstream.
-#revert patch mkconfig-ubuntu-distributor.patch 'without' removing it, as it fails if removed.
-
-changelog "Rebrand trisquel bits."
-
-compile
-- 
GitLab