summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-12-02 12:41:17 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-12-02 12:41:17 +0100
commit2701a84e83181dafc9486e274a83c93cf547383f (patch)
treef4ef58eacf0690fa4ee8a23e25fb2e3faeedc03e
parent38b8d1d936e51f3c913f9fb0fbce8b12484f4073 (diff)
downloadptxdist-2701a84e83181dafc9486e274a83c93cf547383f.tar.gz
ptxdist-2701a84e83181dafc9486e274a83c93cf547383f.tar.xz
[rootfs] add /var/spool and /var/spool/cron
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/rootfs.in16
-rw-r--r--rules/rootfs.make7
2 files changed, 23 insertions, 0 deletions
diff --git a/rules/rootfs.in b/rules/rootfs.in
index 0f32c0981..0abde6b90 100644
--- a/rules/rootfs.in
+++ b/rules/rootfs.in
@@ -217,6 +217,22 @@ config ROOTFS_VAR_CACHE
Unless you want to mount a tmpfs on /var you should
say yes here.
+config ROOTFS_VAR_SPOOL
+ bool
+ prompt "/var/spool"
+ help
+ Create a /var/spool directory in the root filesystem.
+ Unless you want to mount a tmpfs on /var you should
+ say yes here.
+
+config ROOTFS_VAR_SPOOL_CRON
+ bool
+ prompt "/var/spool/cron"
+ help
+ Create a /var/spool/cron directory in the root filesystem.
+ Unless you want to mount a tmpfs on /var you should
+ say yes here.
+
endif # ROOTFS_VAR
endif # ROOTFS
diff --git a/rules/rootfs.make b/rules/rootfs.make
index a8bc767da..244fdcec4 100644
--- a/rules/rootfs.make
+++ b/rules/rootfs.make
@@ -153,6 +153,13 @@ endif
ifdef PTXCONF_ROOTFS_VAR_CACHE
@$(call install_copy, rootfs, 0, 0, 0755, /var/cache)
endif
+ifdef PTXCONF_ROOTFS_VAR_SPOOL
+ @$(call install_copy, rootfs, 0, 0, 0755, /var/spool)
+endif
+ifdef PTXCONF_ROOTFS_VAR_SPOOL_CRON
+ @$(call install_copy, rootfs, 0, 0, 0755, /var/spool/cron)
+endif
+
# #
# # install files in rootfs