summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/fake-overlayfs.in4
-rw-r--r--rules/initmethod-bbinit.in1
-rw-r--r--rules/rootfs.in12
-rw-r--r--rules/rootfs.make2
4 files changed, 2 insertions, 17 deletions
diff --git a/rules/fake-overlayfs.in b/rules/fake-overlayfs.in
index c328bc0fb..2469ddfad 100644
--- a/rules/fake-overlayfs.in
+++ b/rules/fake-overlayfs.in
@@ -18,23 +18,19 @@ comment "Copy the content of these directories"
config FAKE_OVERLAYFS_VAR
bool "/var"
- select ROOTFS_VAR if ROOTFS
if !FAKE_OVERLAYFS_VAR
config FAKE_OVERLAYFS_VAR_LIB
bool "/var/lib"
- select ROOTFS_VAR if ROOTFS
select ROOTFS_VAR_LIB if ROOTFS
config FAKE_OVERLAYFS_VAR_TMP
bool "/var/tmp"
- select ROOTFS_VAR if ROOTFS
select ROOTFS_VAR_TMP if ROOTFS
config FAKE_OVERLAYFS_VAR_CACHE
bool "/var/cache"
- select ROOTFS_VAR if ROOTFS
select ROOTFS_VAR_CACHE if ROOTFS
endif
diff --git a/rules/initmethod-bbinit.in b/rules/initmethod-bbinit.in
index 383add59f..e0b3be178 100644
--- a/rules/initmethod-bbinit.in
+++ b/rules/initmethod-bbinit.in
@@ -33,7 +33,6 @@ config INITMETHOD_BBINIT_ETC_INITD_NETWORKING
config INITMETHOD_BBINIT_ETC_INITD_RT_SET_BANDWIDTH
bool
prompt "install /etc/init.d/rt-set-bandwidth"
- select ROOTFS_VAR
select ROOTFS_VAR_RUN
default y
help
diff --git a/rules/rootfs.in b/rules/rootfs.in
index 04f7a5287..f105dc477 100644
--- a/rules/rootfs.in
+++ b/rules/rootfs.in
@@ -169,15 +169,7 @@ config ROOTFS_TMP
Create a /tmp directory in the root filesystem.
You should say yes here.
-config ROOTFS_VAR
- bool
- prompt "/var"
- default y
- help
- Create a /var directory in the root filesystem.
- You should say yes here.
-
-if ROOTFS_VAR
+menu "/var "
config ROOTFS_VAR_RUN
bool
@@ -250,7 +242,7 @@ config ROOTFS_VAR_TMP
Unless you want to mount a tmpfs on /var you should
say yes here.
-endif # ROOTFS_VAR
+endmenu
endif # ROOTFS
# ----------------------------------------------------------------------------
diff --git a/rules/rootfs.make b/rules/rootfs.make
index 3845e6d42..7164521a8 100644
--- a/rules/rootfs.make
+++ b/rules/rootfs.make
@@ -96,9 +96,7 @@ endif
ifdef PTXCONF_ROOTFS_TMP
@$(call install_copy, rootfs, 0, 0, 1777, /tmp)
endif
-ifdef PTXCONF_ROOTFS_VAR
@$(call install_copy, rootfs, 0, 0, 0755, /var)
-endif
ifdef PTXCONF_ROOTFS_VAR_LOG
@$(call install_copy, rootfs, 0, 0, 0755, /var/log)
endif