From 8e46fae730d18a5a885a178a812ea49a93bd4f59 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 23 Jul 2015 15:45:42 +0200 Subject: [PATCH] busybox-udhcpc: udhcpc.default file for IDU. Hopefully, this installs a different /etc/default/udhcpc file on sysmocom-idu machines. Not sure if adding a machine subdir suffices. The idea is that the machine-specific subdir symocom-idu should replace the udhcpc.default file used for the idu packages, only, which has both resolv.conf mods and default route disabled by default. --- recipes-core/busybox/busybox_sysmocom.inc | 2 +- recipes-core/busybox/sysmocom-idu/udhcpc.default | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 recipes-core/busybox/sysmocom-idu/udhcpc.default diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index 621ca48..90f3e13 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "29" +PRINC = "30" SRC_URI += "file://udhcpc-ntp.sh \ file://udhcpc-ntp.default \ diff --git a/recipes-core/busybox/sysmocom-idu/udhcpc.default b/recipes-core/busybox/sysmocom-idu/udhcpc.default new file mode 100644 index 0000000..295e16c --- /dev/null +++ b/recipes-core/busybox/sysmocom-idu/udhcpc.default @@ -0,0 +1,5 @@ +# Uncomment the following line, if udhcpc should not touch /etc/resolv.conf +STATIC_DNS="yes" + +# Uncomment the following line if udhcpc should not install a default route +INSTALL_DEFAULT_ROUTE="no"