mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-21 05:57:05 +00:00
cfengine: add recipe and base policy
Add recipes of cfengine and cfengine-masterfiles which provides base policy files. There are 3 optional database backend: qdbm, tokyocabinet and lmdb with descending priority. Package tokyocabinet is released as a rework of qdbm by same upstream author, so it is choosen to be default database backend. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452657 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
projlibdir use a hard coded lib path, this will cause error when build a 64bit
|
||||
target. So change it to suitable path.
|
||||
|
||||
Signed-off-by: Song.Li <Song.Li@windriver.com>
|
||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 38e2b9c..bc6b996 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -188,7 +188,7 @@ AS_IF([test x"$enable_fhs" = xyes], [
|
||||
fi
|
||||
|
||||
sbindir='${exec_prefix}/bin' # /var/cfengine/bin despite being sbin_?
|
||||
- projlibdir='${exec_prefix}/lib'
|
||||
+ projlibdir='${libdir}'
|
||||
mandir='${exec_prefix}/share/man'
|
||||
])
|
||||
|
||||
--
|
||||
1.7.1
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Set the path of default configure file.
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
diff --git a/misc/init.d/cfengine3.in b/misc/init.d/cfengine3.in
|
||||
index d6ae26f..1dee283 100644
|
||||
--- a/misc/init.d/cfengine3.in
|
||||
+++ b/misc/init.d/cfengine3.in
|
||||
@@ -101,11 +101,7 @@ if [ -z "$LOCKDIR" ]; then
|
||||
fi
|
||||
|
||||
# default control file
|
||||
-if [ "$DEBIAN" = "1" ]; then
|
||||
- DEFAULT=/etc/default/cfengine3
|
||||
-else
|
||||
- DEFAULT=/etc/sysconfig/cfengine3
|
||||
-fi
|
||||
+DEFAULT=/etc/default/cfengine3
|
||||
|
||||
if [ -f $DEFAULT ]; then
|
||||
. $DEFAULT
|
||||
Reference in New Issue
Block a user