kumquat-buildroot/package/ifupdown/0001-dont-use-dpkg-architecture.patch
Gustavo Zacarias a71b8df5ba ifupdown: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-12 22:46:11 +01:00

18 lines
510 B
Diff

Drop the need for dpkg-architecture, we only build for linux.
Thanks to Károly Kasza for catching this one.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura ifupdown.orig/defn2c.pl ifupdown/defn2c.pl
--- ifupdown.orig/defn2c.pl 2014-11-18 16:39:28.878772655 -0300
+++ ifupdown/defn2c.pl 2014-11-18 16:43:41.120456676 -0300
@@ -2,7 +2,7 @@
use strict;
-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
+my $DEB_HOST_ARCH_OS = "linux";
$DEB_HOST_ARCH_OS =~ s/\n//;