diff options
author | Ross Burton <ross@openedhand.com> | 2007-01-19 20:12:23 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-01-19 20:12:23 +0000 |
commit | e3435563f57f19ed7515368b170ed41037905114 (patch) | |
tree | 67fe30c76e6b17dfc4ab3bfc53b9cd45b6eeffd4 /meta | |
parent | b4fcc5f86a36d87b76ebe4f26680f4e9c896ab17 (diff) | |
download | poky-e3435563f57f19ed7515368b170ed41037905114.tar.gz |
Add a volatile file so /var/run/hald is created
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1172 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/hal/hal_0.5.8.1.bb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/packages/hal/hal_0.5.8.1.bb b/meta/packages/hal/hal_0.5.8.1.bb index 0ac92bfed2..dc07d62846 100644 --- a/meta/packages/hal/hal_0.5.8.1.bb +++ b/meta/packages/hal/hal_0.5.8.1.bb | |||
@@ -8,9 +8,10 @@ RDEPENDS += "udev" | |||
8 | #RDEPENDS_hal-device-manager = "python hal python-pygnome" | 8 | #RDEPENDS_hal-device-manager = "python hal python-pygnome" |
9 | RRECOMMENDS = "udev-utils" | 9 | RRECOMMENDS = "udev-utils" |
10 | 10 | ||
11 | PR = "r1" | 11 | PR = "r2" |
12 | 12 | ||
13 | SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz" | 13 | SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz \ |
14 | file://99_hal" | ||
14 | 15 | ||
15 | S = "${WORKDIR}/hal-${PV}" | 16 | S = "${WORKDIR}/hal-${PV}" |
16 | 17 | ||
@@ -24,6 +25,11 @@ EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \ | |||
24 | --disable-policy-kit \ | 25 | --disable-policy-kit \ |
25 | " | 26 | " |
26 | 27 | ||
28 | do_install_append() { | ||
29 | install -d ${D}/etc/default/volatiles | ||
30 | install -m 0644 ${WORKDIR}/99_hal ${D}/etc/default/volatiles | ||
31 | } | ||
32 | |||
27 | do_stage() { | 33 | do_stage() { |
28 | autotools_stage_all | 34 | autotools_stage_all |
29 | install -d ${STAGING_LIBDIR} | 35 | install -d ${STAGING_LIBDIR} |
@@ -37,6 +43,9 @@ pkg_postinst_hal () { | |||
37 | if [ "x$D" != "x" ]; then | 43 | if [ "x$D" != "x" ]; then |
38 | exit 1 | 44 | exit 1 |
39 | fi | 45 | fi |
46 | |||
47 | /etc/init.d/populate-volatile.sh update | ||
48 | |||
40 | grep haldaemon /etc/group || addgroup haldaemon | 49 | grep haldaemon /etc/group || addgroup haldaemon |
41 | grep haldaemon /etc/passwd || adduser --disabled-password --system --home /var/run/hald --no-create-home haldaemon --ingroup haldaemon -g HAL | 50 | grep haldaemon /etc/passwd || adduser --disabled-password --system --home /var/run/hald --no-create-home haldaemon --ingroup haldaemon -g HAL |
42 | 51 | ||