summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dnf
Commit message (Collapse)AuthorAgeFilesLines
* dnf: Use renamed SKIP_RECIPE varFlagSaul Wold2022-02-211-1/+1
| | | | | | | | | This is a more descriptive variable name updated in base.bbclass (From OE-Core rev: 258662ccf5ceb027ba0e507e2a581c4ee7e9cd04) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: drop python3-distutils dependencyTim Orling2022-01-121-1/+0
| | | | | | | | | | | | | | Upstream dropped the now deprecated distutils: 18995d65 Remove distutils which are deprecated in python3.10 (RhBug:1950229) Usage was replaced with sysconfig, which is in python3-core [YOCTO #14610] (From OE-Core rev: 93e9b006007ef1afc79c45b48fd92c9e384ff6cb) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: inherit setuptools3-base instead of distutilsTim Orling2022-01-121-1/+1
| | | | | | | | | [YOCTO #14610] (From OE-Core rev: f1b1563347259a66e39d1642694ec15b8f07caec) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: use ln -rs instead of lnrRoss Burton2021-11-101-2/+2
| | | | | | | | | | | | | | | | | lnr is a script in oe-core that creates relative symlinks, with the same behaviour as `ln --relative --symlink`. It was added back in 2014[1] as not all of the supported host distributions at the time shipped coreutils 8.16, the first release with --relative. However the oldest coreutils release in the supported distributions is now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln. [1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d (From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-031-1/+1
| | | | | | | | | | | | | | Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.9.0 -> 4.10.0wangmy2021-10-271-1/+1
| | | | | | | | (From OE-Core rev: 7584e8268ace0ffe41812773e2151863db308e51) 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>
* dnf: upgrade 4.8.0 -> 4.9.0wangmy2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: 0bea76e84135cb5a0fb435f7115d1bcb47daefc0) 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>
* Convert to new override syntaxRichard Purdie2021-08-021-7/+7
| | | | | | | | | | | | 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>
* dnf: updatee 4.7.0 -> 4.8.0Alexander Kanavin2021-06-264-83/+5
| | | | | | | | | | | | Remove patches merged upstream. (From OE-Core rev: f647f368899c88b64d9feffb8d1cde7c3f96bdaa) (From OE-Core rev: cd66d0c0b08f2e5a64a67f257350456f0f2cbc02) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.6.0 -> 4.7.0Alexander Kanavin2021-05-093-1/+79
| | | | | | | (From OE-Core rev: 432352dddc97eb19cefacd8644fb59b1f10bc2d3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.5.2 -> 4.6.0Alexander Kanavin2021-03-101-1/+1
| | | | | | | (From OE-Core rev: 6e96939b65ad9d1435ae0dfd8303f0ed8c429cee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+1
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.4.0 -> 4.5.2Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: f21490a872d8d3f74df7b6b788a1911014fcb32c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.2.23 -> 4.4.0Alexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 06303c3a66f981928d49530118e89b1a5616d964) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.2.21 -> 4.2.23Alexander Kanavin2020-06-281-1/+1
| | | | | | | (From OE-Core rev: cad6889a514975990055c01b6b18dd7c9817201e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: add a patch for base-files installation failuresAlexander Kanavin2020-05-022-0/+30
| | | | | | | (From OE-Core rev: 742a1b71249f4da1c8d8e13e270b0eb6128a3f66) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.2.2 -> 4.2.21Alexander Kanavin2020-05-022-36/+1
| | | | | | | | | Drop upstreamed patches. (From OE-Core rev: 7828bf903001413cb38d34f4a2525f718380b88f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: fix reproducibilty issueJeremy Puhlman2020-03-122-0/+25
| | | | | | | | | Script points to native python3 (From OE-Core rev: 132c7ecd13955b20141fa01241f47753af60cb77) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: fix python3 syntax warningJoe Slater2020-03-062-0/+35
| | | | | | | | | Backport from dnf version 4.2.7. (From OE-Core rev: 0870009f3e87d181178b3f26374862797f342d3f) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf, libdnf: Ignore if PACKAGE_CLASSES does not have rpmKhem Raj2020-02-211-0/+2
| | | | | | | | | | | | | | dnf depends on libsolv, and libsolv does not have and easy way to jusr enable rpmdb support, it either has full rpm or nothing, perhaps it could be improved in libsolv and we can use that but from now we have no other option dnf support only rpm backend and wont work with opkg or dpkg/apt anyway (From OE-Core rev: aa56c5dcdea152bee62bb480ccaae177f6c69b9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add missing some description in devtoolsMaxime Roussin-Bélanger2019-10-081-1/+4
| | | | | | | (From OE-Core rev: 57075f3dede7ad25163deaf6686221dbe1b5ad02) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: Enable nativesdkLei Maohui2019-04-261-1/+9
| | | | | | | | | | Make dnf work on nativesdk environment. (From OE-Core rev: 88843ff56a8ac8addea3eadb73651bbf49d1509d) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.1.0 -> 4.2.2Alexander Kanavin2019-04-161-1/+1
| | | | | | | (From OE-Core rev: a1e6771747d4b149e7b1b3e4f259e3272a474bd5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.0.10 -> 4.1.0Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 4e2593befcf2986b0242ac287b7f2f6d98bb950e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.0.9 -> 4.0.10Alexander Kanavin2019-01-031-1/+1
| | | | | | | (From OE-Core rev: b7492f256cf755fbe76b4602b613311038bd56ee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: update to 4.0.9Alexander Kanavin2018-11-231-1/+1
| | | | | | | (From OE-Core rev: 7670325f4b04000255e2fd4ad58a42ab60a70579) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: update to 4.0.4Alexander Kanavin2018-11-223-24/+18
| | | | | | | | | License-Update: spelling fixes (From OE-Core rev: f03c0f06e14d18a5ed263e943e36920d70796db9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: default to disable systemd unitsChen Qi2018-06-181-0/+1
| | | | | | | | | | | | | | | | | The services and timers are not useful if a repo is not configured. In OE, we default to have no repo configured. So we default to disable these units. The problem was found by the test_systemd_failed runtime test case. dnf-makecache.service is found to fail. This is due to lack of repo. Note that as this service is started by the dnf-makecache.timer, it's possible that test_systemd_failed passes in case the timer is not started yet. (From OE-Core rev: c017f5528d1ae6316c9434ffd8702665bfe069f9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix RDEPENDS on several recipes, due to non-existent packagesAlejandro Hernandez2018-01-201-2/+24
| | | | | | | | | | | The packaging has been altered slightly so ensure the dependencies are all still valid. (From OE-Core rev: 3328211afdef8ffb00dd4dff1143959d5412b075) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: update to 2.7.5Alexander Kanavin2018-01-027-59/+32
| | | | | | | | | | Drop upstreamed patch. Rebase the other patches. (From OE-Core rev: 17a537bb5d28ceb9fec0320dc18e6e3688d5993c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: fix "Unable to detect release version" warningAlexander Kanavin2017-08-192-0/+32
| | | | | | | | | | The release version was actually working correctly; it only makes the warning work properly. (From OE-Core rev: e7986a5493ccd222b82c2388ea8c3bb7004b48dd) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: rrecommend gnupgMarkus Lehtonen2017-08-161-0/+2
| | | | | | | | | | | | | This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do GPG signature check on repository metadata. Without gnupg dnf fails with "error: Invalid crypto engine." [YOCTO #11209] (From OE-Core rev: 8a7154cfe150840b451bc56951f0fa31cb8d6fa0) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: update to 2.6.3Alexander Kanavin2017-08-133-51/+2
| | | | | | | | (From OE-Core rev: 685d7ec1114fa2ec4aa44f7e29d1e159f7899d4d) 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>
* rpm/dnf: fix Upstream-Status to reflect upstream submission statusAlexander Kanavin2017-07-241-1/+1
| | | | | | | | (From OE-Core rev: 1ed4b8438087fe6d61203ffbe9737ac382e0d6eb) 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>
* dnf: update to 2.5.1Alexander Kanavin2017-06-233-108/+39
| | | | | | | | | | | | | | Drop 0001-Revert-proper-check-of-releasever-when-using-install.patch as the problem has been solved upstream. Add 0001-Move-releasever-check-after-the-etc-dnf-vars-substit.patch, as the warning for missing releasever is issued prematurely in our case. (From OE-Core rev: 68b01f9fe239aa224daa8dc901fa3cf0350261c0) 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>
* dnf: fix upstream version checkAlexander Kanavin2017-05-231-0/+1
| | | | | | | | (From OE-Core rev: dd277817ae0e1a8e8e604d7d822c3388eb2a3048) 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>
* dnf: update to 2.3.0Alexander Kanavin2017-05-162-4/+110
| | | | | | | | | | | | Drop dependency on pygpgme, replace it with gpgme's own bindings. Add a patch that fixes an upstream regression. (From OE-Core rev: ee5dcf78f3abfec40e278591ccbd1e475ca6df15) 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>
* Revert "dnf: remove systemd units in nativesdk builds"Ross Burton2017-04-141-6/+0
| | | | | | | | | | | | nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this workaround is no longer required. This reverts commit 415b72ffcbd26e5f3664370d8b2a9b8105fb6342. (From OE-Core rev: 4f1f05295f12f619c87fb53e16e19a11775c2c84) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: Use lnr to create relative symlinksSerhii Popovych2017-03-301-2/+2
| | | | | | | | | | | Make use of lnr while creating relative symlinks to enable builds on host with old ln that does not support -r option. Cc: XE-Linux <xe-linux-external@cisco.com> (From OE-Core rev: dd162286921ccac4981e091de1df4c36d5cfbf5b) Signed-off-by: Serhii Popovych <spopovyc@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: remove systemd units in nativesdk builds2.3_M3Ross Burton2017-03-281-0/+6
| | | | | | | | | | | If the DISTRO_FEATURES contain systemd then the systemd class won't delete the units for us. Until the class is fixed to do this automatically, delete them explicitly. (From OE-Core rev: d68a86d87aa017dd0fecb0f626d22711efefcd3f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: move the entire dnf/rpm4 stack to Python 3Alexander Kanavin2017-03-283-42/+9
| | | | | | | | | [YOCTO #11180] (From OE-Core rev: bedcdc4cf921b70a8cfb16c6684668d0ac9e1942) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: add /usr/bin/dnf symlink that points to /usr/bin/dnf-2Alexander Kanavin2017-03-171-1/+9
| | | | | | | | | | | All documentation refers to dnf binary as 'dnf' yet make install does not create one - it's done by Fedora's spec file when building the rpm. Let's replicate this behavior. (From OE-Core rev: 456c4a8ffc9a292d7a3e036d92baf4a8f14d1f45) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-packagegroup-sdk-host: replace smartpm with dnfAlexander Kanavin2017-03-141-1/+0
| | | | | | | (From OE-Core rev: 45b97161915ce7872ef7161451a5c83507072a72) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: add a recipeAlexander Kanavin2017-03-147-0/+231
This is replacing Smart package manager, which is unsupported upstream, and has a growing amount of issues (lack of python 3.x support in particular). We identified dnf as the only feasible replacement. (From OE-Core rev: 2da1f03ad5957fc130f9d4fac30f0048873e9d7c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>