diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-15 22:15:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-16 08:22:45 +0100 |
commit | 00e054eac305e5e32e30183e31dea415cc1f36ae (patch) | |
tree | 86c17ef85f8c9074cceec41eb261481ecbe354c1 /meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch | |
parent | ecb6abedfc5edaa15569210c27e18251af281799 (diff) | |
download | poky-00e054eac305e5e32e30183e31dea415cc1f36ae.tar.gz |
syslinux: fix race issue
Fixed do_install failed:
cp -r syslinux-6.01/com32/libupload/*.h image/usr/share/syslinux/com32/include/
[snip]
rm -rf image/usr/share/syslinux/com32/include
[snip]
cp: cannot create regular file `image/usr/share/syslinux/com32/include/serial.h': No such file or directory
The cp is happened in the "libupload" dir, while "rm -fr" is happend in
"lib" dir, let "libupload" depend "lib" will fix the problem.
(From OE-Core rev: 7df3b098278b6d5eb418af9dfe7fd2d3b3ea607c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch')
-rw-r--r-- | meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch b/meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch new file mode 100644 index 0000000000..c0714b5175 --- /dev/null +++ b/meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 490fc3bbd65c2c252c1fdf3da0fac9898aa9eea6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Fri, 15 Aug 2014 21:09:16 -0700 | ||
4 | Subject: [PATCH] com32/Makefile: fix parallel issue | ||
5 | |||
6 | Fixed: | ||
7 | cp -r syslinux-6.01/com32/libupload/*.h image/usr/share/syslinux/com32/include/ | ||
8 | [snip] | ||
9 | rm -rf image/usr/share/syslinux/com32/include | ||
10 | [snip] | ||
11 | cp: cannot create regular file `image/usr/share/syslinux/com32/include/serial.h': No such file or directory | ||
12 | |||
13 | The cp is happened in the "libupload" dir, while "rm -fr" is happend in | ||
14 | "lib" dir, let "libupload" depend "lib" will fix the problem. | ||
15 | |||
16 | Upstream-Status: Pending | ||
17 | |||
18 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
19 | --- | ||
20 | com32/Makefile | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | diff --git a/com32/Makefile b/com32/Makefile | ||
24 | index 9a1721b..f172db2 100644 | ||
25 | --- a/com32/Makefile | ||
26 | +++ b/com32/Makefile | ||
27 | @@ -21,3 +21,4 @@ rosh: lib libutil | ||
28 | samples: libutil elflink/ldlinux | ||
29 | sysdump: libupload gpllib | ||
30 | gpllib: lib | ||
31 | +libupload: lib | ||
32 | -- | ||
33 | 1.7.9.5 | ||
34 | |||