summaryrefslogtreecommitdiff
path: root/repo/system/networkmanager.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-02 00:00:55 +0000
committerdavidovski <david@davidovski.xyz>2022-02-02 00:00:55 +0000
commit1e31257209a3e0756ab314979c66b47047cee24d (patch)
treec28ea1bf788ca6ce06385277cd7d15982efe81ac /repo/system/networkmanager.xibuild
parentec1ad426592e481c3dcf65ce65ff75c103ae1513 (diff)
added bootscripts to nm
Diffstat (limited to 'repo/system/networkmanager.xibuild')
-rw-r--r--repo/system/networkmanager.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/system/networkmanager.xibuild b/repo/system/networkmanager.xibuild
index a734b1a..c825177 100644
--- a/repo/system/networkmanager.xibuild
+++ b/repo/system/networkmanager.xibuild
@@ -5,6 +5,12 @@ DEPS=(jansson libndp curl wpa_supplicant newt nss polkit libpsl audit dbus gobje
PKG_VER=1.35.5
SOURCE=https://download.gnome.org/sources/NetworkManager/$(echo $PKG_VER | cut -d. -f-2)/NetworkManager-$PKG_VER.tar.xz
+
+BOOTSCRIPTS=blfs-bootscripts-20210826
+ADDITIONAL=(
+ https://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$BOOTSCRIPTS.tar.xz
+ )
+
DESC="Network connection manager and user applications"
prepare () {
@@ -48,5 +54,16 @@ EOF
auth-polkit=true
EOF
+cat > $PKG_DEST/etc/NetworkManager/conf.d/dhcp.conf << "EOF"
+[main]
+dhcp=dhclient
+EOF
+
# TODO add boot scripts
+
+ tar xf $BOOTSCRIPTS.tar.xz
+ cd $BOOTSCRIPTS
+ make DESTDIR=$PKG_DEST install-networkmanager
+
+
}