summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-05-22 12:23:55 +0000
committerSuper user <root@baserock.(none)>2012-09-17 13:11:39 +0000
commitb474f626cae092f14c440d4311fc64061397494f (patch)
tree31c2e0fe499862f69e098f56c5ea5cab5dea38f2
parent83df60ef0803fd4e11b9d5c6a8bf3a7de3717c28 (diff)
downloadbusybox-b474f626cae092f14c440d4311fc64061397494f.tar.gz
busybox.morph: put ifstate in /run
/run should always be a tmpfs. /var/run may be a tmpfs or a link to /run. We would like it to be a link to /run, but there is a complication with the staging area preventing this from happening. If ifstate is kept in this then the service to clean it up is not needed.
-rw-r--r--busybox.morph1
1 files changed, 1 insertions, 0 deletions
diff --git a/busybox.morph b/busybox.morph
index f2886f5d5..1fc3847c8 100644
--- a/busybox.morph
+++ b/busybox.morph
@@ -11,6 +11,7 @@
"sed -e 's/.*FEATURE_PREFER_APPLETS=.*/# CONFIG_FEATURE_PREFER_APPLETS is not set/' -i .config",
"sed -e 's/.*FEATURE_MOUNT_CIFS=.*/# CONFIG_FEATURE_MOUNT_CIFS is not set/' -i .config",
"sed -e 's|.*UDHCPC_DEFAULT_SCRIPT=.*|CONFIG_UDHCPC_DEFAULT_SCRIPT=\"'\"$PREFIX\"/share/udhcpc/default.script'\"|' -i .config",
+ "sed -e 's|.*IFUPDOWN_IFSTATE_PATH.*|CONFIG_IFUPDOWN_IFSTATE_PATH=\"/run/ifstate\"|' -i .config",
"[ \"$PREFIX\" = /usr ] || sed -e 's/.*INSTALL_NO_USR.*/CONFIG_INSTALL_NO_USR=y/' -i .config",
"sed -e 's/.*MODPROBE_SMALL=.*/# CONFIG_MODPROBE_SMALL is not set/' -i .config",
"sed -e 's/.*INSMOD=.*/CONFIG_INSMOD=y/' -i .config",