diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-07-18 09:06:06 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-07-29 11:00:56 +0200 |
commit | 06e58b6f54b60585d1d6eb27b62c2627bce5f2fe (patch) | |
tree | 773afaaf14f055428677b9371b0dd4467be530f3 /meta-oe/recipes-extended/cfengine/cfengine-masterfiles | |
parent | 898b3977afec283c456c970a48d654c74f128d61 (diff) | |
download | meta-openembedded-06e58b6f54b60585d1d6eb27b62c2627bce5f2fe.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended/cfengine/cfengine-masterfiles')
-rw-r--r-- | meta-oe/recipes-extended/cfengine/cfengine-masterfiles/remove-policy-of-usr-local-sbin.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/cfengine/cfengine-masterfiles/remove-policy-of-usr-local-sbin.patch b/meta-oe/recipes-extended/cfengine/cfengine-masterfiles/remove-policy-of-usr-local-sbin.patch new file mode 100644 index 000000000..3f8debc28 --- /dev/null +++ b/meta-oe/recipes-extended/cfengine/cfengine-masterfiles/remove-policy-of-usr-local-sbin.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Directory /usr/local is not used for us. Remove the policy that not to install | ||
4 | binaries to /usr/local/sbin. | ||
5 | |||
6 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
7 | --- | ||
8 | diff --git a/cfe_internal/update/update_bins.cf b/cfe_internal/update/update_bins.cf | ||
9 | index 1796caa..697af0d 100644 | ||
10 | --- a/cfe_internal/update/update_bins.cf | ||
11 | +++ b/cfe_internal/update/update_bins.cf | ||
12 | @@ -55,16 +55,6 @@ bundle agent cfe_internal_bins | ||
13 | depth_search => u_recurse_basedir("inf"), | ||
14 | action => u_immediate; | ||
15 | |||
16 | - "/usr/local/sbin/$(agents)" | ||
17 | - comment => "Create symlinks of CFE binaries in /usr/local/sbin", | ||
18 | - handle => canonify("cfe_internal_bins_files_sbin_$(agents)"), | ||
19 | - move_obstructions => "true", | ||
20 | - link_from => u_ln_s("$(sys.workdir)/bin/$(agents)"); | ||
21 | - | ||
22 | - "/usr/local/sbin/$(agents).cfsaved" | ||
23 | - comment => "Remove all .cfsaved file extension", | ||
24 | - handle => canonify("cfe_internal_bins_files_remove_$(agent)_cfsaved"), | ||
25 | - delete => u_tidy; | ||
26 | } | ||
27 | |||
28 | bundle agent cfe_internal_update_bins | ||