Files
Kai Kang 06e58b6f54 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>
2016-07-29 11:00:56 +02:00

29 lines
1.0 KiB
Diff

Upstream-Status: Inappropriate [configuration]
Directory /usr/local is not used for us. Remove the policy that not to install
binaries to /usr/local/sbin.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
diff --git a/cfe_internal/update/update_bins.cf b/cfe_internal/update/update_bins.cf
index 1796caa..697af0d 100644
--- a/cfe_internal/update/update_bins.cf
+++ b/cfe_internal/update/update_bins.cf
@@ -55,16 +55,6 @@ bundle agent cfe_internal_bins
depth_search => u_recurse_basedir("inf"),
action => u_immediate;
- "/usr/local/sbin/$(agents)"
- comment => "Create symlinks of CFE binaries in /usr/local/sbin",
- handle => canonify("cfe_internal_bins_files_sbin_$(agents)"),
- move_obstructions => "true",
- link_from => u_ln_s("$(sys.workdir)/bin/$(agents)");
-
- "/usr/local/sbin/$(agents).cfsaved"
- comment => "Remove all .cfsaved file extension",
- handle => canonify("cfe_internal_bins_files_remove_$(agent)_cfsaved"),
- delete => u_tidy;
}
bundle agent cfe_internal_update_bins