From 1fdc144dab49370f0cc77bb0506405611edd5862 Mon Sep 17 00:00:00 2001
From: Ark74 <ark@switnet.org>
Date: Mon, 21 Nov 2022 20:42:13 -0600
Subject: [PATCH] netcfg: change chroot format for ifupdown

---
 helpers/DATA/netcfg/ifupdown.patch | 2 +-
 helpers/make-netcfg                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/DATA/netcfg/ifupdown.patch b/helpers/DATA/netcfg/ifupdown.patch
index 6f711313..aa58be03 100644
--- a/helpers/DATA/netcfg/ifupdown.patch
+++ b/helpers/DATA/netcfg/ifupdown.patch
@@ -4,7 +4,7 @@
  	NM_IS_INSTALLED=true
  else
  	NM_IS_INSTALLED=false
-+	in-target sh -c "apt-get -y install ifupdown"
++	chroot /target 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 2804863c..abd33f37 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.1
+VERSION=2.2
 EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
 REPOKEY=648ACFD622F3D138
 NETINST=true
-- 
GitLab