network-manager: add patch to disable netplan on i386

This commit is contained in:
Ark74 2024-10-17 00:21:26 -06:00
parent 19cdc0e545
commit e73c07bd61
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff --git a/debian/rules b/debian/rules
index 0740cdee..cde335f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/dpkg/architecture.mk
-ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes || dpkg-vendor --is Trisquel && echo yes) $(DEB_HOST_ARCH), yes i386)
BUILD_PACKAGES += -Nnetwork-manager
NETPLAN += --disable-netplan
endif