summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pigz
Commit message (Collapse)AuthorAgeFilesLines
* pigz: upgrade 2.7 -> 2.8Wang Mingyu2023-09-021-1/+1
| | | | | | | | (From OE-Core rev: eaf8cf1a24b6459877139105a4a2917751de3998) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: upgrade 2.6 -> 2.7Alexander Kanavin2022-01-202-53/+2
| | | | | | | (From OE-Core rev: 556b9208ba182143c33d29225d8aba84654231e1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: fix one failure of command "unpigz -l"Changqing Li2022-01-172-1/+52
| | | | | | | | | | | | | | | | | | | | | | | Refer [1], "unpigz -l" failed with error: $ ./unpigz -l test.txt.gz compressed original reduced name 228799 209715200 99.9% test.txt unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy) unpigz: abort: internal threads error or $ ./unpigz -l test.txt.gz unpigz: skipping: test.txt.gz unrecognized format unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy) unpigz: abort: internal threads error [1] https://github.com/madler/pigz/issues/96 (From OE-Core rev: 856d9e07e60b6f85681782107934a1bdc12c6429) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-4/+4
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: upgrade 2.4 -> 2.6Anuj Mittal2021-02-181-2/+1
| | | | | | | (From OE-Core rev: 2df01c9fd4d4add863938a6f7679a5af4c5917a6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "pigz: Add debug for autobuilder errors"Richard Purdie2019-06-302-191/+1
| | | | | | This reverts commit b08976456c8ab7f29efd83644ce42746c0d6501b. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Add debug for autobuilder errorsRichard Purdie2019-06-302-1/+191
| | | | | | (From OE-Core rev: b08976456c8ab7f29efd83644ce42746c0d6501b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: bump alternative priorityRoss Burton2019-06-211-1/+1
| | | | | | | | | | | | | As pigz is compatible with gzip, but better performing, if it is installed it should be used by default. Currently gzip has priority of 100 but pigz has priority of 80, so gzip is still used by default. Change the pigz priority to 110 so that it wins of gzip. (From OE-Core rev: 808792122751714de3ba25e463fd8b2709581cfc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: install pigz, unpigz, pigzcat in native and nativesdk builds againMartin Jansa2019-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * since this commit: commit ad1db93d134db1ec4f6d6598c9741dc13e82e1f3 Author: Anuj Mittal <anuj.mittal@intel.com> Date: Tue May 28 06:32:10 2019 +0800 Subject: Revert "pigz: pigz is not gzip" pigz-native and nativesdk-pigz no longer installs pigz, unpigz, pigzcat, so scripts explicitly depending on pigz-native and calling pigz started to fail. * reverse the logic - all the builds install pigz, unpigz, pigzcat - only the native one installs it as gzip as well * it could be optimized a bit more to create gzip as just a symlink in native case as well, but they are in different directories (pigz in base_bindir and gzip in bindir) and it's only 130kB.. (From OE-Core rev: 112deafd1c144d770b6ec0953911f2adc1cb30dd) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "pigz: pigz is not gzip"Anuj Mittal2019-05-301-1/+20
| | | | | | | | | | | | | | | | | This reverts commit a54c59f2a24904daffe51582b6863eebd071db0d. The compatibility issues have since been resolved [1][2] and pigz 2.4 annoucement also states that this can be considered as a drop-in replacemment [3] now. [1] https://github.com/madler/pigz/commit/33c140e5fdc5cd639d1e7cc3c5e52ec016aa8a65 [2] https://github.com/madler/pigz/commit/6fda8570f633ec582ba72ea00dad2bbac825bc17 [3] https://zlib.net/pipermail/pigz-announce_zlib.net/2017-December/000028.html (From OE-Core rev: ad1db93d134db1ec4f6d6598c9741dc13e82e1f3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: use maintainer-built tarballsRoss Burton2018-02-161-4/+4
| | | | | | | (From OE-Core rev: dcce8c82fa971010f4706350534a966896534ec2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: pigz is not gzipRoss Burton2018-02-161-20/+1
| | | | | | | | | | | | | Whilst pigz is effectively a parallel gzip, the command line arguments are not the same so pigz isn't a drop-in replacement for gzip. [ YOCTO #12139 ] [ YOCTO #12410 ] (From OE-Core rev: 1624b7bfea7ac31c344a6cfcc7865a038e943814) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: 2.3.4 -> 2.4Hongxu Jia2018-02-061-3/+3
| | | | | | | | | | | | License-checksum-change: license is no change, only version bump up. https://github.com/madler/pigz/commit/fe822cb435622c43f491013da77b127e9fe851a9 (From OE-Core rev: efa166021d2520b3badfdc44968ee618c65be705) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: merge bb/incRoss Burton2018-01-262-43/+42
| | | | | | | (From OE-Core rev: 7703c74ea08ceddc7641f3cbdf1df5d0993ebf0f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: set downloadfilenameRobert Yang2017-02-231-1/+1
| | | | | | | | | | Otherwise, the filename is v${PV}.tar.gz which isn't straightforward. (From OE-Core rev: e90e10f10413a7340dccd71c7dc7b256240b824a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip/pigz/expat/image: Simplify gzip-native/pigz-nativeRichard Purdie2017-01-281-2/+0
| | | | | | | | | 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>
* pigz: fix upstream version checkAlexander Kanavin2016-12-171-0/+1
| | | | | | | | | | (From OE-Core rev: 0cfe7cb744466271e196c9a080168b62c4affb9b) (From OE-Core rev: 91644687db25cc795682ab0d85fcf6aaa5f2afe8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Update to version 2.3.4Fabio Berton2016-11-303-52/+12
| | | | | | | | | | | | | | | - Change SRC_URI to fetch sources from Github archives. Pigz official site maintains only the latest tarball version and Github have all versions avaiable to download. - Remove patch link-order.patch. The following commit fix this issue: https://github.com/madler/pigz/commit/c3f91d1a12a6f (From OE-Core rev: a6c2a2ce120a047d875ab1f1f9594403d1ff9dbc) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: fix upstream version checkAlexander Kanavin2016-10-282-3/+1
| | | | | | | | (From OE-Core rev: 1e9fb4e0c529044d0c51c0c7fe02f7c1f4439d17) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Update SRC_URIRichard Purdie2016-10-051-0/+2
| | | | | | | | | | Upstream have released a new tarball and removed the old one. Revert to the Yocto Project source mirror instead, preserving the upstream version check. (From OE-Core rev: 839b17ffd96abff3e9cf47fb4a6d680637c865b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Explicitly set EXTRA_OEMAKE as requiredMike Crowe2016-02-101-0/+2
| | | | | | | | | | | This recipe currently relies on EXTRA_OEMAKE having been set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. (From OE-Core rev: 75400306a6f27f5743499d37f0d52fd1f145d9e0) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: set ALTERNATIVE for nativesdk package to emptyChen Qi2015-04-301-0/+1
| | | | | | | | | | | Set ALTERNATIVE for nativesdk package to empty to avoid warnings like below. WARNING: pigz: NOT adding alternative provide xxx/bin/gunzip: xxx/bin/pigz does not exist (From OE-Core rev: 666e0b5c117202e9e866ef62eac99e0af9c8c2fb) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: fix alternatives handling, use symlinks, provide zcatAndreas Oberritter2015-03-251-6/+12
| | | | | | | | | The installed unpigz is a hardlink to pigz. (From OE-Core rev: 5017ff434130c62fabb42f8224fb246801f13d0c) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Upgrade to 2.3.3Khem Raj2015-02-033-14/+54
| | | | | | | | | | | | Fix build issues due to libz being required but is specified before use. Change-Id: I1f26c8e656b330a4b5f1eeffee7ac13500fa98d0 (From OE-Core rev: c939b9cc5bd046261981dcaae6cae9d358ed7671) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: add Apache-2.0 to LICENSEPaul Eggleton2015-01-161-1/+1
| | | | | | | | | | | | As of version 2.3, pigz ships a copy of zopfli, which is Apache-2.0 licensed, so we need to add this to LICENSE. Thanks to Clemens Lang for reporting this. (From OE-Core rev: 84968d3db166b592c95b7a867d7a885752f8a428) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Add pigz to buildtools tarballKonrad Scherer2013-10-301-1/+1
| | | | | | | | | | | | | | When using the tar executable in the buildtools, tar will execute gzip. If this happens before zlib-native is built, then the gzip on the host will be used and can fail if the libz in the buildtools is not compatible. Adding pigz to the build tools avoids this host contamination. (From OE-Core rev: af6424e8c2bf3a938fddabc669c0956d68964ed0) Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: bump to 2.3.1Maxin B. John2013-10-263-26/+3
| | | | | | | | | | Update pigz to latest release - 2.3.1 Drop ldflags.patch as it has been merged upstream (From OE-Core rev: 8081dcb03f54efd551d1c8fe8a0484f8270053e0) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Fix typo in ALTERNATIVES lineSaul Wold2013-07-241-1/+1
| | | | | | | (From OE-Core rev: 661897219bc50d569a2c87b414ab04a7f83f5a8e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Update to 2.3Saul Wold2013-03-182-11/+14
| | | | | | | | | Rebased the patch and added math library to satify tree.c's log() requirement. (From OE-Core rev: f235a69f8d5cee6f6d8e7feccd83e8e619e2ddcf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-1/+1
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 528b4ab831c7b0bc1412318d29e2b7f9cf711d57) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Cleanup: fix PN == BPN casesMark Hatle2012-10-021-1/+3
| | | | | | | | | | | When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'. (From OE-Core rev: acc988272b4e74a9ad1e6da5af5b2d208584197b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Update to upstream version 2.2.5Björn Stenberg2012-08-152-11/+9
| | | | | | | | | | Also added beginline/endline to LIC_FILES_CHKSUM to not track whole pigz.c. (From OE-Core rev: 8bec1f82ab3a53c9b89cdd27b412417b123ce7b1) Signed-off-by: Bjorn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: cleanup update-alternatives deprecated codeSaul Wold2012-08-152-2/+4
| | | | | | | (From OE-Core rev: ec30a17ca617d9251404938da95ce578ff6402cf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Add update-alternatives support since this otherwise conflicts with ↵Richard Purdie2012-03-232-4/+15
| | | | | | | | busybox/gzip (From OE-Core rev: 8903327ff483cd3dbde8cf692be2092462265188) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip/pigz-native: Install into a prefix to avoid clashing with system binariesRichard Purdie2012-03-211-1/+3
| | | | | | | | | | | | | | | | | | | | | Due to the system providing a copy of gzip, we face some issues when we 'shadow' that copy with our own leading to a varient of race type bugs, and issues for example if a dependency such as libz is missing but the binary is still present. We usually rely on our dependency logic to protect us from this but for gzip, we don't have this protection since its not listed by all its users (and doing so would be impractical). This patch installed pigz and gzip into their own directory which we only add to PATH when we explictly want these binaries in much the same way we do with perl-native. This means dependency logic is correct when we use the binary and everything should work well. The patch adds an explict dependency into image.bbclass since the accelerated speed of compression is most appreciated at rootfs time. (From OE-Core rev: 7a98c0ef28822ae1fcee45b14db3edcfd4c7ad8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Ensure DEPENDS on zlib exists for native and target versionsRichard Purdie2012-03-191-1/+1
| | | | | | | | This avoids a build failure for the target version when zlib hasn't built yet. (From OE-Core rev: 3b0a69a99a3a56aa88d69c9288b17a38fa9956b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add pigz as gzip-native alternative.Björn Stenberg2012-03-193-0/+47
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries. This recipe adds pigz as an alternative gzip-native implementation only. (From OE-Core rev: fe5f165c775ccef36a251bb83ca5dadbd209e355) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>