diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-09-02 10:04:19 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-02 22:17:11 +0100 |
commit | 2eeb0943ac5b3d8f942ae7f9cf655c12827483ae (patch) | |
tree | a9851783ca24013d11b34c76d8f0bf73cf1840eb /meta/recipes-extended/at/files/S99at | |
parent | 558ef570975f6f83a1878a41ecd984ef07a1a443 (diff) | |
download | poky-2eeb0943ac5b3d8f942ae7f9cf655c12827483ae.tar.gz |
at: fix for parallel build issue & bug #180
parallel build was failing inconsistently due to missing dependancy
specification in the make file. Fixed it with a new patch.
Bug 180 reported this issue:
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -c -I.
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-ggdb
-feliminate-unused-debug-types -DHAVE_CONFIG_H -DVERSION=\"3.1.12\"
-DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"daemon\"
-DDAEMON_GROUPNAME=\"daemon\" -DLFILE=\"/var/spool/cron/atjobs/.SEQ\"
-Wall
atd.c
| atd.c:511:2: error: #error "No mail command specified."
| make: *** [atd.o] Error 1
Fixed it with the recommended solution of defining SENDMAIL as /bin/true
Fixes [BUGID #180]
Reorganized the recipe file for cleanlyness.
Add the init script for at
As per Scott's wiki instructions added the this init script for at:
http://git.buildroot.net/buildroot/tree/package/at/S99at
add libpam to dependancy
And bumped PR.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-extended/at/files/S99at')
-rw-r--r-- | meta/recipes-extended/at/files/S99at | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/files/S99at b/meta/recipes-extended/at/files/S99at new file mode 100644 index 0000000000..bcfcbdae21 --- /dev/null +++ b/meta/recipes-extended/at/files/S99at | |||
@@ -0,0 +1,39 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # Starts at daemon | ||
4 | # | ||
5 | |||
6 | umask 077 | ||
7 | |||
8 | start() { | ||
9 | echo -n "Starting atd: " | ||
10 | start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f | ||
11 | echo "OK" | ||
12 | } | ||
13 | stop() { | ||
14 | echo -n "Stopping atd: " | ||
15 | start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid | ||
16 | echo "OK" | ||
17 | } | ||
18 | restart() { | ||
19 | stop | ||
20 | start | ||
21 | } | ||
22 | |||
23 | case "$1" in | ||
24 | start) | ||
25 | start | ||
26 | ;; | ||
27 | stop) | ||
28 | stop | ||
29 | ;; | ||
30 | restart|reload) | ||
31 | restart | ||
32 | ;; | ||
33 | *) | ||
34 | echo $"Usage: $0 {start|stop|restart}" | ||
35 | exit 1 | ||
36 | esac | ||
37 | |||
38 | exit $? | ||
39 | |||