1 From fdfeac7e77382ddd0e3fb4f2abeae84f0a31584f Mon Sep 17 00:00:00 2001
2 From: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
3 Date: Tue, 30 Sep 2014 13:46:59 +0200
4 Subject: [PATCH] Remove OWNER and GROUPS parameters to install
6 The Install tries to change the owner and groups of the binary. In
7 Buildroot we don't want that, since fakeroot will do its job when we
10 Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
12 docbook/Makefile | 4 ++--
13 ether/Makefile | 8 ++++----
14 iso15118/Makefile | 8 ++++----
15 key/Makefile | 8 ++++----
16 mdio/Makefile | 8 ++++----
17 mme/Makefile | 8 ++++----
18 nvm/Makefile | 8 ++++----
19 pib/Makefile | 8 ++++----
20 plc/Makefile | 8 ++++----
21 ram/Makefile | 8 ++++----
22 scripts/Makefile | 4 ++--
23 serial/Makefile | 8 ++++----
24 slac/Makefile | 8 ++++----
26 14 files changed, 49 insertions(+), 49 deletions(-)
28 diff --git a/docbook/Makefile b/docbook/Makefile
29 index d630822..23a9b5a 100755
30 --- a/docbook/Makefile
31 +++ b/docbook/Makefile
32 @@ -32,9 +32,9 @@ manuals:
33 ${SHELL} ../docbook/manuals
36 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${LIBRARY}
37 + install -m ${DIR_PERM} -d ${LIBRARY}
39 - if [ -d ${LIBRARY} ]; then install -m ${WWW_PERM} -o ${OWNER} -g ${GROUP} *.html *.css *.png ${LIBRARY}; fi
40 + if [ -d ${LIBRARY} ]; then install -m ${WWW_PERM} *.html *.css *.png ${LIBRARY}; fi
42 rm -f ${LIBRARY}/*.c.html ${LIBRARY}/*.h.html ${LIBRARY}/*.1.html
44 diff --git a/ether/Makefile b/ether/Makefile
45 index 807cbcb..574050a 100755
48 @@ -27,13 +27,13 @@ compact: compile
49 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
50 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
52 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
53 + install -m ${DIR_PERM} -d ${BIN}
56 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
57 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
58 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
59 + install -m ${MAN_PERM} ${PAGES} ${MAN}
60 install: $(TOOLS) library
61 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
62 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
64 cd ${BIN}; rm -f ${TOOLS}
66 diff --git a/iso15118/Makefile b/iso15118/Makefile
67 index 72afdc4..da11a1c 100755
68 --- a/iso15118/Makefile
69 +++ b/iso15118/Makefile
70 @@ -27,13 +27,13 @@ compact: compile
71 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
72 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
74 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
75 + install -m ${DIR_PERM} -d ${BIN}
78 - if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}; fi
79 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
80 + if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -d ${MAN}; fi
81 + install -m ${MAN_PERM} ${PAGES} ${MAN}
82 install: compile library
83 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
84 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
86 cd ${BIN}; rm -f plc ${TOOLS}
87 cd ${MAN}; rm -f plc ${PAGES}
88 diff --git a/key/Makefile b/key/Makefile
89 index 7de75ff..ee8968c 100755
92 @@ -28,13 +28,13 @@ compact: compile
93 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
94 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
96 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
97 + install -m ${DIR_PERM} -d ${BIN}
100 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
101 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
102 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
103 + install -m ${MAN_PERM} ${PAGES} ${MAN}
105 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
106 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
108 cd ${BIN}; rm -f ${TOOLS}
109 cd ${MAN}; rm -f ${PAGES}
110 diff --git a/mdio/Makefile b/mdio/Makefile
111 index 60a75a9..062d858 100755
114 @@ -27,13 +27,13 @@ compact: compile
115 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
116 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
118 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
119 + install -m ${DIR_PERM} -d ${BIN}
122 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
123 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
124 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
125 + install -m ${MAN_PERM} ${PAGES} ${MAN}
126 install: $(TOOLS) library
127 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
128 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
130 cd ${BIN}; rm -f int6k ${TOOLS}
131 cd ${MAN}; rm -f int6k ${PAGES}
132 diff --git a/mme/Makefile b/mme/Makefile
133 index d6a9132..23f4775 100755
136 @@ -27,13 +27,13 @@ compact: compile
137 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
138 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
140 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
141 + install -m ${DIR_PERM} -d ${BIN}
144 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
145 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
146 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
147 + install -m ${MAN_PERM} ${PAGES} ${MAN}
148 install: $(TOOLS) library
149 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
150 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
152 cd ${BIN}; rm -f ${TOOLS}
154 diff --git a/nvm/Makefile b/nvm/Makefile
155 index 5ae47d2..d7f4037 100755
158 @@ -28,12 +28,12 @@ compact: compile
159 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
162 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
163 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
164 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
165 + install -m ${MAN_PERM} ${PAGES} ${MAN}
167 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
168 + install -m ${DIR_PERM} -d ${BIN}
169 install: $(TOOLS) library
170 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
171 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
173 cd ${BIN}; rm -f ${TOOLS}
175 diff --git a/pib/Makefile b/pib/Makefile
176 index 3af94c8..908b03a 100644
179 @@ -30,12 +30,12 @@ compact: compile
180 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
183 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
184 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
185 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
186 + install -m ${MAN_PERM} ${PAGES} ${MAN}
188 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
189 + install -m ${DIR_PERM} -d ${BIN}
190 install: $(TOOLS) library
191 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
192 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
194 cd ${BIN}; rm -f ${TOOLS}
196 diff --git a/plc/Makefile b/plc/Makefile
197 index bd8b806..5b41c0b 100644
200 @@ -32,13 +32,13 @@ compact: compile
201 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
202 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
204 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
205 + install -m ${DIR_PERM} -d ${BIN}
208 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
209 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
210 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
211 + install -m ${MAN_PERM} ${PAGES} ${MAN}
212 install: $(TOOLS) library
213 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
214 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
216 cd ${BIN}; rm -f int6k ${TOOLS}
217 cd ${MAN}; rm -f int6k ${PAGES}
218 diff --git a/ram/Makefile b/ram/Makefile
219 index 60b9bb3..c951218 100755
222 @@ -27,13 +27,13 @@ compact: compile
223 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
224 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
226 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
227 + install -m ${DIR_PERM} -d ${BIN}
230 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
231 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
232 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
233 + install -m ${MAN_PERM} ${PAGES} ${MAN}
234 install: $(TOOLS) library
235 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
236 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
238 cd ${BIN}; rm -f ${TOOLS}
239 cd ${MAN}; rm -f ${PAGES}
240 diff --git a/scripts/Makefile b/scripts/Makefile
241 index c9a785a..022e5f9 100755
242 --- a/scripts/Makefile
243 +++ b/scripts/Makefile
244 @@ -30,8 +30,8 @@ all compile:
248 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
249 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
250 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
251 + install -m ${MAN_PERM} ${PAGES} ${MAN}
255 diff --git a/serial/Makefile b/serial/Makefile
256 index c25f1a6..6420d4a 100755
257 --- a/serial/Makefile
258 +++ b/serial/Makefile
259 @@ -27,13 +27,13 @@ compact: compile
260 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
261 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
263 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
264 + install -m ${DIR_PERM} -d ${BIN}
267 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
268 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
269 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
270 + install -m ${MAN_PERM} ${PAGES} ${MAN}
271 install: $(TOOLS) library
272 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
273 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
275 cd ${BIN}; rm -f int6k ${TOOLS}
276 cd ${MAN}; rm -f int6k ${PAGES}
277 diff --git a/slac/Makefile b/slac/Makefile
278 index d69da17..449f20a 100755
281 @@ -27,13 +27,13 @@ compact: compile
282 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
283 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
285 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
286 + install -m ${DIR_PERM} -d ${BIN}
289 - if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}; fi
290 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
291 + if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -d ${MAN}; fi
292 + install -m ${MAN_PERM} ${PAGES} ${MAN}
293 install: compile library
294 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
295 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
297 cd ${BIN}; rm -f plc ${TOOLS}
298 cd ${MAN}; rm -f plc ${PAGES}
299 diff --git a/tools/Makefile b/tools/Makefile
300 index 1d992cf..f17db3d 100755
303 @@ -27,7 +27,7 @@ compact: compile
304 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
305 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
307 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
308 + install -m ${DIR_PERM} -d ${BIN}
311 # install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}