summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox_1.24.1.bb
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-04-21 12:24:07 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-22 16:28:57 +0100
commit2755304a7dedf0bf07346c7c8a247b040313071a (patch)
treeaf9b95c9f963bd5d199f11390d273381f2030eb7 /meta/recipes-core/busybox/busybox_1.24.1.bb
parent7da7587da1e920fcc67404ea34e915c93352eed6 (diff)
downloadpoky-2755304a7dedf0bf07346c7c8a247b040313071a.tar.gz
busybox: update flock behavior to match upstream
In "util-linux" implementation of flock, -c 'PROG ARGS' means run "sh -c 'PROG ARGS'". At present, busybox implementation doesn't follow it. That causes errors like the one listed below: smart install /media/cronie-1.5.0-r0.core2_64.rpm Updating cache... <snip> Output from cronie-1.5.0-r0@core2_64: Running groupadd commands... NOTE: cronie: Performing groupadd with [ --system crontab] ERROR: cronie: groupadd command did not succeed. error: %pre(cronie-1.5.0-r0.core2_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping cronie-1.5.0-r0.core2_64 This is because we use flock command in preinstall scripts in packages which create new groups/users. [YOCTO #9496] (From OE-Core rev: 84686b51043c5a6b0ae184d00f547ccbd7832f39) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox_1.24.1.bb')
-rw-r--r--meta/recipes-core/busybox/busybox_1.24.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb b/meta/recipes-core/busybox/busybox_1.24.1.bb
index bdaa5a5640..f699f993b5 100644
--- a/meta/recipes-core/busybox/busybox_1.24.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.24.1.bb
@@ -32,6 +32,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
32 file://busybox-1.24.1-unzip.patch \ 32 file://busybox-1.24.1-unzip.patch \
33 file://busybox-1.24.1-unzip-regression.patch \ 33 file://busybox-1.24.1-unzip-regression.patch \
34 file://busybox-1.24.1-truncate-open-mode.patch \ 34 file://busybox-1.24.1-truncate-open-mode.patch \
35 file://0001-flock-update-the-behaviour-of-c-parameter-to-match-u.patch \
35 file://mount-via-label.cfg \ 36 file://mount-via-label.cfg \
36 file://sha1sum.cfg \ 37 file://sha1sum.cfg \
37 file://sha256sum.cfg \ 38 file://sha256sum.cfg \