diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-05-21 13:23:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 20:45:25 +0100 |
commit | b9ec9f7425cd11fada2ba104122b0f1ea823ae28 (patch) | |
tree | 337f9dde5d4cc29f2c69004a16e2991a06a706cf /meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb | |
parent | 9e4aad97c3b4395edeb9dc44bfad1092cdf30a47 (diff) | |
download | poky-b9ec9f7425cd11fada2ba104122b0f1ea823ae28.tar.gz |
squashfs-tools: enable building unsquashfs and fix squashfs-4.2-fix-CVE-2012-4025.patch
* build unsqaushfs, useful when debuging corrupt squashfs from
mksquashfs
* squashfs-4.2-fix-CVE-2012-4025.patch fixes CVE in unsquashfs which we
weren't building and it actually breaks building it, because someone
missed squashfs_fs.h change from the original change
* add git headers in all patches and fix references to new github
repository
(From OE-Core rev: e1a2540227250d854d5bba278634bcc9e7572cda)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb')
-rw-r--r-- | meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb index 57400cdda0..8fdb81030b 100644 --- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb +++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.2.bb | |||
@@ -30,11 +30,12 @@ S = "${WORKDIR}/squashfs${PV}/squashfs-tools" | |||
30 | EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1" | 30 | EXTRA_OEMAKE = "MAKEFLAGS= LZMA_SUPPORT=1 LZMA_DIR=../.. XZ_SUPPORT=1" |
31 | 31 | ||
32 | do_compile() { | 32 | do_compile() { |
33 | oe_runmake mksquashfs | 33 | oe_runmake mksquashfs unsquashfs |
34 | } | 34 | } |
35 | do_install () { | 35 | do_install () { |
36 | install -d ${D}${sbindir} | 36 | install -d ${D}${sbindir} |
37 | install -m 0755 mksquashfs ${D}${sbindir}/ | 37 | install -m 0755 mksquashfs ${D}${sbindir}/ |
38 | install -m 0755 unsquashfs ${D}${sbindir}/ | ||
38 | } | 39 | } |
39 | 40 | ||
40 | ARM_INSTRUCTION_SET = "arm" | 41 | ARM_INSTRUCTION_SET = "arm" |