aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/cfengine/cfengine-masterfiles/remove-policy-of-usr-local-sbin.patch
blob: 3f8debc28add6dcc6fec22257a7389284c905211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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