]> code.ossystems Code Review - openembedded-core.git/commitdiff
at: run daemon as root user
authorScott Garman <scott.a.garman@intel.com>
Fri, 27 Aug 2010 04:01:06 +0000 (21:01 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 31 Aug 2010 16:21:32 +0000 (17:21 +0100)
Permission problems are encountered when running atd as the default
(daemon) user, so run it as root instead. These options are also
used in the OpenEmbedded recipe for at.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
meta/recipes-extended/at/at_3.1.12.bb

index 141168dc9a0ee30731f334b88474338d097fe0ad..83a456eaebeb6859a7e0156cff2bba9f209053e2 100644 (file)
@@ -12,3 +12,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
 
 SRC_URI[md5sum] = "1e67991776148fb319fd77a2e599a765"
 SRC_URI[sha256sum] = "7c55c6ab4fbe8add9e68f31b2b0ebf3fe805c9a4e7cfb2623a3d8a4789cc18f3"
+
+EXTRA_OECONF += "--with-jobdir=/var/spool/cron/atjobs \
+                 --with-atspool=/var/spool/cron/atspool \
+                 --with-daemon_username=root \
+                 --with-daemon_groupname=root \
+                "