gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 01/18] resources: dependencies: trisquel: skip fonts-unifont f


From: Denis 'GNUtoo' Carikli
Subject: [PATCH v1 01/18] resources: dependencies: trisquel: skip fonts-unifont for Trisquel 10 (nabia).
Date: Fri, 29 Nov 2024 20:14:15 +0100

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 resources/dependencies/trisquel | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/resources/dependencies/trisquel b/resources/dependencies/trisquel
index 531083fb..469732f8 100755
--- a/resources/dependencies/trisquel
+++ b/resources/dependencies/trisquel
@@ -108,7 +108,14 @@ install_packages libncurses5-dev doxygen acpica-tools gdb 
flex bison build-essen
 # GRUB build dependencies (also requires build-essential, bison and flex)
 # ------------------------------------------------------------
 
-install_packages fonts-unifont libopts25 libselinux1-dev autogen m4 autoconf 
help2man libopts25-dev libfont-freetype-perl automake autotools-dev 
build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev 
libtool libfreetype6-dev unifont
+# Trisquel 10 (nabia) doesn't have fonts-unifont. Also for the check
+# we can assume that the 'nabia' code name is unique as it is in the
+# upstream debootstrap in /usr/share/debootstrap/scripts/nabia.
+if ! grep -q 'VERSION_CODENAME="nabia"' /etc/os-release ; then
+    install_packages fonts-unifont
+fi
+
+install_packages libopts25 libselinux1-dev autogen m4 autoconf help2man 
libopts25-dev libfont-freetype-perl automake autotools-dev build-essential 
bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool 
libfreetype6-dev unifont
 
 # BucTS build dependencies (external script)
 # ------------------------------------------------------------
-- 
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]