summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tar/tar.inc
Commit message (Collapse)AuthorAgeFilesLines
* tar: fix install if bindir == base_bindirDominic Sacré2015-09-231-4/+6
| | | | | | | | | | | | Don't try to move binaries onto themselves if ${bindir} and ${base_bindir} are the same, as is the case on systems with a merged /usr directory. (From OE-Core rev: 2c7149633731272df5323dd0bd5165a67b0eb2f4) Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIXPatrick Ohly2015-08-191-6/+5
| | | | | | | | | | | | | | | | | | | | | | | Building tar-replacement-native as replacement of the host's tar in the standard path was meant to be done manually by a user in preparation for the regular bitbake run. Such a usage has been superseeded by installing the pre-compiled buildutils and might have been broken on hosts which need it by the sanity check for tar >= 1.26. Therefore tar-replacement-native_1.28.bb can be removed in favor of adapting the normal tar recipe such that it installs an opt-in binary under a different path. The special do_install logic is explicitly limited to class-target, instead of making it the default and disabling it (which would be the case for class-native and class-nativesdk). (From OE-Core rev: e6fee3ddb5600fc564243a96d6232b4ae097df32) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Add symlink to tar from gtarRichard Purdie2015-07-131-0/+2
| | | | | | | | | | | | dpkg-deb accesses tar via "gtar", add a symlink to ensure that nativesdk for example correctly catches these accesses to tar (for buildtools-tarball). This likely also fixes on target dpkg-deb usage. [YOCTO #7988] (From OE-Core rev: 18ccd233810869c84af28783a9fa1906c1b30232) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: set acpaths to avoid "Argument list too long" errorChong Lu2015-03-221-0/+6
| | | | | | | | | | | | | | | | | | | | There would be an error when the TMPDIR is long/deep, for example when len(TMPDIR) = 410 while our supported longest value is 410: aclocal: error: cannot open xxx autoreconf: aclocal failed with exit status: 1 ERROR: autoreconf execution failed. Let aclocal use the relative path for the m4 file rather than the absolute would fix the problem. [YOCTO #6138] (From OE-Core rev: 747333764231d0320bdefbcf192b2589e70c58a1) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar 1.17: fix unknown-configure-optionRobert Yang2015-02-081-2/+0
| | | | | | | | | | | | WARNING: QA Issue: tar: configure was passed unrecognised options: --without-posix-acls [unknown-configure-option] tar 1.17 doesn't support --without-posix-acls, move it from tar.inc to tar_1.28.bb to fix the problem. (From OE-Core rev: faf469f9b5fbf794311d83db26cdf7f1042785c0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-021-1/+1
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: add knob whether acl.h are checkedChong Lu2014-03-191-0/+2
| | | | | | | | | | | | | Previously, it still was checked when there was no sys/acl.h in sysroots directory. Add knob to decide whether acl.h are checked or not. Fixed by using PACKAGECONFIG to check acl, with default disabled set. (From OE-Core rev: ab0bbeeb0b0f6c3c5c7298929cfee757d7bbb111) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: don't mv tar for nativesdkSaul Wold2013-06-101-0/+1
| | | | | | | | | | We move tar into /bin for target but it can stay in /usr/bin for nativesdk this will also mean the paths are correct for the buildtools-tarball environment (From OE-Core rev: b4f208f418d18f2a4e78a56bebacef481061d917) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git/tar/findutils: Add nativesdk versionsRichard Purdie2013-06-071-0/+4
| | | | | | | | | | | | | We need to be able to generate a standalone tarball containing tar/git so add nativesdk versions of the appropriate recipes to allow this to be possible. Tweak the git perl paths to avoid warnings when building the nativesdk version, ensure the binaries are wrapped correctly and avoid update-alternatives in nativesdk-tar. (From OE-Core rev: c91bb8c76e3bd45690e66f3de79cd3adfe45f600) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Split RMT from tarMark Hatle2012-12-061-2/+9
| | | | | | | | | | | | After the recent change of the libexecdir definition, the update-alternatives for the libexec rmt broke. Fix this by moving rmt from libexec to /sbin. Also split the rmt app from tar as it's likely not useful to many users. (From OE-Core rev: cc5879ce75713506e76481f36d6e45dc3b31948c) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: fix build with automake 1.12.xNitin A Kamble2012-07-171-1/+0
| | | | | | | | | | | | | | | | | | | automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails. cleanup the do_install_append for automake 1.12.x Avoid this error: | rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/tar-1.26-r1/image/usr/sbin/': No such file or directory NOTE: package tar-1.26-r1: task do_install: Failed no PR bump as no change in the output. (From OE-Core rev: c3c103abb533cc9aae178d41b1bd216165f3bc9a) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: use new update-alternativesMark Hatle2012-05-301-10/+8
| | | | | | | (From OE-Core rev: ed48d4b382dae08ac47bccdcb98b1e87dc6449cc) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Fix unpackaged files warningsRichard Purdie2012-03-161-1/+3
| | | | | | | | | | WARNING: For recipe tar, the following files/directories were installed but not shipped in any package: WARNING: /usr/sbin WARNING: /usr/bin (From OE-Core rev: bc63db7bc7dda759ee95ccef37f2ceb257c83777) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade to v1.26Scott Garman2011-06-071-0/+1
| | | | | | | (From OE-Core rev: 0be04e2931ec1f7d5bd3ff538913081e2e8ec04f) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar.inc: Fix unintended damageRichard Purdie2011-02-211-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: Fix installRichard Purdie2011-02-211-1/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: Add a target to replace the default tarRichard Purdie2011-02-211-2/+9
| | | | | | | | | | | | tar < 1.24 has symlink issues where extracting a tar archive containing a symlink to a directory where that symlink already exists will cause the symlink to be dereferenced. If that target doesn't exist tar can fail with a permissions error. Since we need to be able to do this for packages containing symlinks like xorg-minimal-fonts and eglibc, we have to ensure a tar 1.25 is available early in the build process. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: Add Summary informationMark Hatle2010-12-161-0/+1
| | | | | | Add Summary information and update descriptions as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+25
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>