netconfig: add ifupdown on finish-install script
This commit is contained in:
parent
5fcaef1a02
commit
5b15e5e5e4
2 changed files with 12 additions and 1 deletions
10
helpers/DATA/netcfg/ifupdown.patch
Normal file
10
helpers/DATA/netcfg/ifupdown.patch
Normal file
|
|
@ -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
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# 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'
|
EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
|
||||||
REPOKEY=648ACFD622F3D138
|
REPOKEY=648ACFD622F3D138
|
||||||
NETINST=true
|
NETINST=true
|
||||||
|
|
@ -26,6 +26,7 @@ NETINST=true
|
||||||
rpl "Default: debian" "Default: trisquel" . -R
|
rpl "Default: debian" "Default: trisquel" . -R
|
||||||
sed -i '/client, template,/s/debian/trisquel/g' netcfg-common.c
|
sed -i '/client, template,/s/debian/trisquel/g' netcfg-common.c
|
||||||
patch -p1 < $DATA/restore_network-manager_management.patch
|
patch -p1 < $DATA/restore_network-manager_management.patch
|
||||||
|
patch -p1 < $DATA/ifupdown.patch
|
||||||
|
|
||||||
changelog "Rebranded and adapted for Trisquel"
|
changelog "Rebranded and adapted for Trisquel"
|
||||||
compile
|
compile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue