From 8e9a7041a4230e0f1976341a420e2792d40d139f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 2 Apr 2018 22:51:38 +0200 Subject: [PATCH] Create rootfs_layer.sh --- buildroot-external/scripts/rootfs_layer.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 buildroot-external/scripts/rootfs_layer.sh diff --git a/buildroot-external/scripts/rootfs_layer.sh b/buildroot-external/scripts/rootfs_layer.sh new file mode 100644 index 000000000..aeb1d03a0 --- /dev/null +++ b/buildroot-external/scripts/rootfs_layer.sh @@ -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 +}