Commit Graph

27 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Wang Mingyu
63250c3ba8
dnf-plugin-tui: upgrade 1.3 -> 1.4
Changelog:
 fix the bug of syntax error when poky updated to scarthgap.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-13 10:14:56 -07:00
Wang Mingyu
5211242d3f dnf-plugin-tui: Recover BBCLASSEXTEND variants
dnf-plugin-tui must work on nativesdk environment.
Now there's no warning when run the command "bitbake universe -c fetch".

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-08 22:51:28 -08:00
Richard Purdie
9962d57f7c meta-oe: Drop broken BBCLASSEXTEND variants
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-24 09:08:45 -07:00
Wang Mingyu
129bcf4a7e dnf-plugin-tui: create symlinks from /usr/ to /.
From Poky 4.3, by default, usrmerge has been enabled.
Some important binaries have been installed to /usr/sbin instead of
/sbin such as init. So it is necessary to create symlinks from /usr/
to /, such as /usr/sbin to /sbin, /usr/bin to /bin.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-19 07:58:51 -07:00
Wang Mingyu
c28f0b8fc8 dnf-plugin-tui: modify suffix of spdx file.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-04 22:29:45 -07:00
Wang Mingyu
554f119627 dnf-plugins/rpm.py: Fix grammar when RPM_PREFER_ELF_ARCH doesn't exit.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-06 11:38:16 -08:00
Wang Mingyu
8d83f7f391 dnf-plugin-tui: Add nativesdk
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-12 15:24:35 -07:00
Lei Maohui
5a93ce005d dnf-plugin-tui: Fix somw issue in postinstall process.
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08 00:10:35 -07:00
wangmy
5665c76046 dnf-plugin-tui: Added postatinstall
Added postatinstall. Otherwise defined pkg_postinst could not work.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:28 -04:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj
1d4b29aa87 recipes: Use renamed SKIP_RECIPE varFlag
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21 18:12:04 -08:00
Wang Mingyu
6ec4451fc9 dnf-plugin-tui: Fix a bug of multilib
Fix the following error when install rpms for multilib:
error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration.
Transaction check succeeded.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-20 17:14:10 -08:00
Khem Raj
1d2da22e77 meta-oe: Use setuptools3-base
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-12 09:35:18 -08:00
Wang Mingyu
d288e98c25 dnf-plugin-tui: Fix bug when generating CSV file
If the rpm lacks dependencies, an exception will be thrown and exit
when generating the CSV file.
Modify utils.py to catch and handle exception.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:48:51 -08:00
wangmy
213cf9f5e6 dnf-plugin-tui: Fix a bug with newer version rpm.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01 12:39:28 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Wang Mingyu
11a40c1d91 dnf-plugin-tui: upgrade 1.2 -> 1.3
2021/09/08:
Release v1.3.
1.When installing with package list, add the function of detecting whether the package exists.
2.Added the function of generating installed package info csv file.
3.Delete the pseudo directory in each init phase.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-13 08:31:08 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zhengruoqin
dc58ca7c75 dnf-plugin-tui: Update to the latest version
dnf-plugin-tui now needs to clean up the pseudo directory before starting.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
2020-11-23 20:43:37 -08:00
Khem Raj
92441f9d6a meta-oe: Add leading whitespace for append operator
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:25:53 -08:00
Zheng Ruoqin
5dbeb9298e dnf-plugin-tui: upgrade 1.1 -> 1.2
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-29 13:05:28 -07:00
Zheng Ruoqin
3173648279 dnf-plugin-tui: upgrade 1.0 -> 1.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 22:23:12 -07:00
Khem Raj
41f5abd221 meta-oe: Remove dnf dependent package for non-rpm package backend
dnf is not built when rpm is not in chosen backends

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-13 14:07:47 -08:00
Martin Jansa
19dd354c28 dnf-plugin-tui: add runtime dependency on bash
* fixes:
  ERROR: QA Issue: /usr/lib/python3.7/site-packages/dnf-plugins/dnf-host contained in package dnf-plugin-tui requires /bin/bash, but no providers found in RDEPENDS_dnf-plugin-tui? [file-rdeps]
* fix the indentation as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 01:42:54 -07:00
Zheng Ruoqin
7de19639d0 dnf-plugin-tui: new recipe
This dnf plugin aims to supply a tui interface for user to manage
packages. It has features as following:
  1. Add new command dnf tui --init to make dnf work on host.
  2. Text-based user interface for dnf.
  3. Manage SPDX files.
  4. Manage SRPM files.
  5. Add installation samples for dnf.

More details please refer to https://github.com/ubinux/dnf-plugin-tui.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-09 08:09:28 -07:00