From 5b15e5e5e41d69deaec454f5f9eefc05c7591ea7 Mon Sep 17 00:00:00 2001 From: Ark74 <ark@switnet.org> Date: Mon, 21 Nov 2022 19:29:23 -0600 Subject: [PATCH] netconfig: add ifupdown on finish-install script --- helpers/DATA/netcfg/ifupdown.patch | 10 ++++++++++ helpers/make-netcfg | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 helpers/DATA/netcfg/ifupdown.patch diff --git a/helpers/DATA/netcfg/ifupdown.patch b/helpers/DATA/netcfg/ifupdown.patch new file mode 100644 index 00000000..6f711313 --- /dev/null +++ b/helpers/DATA/netcfg/ifupdown.patch @@ -0,0 +1,10 @@ +--- netcfg-1.176+11.0trisquel2/finish-install.d/55netcfg-copy-config 2022-11-21 19:21:58.138150737 -0600 ++++ netcfg-1.176+11.0trisquel2/finish-install.d/55netcfg-copy-config__ 2022-11-21 19:21:50.646130993 -0600 +@@ -22,6 +22,7 @@ + NM_IS_INSTALLED=true + else + NM_IS_INSTALLED=false ++ in-target sh -c "apt-get -y install ifupdown" + fi + + # The type of the connection used during installation diff --git a/helpers/make-netcfg b/helpers/make-netcfg index bae4a29f..2804863c 100644 --- a/helpers/make-netcfg +++ b/helpers/make-netcfg @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=2 +VERSION=2.1 EXTERNAL='deb-src http://ftp.debian.org/debian stable main' REPOKEY=648ACFD622F3D138 NETINST=true @@ -26,6 +26,7 @@ NETINST=true rpl "Default: debian" "Default: trisquel" . -R sed -i '/client, template,/s/debian/trisquel/g' netcfg-common.c patch -p1 < $DATA/restore_network-manager_management.patch +patch -p1 < $DATA/ifupdown.patch changelog "Rebranded and adapted for Trisquel" compile -- GitLab