Use dhcp client / avahi after NM (#75)
* Use dhcp client / avahi after NM * Store networkmanager * Add default connection * cleanup * cleanup lease * faster boot * Cleanup * Fix permission
This commit is contained in:
committed by
Pascal Vizeli
parent
5e10559144
commit
36251114d8
@@ -2,10 +2,6 @@
|
||||
|
||||
function fix_rootfs() {
|
||||
|
||||
# Cleanup DHCP service, we don't need this with NetworkManager
|
||||
rm -rf ${TARGET_DIR}/etc/systemd/system/multi-user.target.wants/dhcpcd.service
|
||||
rm -rf ${TARGET_DIR}/usr/lib/systemd/system/dhcpcd.service
|
||||
|
||||
# Cleanup etc
|
||||
rm -rf ${TARGET_DIR}/etc/init.d
|
||||
rm -rf ${TARGET_DIR}/etc/network
|
||||
@@ -20,6 +16,9 @@ function fix_rootfs() {
|
||||
# Cleanup miscs
|
||||
rm -rf ${TARGET_DIR}/usr/lib/modules-load.d
|
||||
|
||||
# Fix: permission for system connection files
|
||||
chmod 600 ${TARGET_DIR}/usr/share/system-connections/*
|
||||
|
||||
# Fix: tempfs with /srv
|
||||
sed -i "/srv/d" ${TARGET_DIR}/usr/lib/tmpfiles.d/home.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user