diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-27 12:34:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-28 23:32:16 +0000 |
commit | ab0f46400c113c0d893be872727a67739d5e794d (patch) | |
tree | 67d0e9dc84bccdb51a642efec451a2e69b06494b /meta | |
parent | e6e0ac4fb8d98b2043e19e76d5c7409a74236e86 (diff) | |
download | poky-ab0f46400c113c0d893be872727a67739d5e794d.tar.gz |
gzip/pigz/expat/image: Simplify gzip-native/pigz-native
With recipe specific sysroots, the gzip-replacement-native dance/class
is obsolete, simplify the code accordingly.
(From OE-Core rev: 39865fdf3698a130f792d41853f9c9ca1901e335)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/gzipnative.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/image_types.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-core/expat/expat.inc | 6 | ||||
-rw-r--r-- | meta/recipes-extended/gzip/gzip_1.8.bb | 1 | ||||
-rw-r--r-- | meta/recipes-extended/pigz/pigz_2.3.4.bb | 2 |
6 files changed, 4 insertions, 14 deletions
diff --git a/meta/classes/gzipnative.bbclass b/meta/classes/gzipnative.bbclass deleted file mode 100644 index 326cbbb6f6..0000000000 --- a/meta/classes/gzipnative.bbclass +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | EXTRANATIVEPATH += "pigz-native gzip-native" | ||
2 | DEPENDS += "gzip-native" | ||
3 | |||
4 | # tar may get run by do_unpack or do_populate_lic which could call gzip | ||
5 | do_unpack[depends] += "gzip-native:do_populate_sysroot" | ||
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 71b7ebc958..4d50601bb2 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -9,8 +9,6 @@ TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" | |||
9 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY}" | 9 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY}" |
10 | POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_sysroot_relativelinks; " | 10 | POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_sysroot_relativelinks; " |
11 | 11 | ||
12 | inherit gzipnative | ||
13 | |||
14 | LICENSE = "MIT" | 12 | LICENSE = "MIT" |
15 | PACKAGES = "" | 13 | PACKAGES = "" |
16 | DEPENDS += "${MLPREFIX}qemuwrapper-cross depmodwrapper-cross" | 14 | DEPENDS += "${MLPREFIX}qemuwrapper-cross depmodwrapper-cross" |
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 50545d9fdf..d3c7326b19 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -359,7 +359,7 @@ CONVERSION_CMD_sha384sum = "sha384sum ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} | |||
359 | CONVERSION_CMD_sha512sum = "sha512sum ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} > ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.sha512sum" | 359 | CONVERSION_CMD_sha512sum = "sha512sum ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} > ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.sha512sum" |
360 | CONVERSION_CMD_bmap = "bmaptool create ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} -o ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.bmap" | 360 | CONVERSION_CMD_bmap = "bmaptool create ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} -o ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.bmap" |
361 | CONVERSION_DEPENDS_lzma = "xz-native" | 361 | CONVERSION_DEPENDS_lzma = "xz-native" |
362 | CONVERSION_DEPENDS_gz = "" | 362 | CONVERSION_DEPENDS_gz = "pigz-native" |
363 | CONVERSION_DEPENDS_bz2 = "pbzip2-native" | 363 | CONVERSION_DEPENDS_bz2 = "pbzip2-native" |
364 | CONVERSION_DEPENDS_xz = "xz-native" | 364 | CONVERSION_DEPENDS_xz = "xz-native" |
365 | CONVERSION_DEPENDS_lz4 = "lz4-native" | 365 | CONVERSION_DEPENDS_lz4 = "lz4-native" |
diff --git a/meta/recipes-core/expat/expat.inc b/meta/recipes-core/expat/expat.inc index fe9d7e74f0..9fa0ca2eb3 100644 --- a/meta/recipes-core/expat/expat.inc +++ b/meta/recipes-core/expat/expat.inc | |||
@@ -7,12 +7,12 @@ LICENSE = "MIT" | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.bz2 \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.bz2 \ |
8 | file://autotools.patch \ | 8 | file://autotools.patch \ |
9 | " | 9 | " |
10 | 10 | inherit autotools lib_package | |
11 | inherit autotools lib_package gzipnative | ||
12 | 11 | ||
13 | # This package uses an archive format known to have issue with some | 12 | # This package uses an archive format known to have issue with some |
14 | # versions of gzip | 13 | # versions of gzip |
15 | do_unpack[depends] += "gzip-native:do_populate_sysroot" | 14 | DEPENDS += "pigz-native" |
15 | do_unpack[depends] += "pigz-native:do_populate_sysroot" | ||
16 | 16 | ||
17 | do_configure_prepend () { | 17 | do_configure_prepend () { |
18 | rm -f ${S}/conftools/libtool.m4 | 18 | rm -f ${S}/conftools/libtool.m4 |
diff --git a/meta/recipes-extended/gzip/gzip_1.8.bb b/meta/recipes-extended/gzip/gzip_1.8.bb index a19b965399..11be846b21 100644 --- a/meta/recipes-extended/gzip/gzip_1.8.bb +++ b/meta/recipes-extended/gzip/gzip_1.8.bb | |||
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | |||
9 | file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e" | 9 | file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e" |
10 | 10 | ||
11 | PROVIDES_append_class-native = " gzip-replacement-native" | 11 | PROVIDES_append_class-native = " gzip-replacement-native" |
12 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | ||
13 | 12 | ||
14 | BBCLASSEXTEND = "native" | 13 | BBCLASSEXTEND = "native" |
15 | 14 | ||
diff --git a/meta/recipes-extended/pigz/pigz_2.3.4.bb b/meta/recipes-extended/pigz/pigz_2.3.4.bb index 87b61bfb29..53c56c5947 100644 --- a/meta/recipes-extended/pigz/pigz_2.3.4.bb +++ b/meta/recipes-extended/pigz/pigz_2.3.4.bb | |||
@@ -7,7 +7,5 @@ SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz" | |||
7 | SRC_URI[md5sum] = "c109057050b15edf3eb9bb4d0805235e" | 7 | SRC_URI[md5sum] = "c109057050b15edf3eb9bb4d0805235e" |
8 | SRC_URI[sha256sum] = "763f2fdb203aa0b7b640e63385e38e5dd4e5aaa041bc8e42aa96f2ef156b06e8" | 8 | SRC_URI[sha256sum] = "763f2fdb203aa0b7b640e63385e38e5dd4e5aaa041bc8e42aa96f2ef156b06e8" |
9 | 9 | ||
10 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
13 | 11 | ||