summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/at/files/nonstripbinaries.patch
diff options
context:
space:
mode:
authorMei Lei <lei.mei@intel.com>2010-10-21 12:36:51 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-21 13:52:01 +0100
commit0e0d14ed1e88ebff876abb3d00b08627a3879e8d (patch)
tree335844d5b995e324425c748c89b734aed87dc37a /meta/recipes-extended/at/files/nonstripbinaries.patch
parent27d06858b5f3138039bddecc0eaaee1e05e21b48 (diff)
downloadpoky-0e0d14ed1e88ebff876abb3d00b08627a3879e8d.tar.gz
at: remove nonrootinstall patch and modify some relevant files
remove nonrootinstall patch, and use a patch named nonstripbinaries to modi fy the /at-3.1.10.2/Makefile.in, so it can also handles stripping of the bi naries Fix [BUG 246] Signed-off-by: Mei Lei <lei.mei@intel.com>
Diffstat (limited to 'meta/recipes-extended/at/files/nonstripbinaries.patch')
-rw-r--r--meta/recipes-extended/at/files/nonstripbinaries.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/files/nonstripbinaries.patch b/meta/recipes-extended/at/files/nonstripbinaries.patch
new file mode 100644
index 0000000000..f89aa65576
--- /dev/null
+++ b/meta/recipes-extended/at/files/nonstripbinaries.patch
@@ -0,0 +1,25 @@
1#Because remove nonrootinstall patch, the stripping of the binaries can not
2#be handled.
3#This patch is to handle the stripping of the binaries.
4#Mei Lei<lei.mei@intel.com> make this change
5diff --git a/build/downloads/at-3.1.12/Makefile.in b/build/downloads/at-3.1.12/Makefile.in
6index dae6b7d..71a5d89 100644
7--- a/build/downloads/at-3.1.12/Makefile.in
8+++ b/build/downloads/at-3.1.12/Makefile.in
9@@ -97,14 +97,14 @@ install: all
10 chmod 600 $(IROOT)$(LFILE)
11 chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE)
12 test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/
13- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir)
14+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir)
15 $(LN_S) -f at $(IROOT)$(bindir)/atq
16 $(LN_S) -f at $(IROOT)$(bindir)/atrm
17 $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir)
18 $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir)
19 $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir)
20 $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir)
21- $(INSTALL) -g root -o root -m 755 -s atd $(IROOT)$(sbindir)
22+ $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir)
23 $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir)
24 $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/
25 cd $(IROOT)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1