summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/createrepo
Commit message (Collapse)AuthorAgeFilesLines
* createrepo: Fix stat floating timestampsRichard Purdie2016-03-072-0/+20
| | | | | | | | | | When reading the mtime from disk, the system can get a floating point value. Convert this to an int for comparision purposes, else some packages always get reindexed as the value in the index is an int. (From OE-Core rev: cc01ffeee757738c169f8970fd89bf0933e93532) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: disable RPM signature validationMarkus Lehtonen2015-09-032-8/+40
| | | | | | | | | | | | | | | | | | Disable RPM signature validation so that it is possible to create package feeds of signed RPM packages without importing the public part of the signing key into the RPM database. In any case, the signatures are validated when the packages in the feed are used (e.g. in image generation of manually installing packages from the feed). The original idea idea of this patch is from Mark Hatle <mark.hatle@windriver.com>. [YOCTO #8134] (From OE-Core rev: c419c64c30736ecc7b496161b4f9d9f3cc88102f) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upstream_tracking.inc: deprecate and move contents to recipesAlexander Kanavin2015-09-011-0/+2
| | | | | | | | | | No-update reasons and manual version checks should be in the recipes themselves because otherwise they're prone to getting out of date. (From OE-Core rev: b384345d9a693cbc3fd0dbeed9edd8c24618259d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: Implement --dbpath command line optionEd Bartosh2015-04-022-0/+62
| | | | | | | | | | | | | | | | | --dbpath option can be used in cases where users don't want createrepo to use system rpm db to avoid possible collisiouns with other programs. For bitbake builds it would be possible to specify different databases even for every createrepo run. Considering that rootfs builds can run multiple createrepo in parallel, it can help to avoid race conditions caused by accessing or creating the same rpm database by multiple createrepo instances at the same time. (From OE-Core rev: 7dc6d50ac1fc20a262b62330d950a8e30acdf0b6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: RDEPENDS on libxml2-pythonRobert Yang2014-06-251-0/+1
| | | | | | | | | | | | | | Fixed the error when run createrepo on target: Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 27, in <module> import libxml2 File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in <module> ImportError: No module named libxml2mod (From OE-Core rev: 3ec0f411985cf6891b34e1f9624df9df38c9fc6f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: drop the usage of create_wrapperRoss Burton2013-06-131-1/+1
| | | | | | | | | | | | | | | create_wrapper was previously abused to invoke the Python interpretter directly instead of relying on #! parsing, which is read into a 128 byte buffer so breaks with deep build directories. However now that we already install a "nativepython" binary into the native sysroot, use sed to change the #! line to /usr/bin/env nativepython. (From OE-Core rev: 7d91b44e00d6c50b7b5fbef17f2bae8e3a983a4c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-native: update dependencyKang Kai2013-01-221-2/+2
| | | | | | | | | | | | "RDEPENDS_${PN}_class-native" doesn't work for native recipe because no -native package will be created. Then the dependencies listed here are not built when bitbake createrepo-native. Update and use DEPENDS_class-native instead. (From OE-Core rev: 0b8dc781e4df0edffa10ac989f8745ac3f684de0) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: implement support for recommendsPaul Eggleton2012-12-062-1/+73
| | | | | | | | | | | | Adds a flag into the output metadata to note recommends relationships in a way that should not break compatibility with clients that don't understand this flag. (From OE-Core rev: e7df818182e9e68b2e0fdede20a41d492b776a5b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] (From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51) 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>
* createrepo: add wrapper script to fix pathsPaul Eggleton2012-08-131-1/+6
| | | | | | | | | | | | | | | Fixes sstate relocation due to the path to /etc/rpm being baked into the libraries - this manifested in the form of the following assertion at runtime: python: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed. Fixes [YOCTO #2753]. (From OE-Core rev: b5028cc84ad7c40c51cadbdf7fdc892cde4462cb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo 0.4.11: create wrapper for python scriptRobert Yang2012-08-011-1/+14
| | | | | | | | | | | | | The native python is installed to ${STAGING_BINDIR_NATIVE}/python-native/python, so we should use wrapper for the python script. [YOCTO #2822] (From OE-Core rev: 1e96a8460b93ba9c0c9a6c4ea4ffd6a19302831c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo 0.4.11: add rpm-createsolvedb.pyRobert Yang2012-08-012-1/+67
| | | | | | | | | | | | | Move scripts/rpm-createsolvedb.py to meta/recipes-support/createrepo/createrepo/ since we should wrap it to use the native python. [YOCTO #2822] (From OE-Core rev: 72d673bef385e756bd858f9eca7fe419efaceb39) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing Upstream-Status to various patches.Mark Hatle2012-07-261-0/+3
| | | | | | | (From OE-Core rev: 951e9caac62a4de576e4003319101e8ff59d72d9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo 0.4.11: fix the RDEPENDSRobert Yang2012-07-201-1/+3
| | | | | | | | | | | | | | | | | | The libxml2-native and rpm-native should be ready before createrepo runs since it needs "import libxml2 rpm". The target createrepo needs libxml2-python when run, but the libxml2 doesn't generate the python module (disabled). We may need to fix it or rename the recipe to createrepo-native_0.4.11.bb. This recipe is only for the rpm backend system. [YOCTO #2753] (From OE-Core rev: 77f4cc3ccb1aff467004e63cf80320534e02c01b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: For compatibility w/ RPM 5.4.9 remove RPMVSF_NOSIGNATURES flagMark Hatle2012-06-122-1/+21
| | | | | | | | | | | | The RPMVSF_NOSIGNATURES flag was removed from RPM5 - 5.4.9 as a result of additional -requires- package validation to help protect from malicious packages. The createrepo "dump" script has been updated to no longer use this flag. This remains compatible with prior versions of RPM. (From OE-Core rev: 24786ccbbdd1188aad4d8508e1757d38798b6f81) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: Python scripts should use the python interpreter from envAndrei Gherzan2012-04-132-1/+49
| | | | | | | | | | | | | | Added path to modify the hardcoded path of python interpreter from python scripts. The python interpreter should be the one from native sysroot and not the one from host machine. [YOCTO #2134] (From OE-Core rev: 164475b9669dc99c14461e1d749ec0626c62cb71) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "createrepo: Update to 0.9.9"Saul Wold2011-05-272-49/+46
| | | | | | | | | | | | | This was just the wrong update to go to, it was not fully vetted and contains yum requirements which is not a direction we are moving in. This reverts commit 7576eba58cdfebf0606623c25ae969ef52774099. (From OE-Core rev: 7ffcabba6308d8b0e6caf883e675e6ae094d3302) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-131-0/+2
| | | | | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: Update to 0.9.9Saul Wold2011-04-082-46/+49
| | | | | | | (From OE-Core rev: ec0a97d918ffac153a5734c54bf9d77eb0ea61b1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo: fix native binaryQing He2011-01-312-2/+40
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* createrepo: add new recipeQing He2011-01-302-0/+143
version 0.4.11 Signed-off-by: Qing He <qing.he@intel.com>