summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg.inc
Commit message (Collapse)AuthorAgeFilesLines
* dpkg: upgrade to 1.16.8Constantin Musca2012-09-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | autofoo.patch: removed - the patch is not used check_version: adapted to the new version - adapt the linux-wrs kernel version, which has character '_' - remove the first-char-digit-check (as the 1.15.8.5 version does) dpkg-deb-avoid-fflush.patch: removed - the patch is included in the new version fix-timestamps.patch: added - the lutimes function doesn't work properly for all systems ignore_extra_fields.patch: adapted to the new version nochroot.patch: removed - the patch is not used noman.patch: adapted to the new version noupdalt.patch: removed - the patch is not used perllibdir.patch: removed - in the new version PERL_LIBDIR will be set only if empty preinst.patch: adapted to new version removed-tar-no-timestamp.patch: added - the busybox-1.19.4 tar utility doesn't support --warning=no-timestamp (From OE-Core rev: 02e8b5c1fd68fa18ee81ba2920cd48fea8a1ef5e) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg 1.15.8.7: bad interpreter when long tmpdirRobert Yang2012-07-051-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | When use PACKAGE_CLASSES = "package_deb", and the length of tmpdir is longer than 177, the error occurs during the image generation: /very/long/path/totmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages: bad interpreter: No such file or directory The interpreter is perl, and it does exist, this is because the first line: #!/very/long/path/to/perl in the script can't be very long. Create a wrapper for it would fix the problem. [YOCTO #2640] (From OE-Core rev: 7d3281be18567207de8ce2cabce03957bf2cbca8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: rename postinst trigger scriptOtavio Salvador2012-03-131-3/+3
| | | | | | | | | | Use 'run-postinsts' as trigger script name as it describes better the intent of it. (From OE-Core rev: 69a4765d63ac6de3f1a6804cfca6b52c008e4c22) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: split into binary and library packagesAndreas Oberritter2012-03-081-1/+1
| | | | | | | | | | * Create libbz2 (and -dev, -staticdev), which can be installed without the bzip2 executables. (From OE-Core rev: e27af1f273e9a7348dd8f5542df9206acd9210f3) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: 50fd9125f24eb4f1464771fd15134d5321f91b9b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: Fix perl pathRichard Purdie2011-12-021-1/+2
| | | | | | | | | The path to the native perl was incorrect leading to rootfs failures. This patch corrects that problem. (From OE-Core rev: 044324465bd54d53ae768f3c1e7468ae0e0c6200) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives: Various fixesRichard Purdie2011-11-161-3/+11
| | | | | | | | | | | | | dpkg-native's update-alternatives is broken for offline work so don't install it. Also list update-alternatives in the multiprovider whitelist to avoid unwanted multiple provider warnings when multiple package backends are enabled. (From OE-Core rev: 300336fc4a310ed16a14ad041744708d54aae189) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usableRichard Purdie2011-11-151-5/+33
| | | | | | | | | | | | | | | | | The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. (From OE-Core rev: fad496c759066d53bebf9b8cebc63e6478c91d19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternativesDexuan Cui2011-09-131-11/+8
| | | | | | | | | | | | | | | | | | | [YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. (From OE-Core rev: c7af358ec427487ccc053316d2f68f6121b97181) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-231-1/+1
| | | | | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default (From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Update to use perlnativeSaul Wold2011-08-051-1/+3
| | | | | | | | | [YOCTO #1298] (From OE-Core rev: 333a3d34da0dc821f4d37921ac8444e2c3f3e1e6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: should depend on perl-native-runtime rather than perl-nativeDexuan Cui2011-06-091-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Remove distro-specific metadata for distros not in oe-corePaul Eggleton2011-05-051-1/+0
| | | | | | | (From OE-Core rev: ea2cd4b8e9bc013a007fe2a1a605ecb59db5a896) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Add dependency on perl since otherwise the module can be installed to ↵Richard Purdie2011-01-131-2/+2
| | | | | | an incorrect directory leading to build failures Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: Don't install update-alternatives as it isn't cross rootfs capableRichard Purdie2010-10-111-1/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* dpkg: upgrade to version 1.15.8.5Dongxiao Xu2010-10-091-1/+1
| | | | | | | | | Rebase several patches to fit the latest version Fix a compile issue related with snprintf. dpkg: bump PR Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* dpkg: upgrade to version 1.15.8.5Dongxiao Xu2010-10-081-4/+3
| | | | | | | | | Rebase several patches to fit the latest version Fix a compile issue related with snprintf. Reset PR in dpkg.inc Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+40
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>