Create rootfs_layer.sh

This commit is contained in:
Pascal Vizeli 2018-04-02 22:51:38 +02:00 committed by GitHub
parent 651b17ed8f
commit 8e9a7041a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,8 @@
#!/bin/bash
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
}