summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2019-06-28 09:48:10 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-06-28 10:07:10 +0200
commite44820e2f0f5c79dfaa225b9fbcc18af6bc45df8 (patch)
tree8de4188e2a940622f41774dce62b5082a4457b9b
parentfcc0f5eb4a286e1ef2b2a2baad36daec482ab554 (diff)
downloadptxdist-e44820e2f0f5c79dfaa225b9fbcc18af6bc45df8.tar.gz
ptxdist-e44820e2f0f5c79dfaa225b9fbcc18af6bc45df8.tar.xz
ntp: adapt package's '/var/lib' and '/var/log' requirements
Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/ntp.in5
-rw-r--r--rules/ntp.make2
2 files changed, 6 insertions, 1 deletions
diff --git a/rules/ntp.in b/rules/ntp.in
index c211c91cd..55bf38b94 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -10,10 +10,15 @@ menuconfig NTP
select LIBC_M
select LIBC_RT
select GCCLIBS_GCC_S
+ select ROOTFS_VAR_LIB if RUNTIME
+ select ROOTFS_VAR_LOG if RUNTIME
help
Build the standard NTP Daemon Process and supplementary programs.
This conflicts with BSD openntpd.
+ Note: on a read-only root filesystem this package still requires a
+ writable '/var/lib' and '/var/log'.
+
# ----- Compile Options
if NTP
diff --git a/rules/ntp.make b/rules/ntp.make
index 5d51ae4fc..411ad2ecf 100644
--- a/rules/ntp.make
+++ b/rules/ntp.make
@@ -160,7 +160,7 @@ $(STATEDIR)/ntp.targetinstall:
@$(call install_fixup, ntp,PRIORITY,optional)
@$(call install_fixup, ntp,SECTION,base)
@$(call install_fixup, ntp,AUTHOR,"Robert Schwebel")
- @$(call install_fixup, ntp,DESCRIPTION,missing)
+ @$(call install_fixup, ntp,DESCRIPTION, "Network Time Protocol Daemon")
# #
# # ntpdate