Commit Graph

36 Commits

Author SHA1 Message Date
Wang Mingyu
02b9fb3f85
python3-blivet: upgrade 3.9.1 -> 3.9.2
0006-tweak-btrfs-packages.patch
0011-invoking-dd-with-infinite-timeout.patch
refreshed for 3.9.2

Changelog:
==========
-tests: Add a simple unit test for listing btrfs subvolumes
-Fix getting default subvolume ID for mounted btrfs volumes
-Do not try to get btrfs subvolumes without libblockdev
-Do not raise not implemented exception when checking if btrfs is empty
-Try to start stratisd before checking its availability
-Fix creating Stratis filesystem without size specified
-Fix printing the partition type UUID
-Adjust check for btrfs filesystem being empty
-Fix util.detect_virt on Amazon
-misc: Vagrantfile update
-misc: Run pip with --break-system-packages
-misc: Add missing libmount build dependencies
-availability: Check for mpath friendly names availability
-Allow running blivet without libmount Python bindings
-Fstab cleanup fix
-Fix getting subvolumes for mounted btrfs volumes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00
Wang Mingyu
05c68382cb
python3-blivetgui: upgrade 2.4.2 -> 2.5.0
Changelog:
 https://github.com/storaged-project/blivet-gui/releases/tag/2.5.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 09:28:07 -07:00
Wang Mingyu
a6439a2179
python3-blivet: upgrade 3.8.2 -> 3.9.1
0002-run_program-support-timeout.patch
0003-support-infinit-timeout.patch
0005-fix-incorrect-timeout-while-system-time-changed.patch
0006-tweak-btrfs-packages.patch
0007-invoking-mount-with-infinite-timeout.patch
0008-use-oe-variable-to-replace-hardcoded-dir.patch
0010-invoking-mkfs-with-infinite-timeout.patch
0011-invoking-dd-with-infinite-timeout.patch
refreshed for 3.9.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 09:28:07 -07:00
alperak
fdfd510992
remove obsolete PIP_INSTALL_PACKAGE and PIP_INSTALL_DIST_PATH
All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-09 10:55:23 -08:00
Kai Kang
3e26d8deeb python3-blivetgui: 2.3.0 -> 2.4.2
Update python3-blivetgui from 2.3.0 to 2.4.2

* drop patches that there are not needed any more
* not set var `B` that out of source tree build is supported
* inherit setuptools3 rather than setuptools3_legacy

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-02 10:39:36 -07:00
Kai Kang
d6b19d69b2 python3-blivet: 3.4.3 -> 3.8.2
Update python3-blivet 3.4.3 to 3.8.2

* drop 0004-fix-new.roots-object-is-not-iterable.patch which is not
  needed any more
* adjust indent as well

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-02 10:39:36 -07:00
Chen Qi
a9cdbbd4c5 python3-blivetgui: switch from master to main
Switch to main branch to avoid do_fetch failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Ross Burton
1c7861509e python3-blivetgui: requires gobject-introspection-data DISTRO_FEATURE
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-26 08:28:37 -07:00
Kai Kang
674306a429 python3-blivetgui: use symbolic list-add and edit- icons
Backport patch from upstream for python3-blivetgui to use symbolic
list-add and edit- icons that Adwaita dropped old ones.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
2022-04-22 16:26:22 +00:00
Kai Kang
34d4ce1d5b python3-blivet: use setuptools_legacy
The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.

Reverts daba6521f which was a sympton of the bad usage.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-09 07:37:04 -08:00
Ross Burton
56c3d5dfb1 python3-blivetgui: use setuptools_legacy
The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-09 07:37:04 -08:00
Khem Raj
ee0f7dc9b7 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
daba6521fa python3-blivet: Adjust install location for binaries and systemd units
With wheels changes it is also getting installed under PYTHON_SITEPACKAGES_DIR
perhaps something to fix in setup.py but this fix works better from a
packager point of view.

Moves the systemd unit files and daemon into /usr/lib and /usr/libexec
dirs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
992da9e0aa python3-blivetgui: Upgrade to 2.3.0
Backport a fix to migrate to use setuptools instead of distutils
Changes in this release are [1]

[1] https://github.com/storaged-project/blivet-gui/releases/tag/2.3.0-1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Khem Raj
ec87ae5511 python3-blivet: Upgrade to 3.4.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -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
Kai Kang
c704cb0062 python3-blivetgui: 2.1.10 -> 2.2.1
Upgrade python3-blivetgui from 2.1.10 to 2.2.1.

* drop backported patch
  0001-Fix-return-type-of-BlivetUtils.get_disks-1658893.patch

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-08-06 20:37:42 -07:00
Kai Kang
88efe3c0ea python3-blivet: 3.1.4 -> 3.4.0
Upgrade python3-blivet from 3.1.4 to 3.4.0.
* it imports selinux conditionally, so remove
  0001-comment-out-selinux.patch
* rebase 0008-use-oe-variable-to-replace-hardcoded-dir.patch and
  0010-invoking-mkfs-with-infinite-timeout.patch

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-08-06 20:37:42 -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
Denys Dmytriyenko
4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Khem Raj
495313115f python3-blivet: Add python3 to rdeps
Fix do_package_qa error
ERROR: QA Issue: /usr/libexec/blivetd contained in package python3-blivet requires /usr/bin/python3, but no providers found in RDEPENDS_python3-blivet? [file-rdeps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 12:41:58 -07:00
Hongxu Jia
ec273fe1e4 python3-blivetgui: fix blivet-gui broken
In target installer anaconda 30, when they try to go to blivet-gui,
anaconda.log shows a traceback:

23:02:49,842 INF threading: Thread Done: AnaExecuteStorageThread (140274838624000)
23:02:49,844 DBG exception: running handleException
23:02:49,845 CRT exception: Traceback (most recent call last):

  File "/usr/lib/python3.7/site-packages/blivetgui/list_devices.py", line 165, in on_disk_selection_changed
    selection.select_iter(self.last_iter)

TypeError: Argument 1 does not allow None as a value

23:02:49,845 DBG exception: Gtk running, queuing exception handler to the main loop
23:02:49,858 DBG ui.common: Entered spoke: BlivetGuiSpoke
23:02:49,858 DBG exception: running handleException
23:02:49,859 CRT exception: Traceback (most recent call last):

  File "/usr/lib/python3.7/site-packages/blivetgui/list_devices.py", line 165, in on_disk_selection_changed
    selection.select_iter(self.last_iter)

TypeError: Argument 1 does not allow None as a value

Backport a patch from upstream could fix the issue
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:28:20 -07:00
Hongxu Jia
2038cfbd3f python3-blivet: 3.1.2 -> 3.1.4
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Hongxu Jia
1d7ef44ff8 python3-blivetgui: 2.1.9 -> 2.1.10
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Hongxu Jia
19c823182a python3-blivet: 3.1.1 -> 3.1.2
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Hongxu Jia
f01d87a7e8 python3-blivet: 3.0.1 -> 3.1.1
Drop 0012-remove-dmraid-dependency-check.patch and
0013-add-Z-y-and-y-to-lvm.pvcreate.patch which the
new version has fixed the issues

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Hongxu Jia
2a9489ba36 python3-blivetgui: 2.1.8 -> 2.1.9
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Hongxu Jia
7e06f7e4a2 python3-blivet: add -Z y' and -y' to lvm.pvcreate
While reinstall a crypt fs, it occasionally failed
[snip]
|gi.overrides.BlockDev.LVMError: Process reported exit code 5:
WARNING: atari signature detected on /dev/mapper/luks-0e5f891c
-7701-48bc-a41e-8d626b6ef953 at offset 466. Wipe it? [y/n]:
[snip]

Add `-Z y' and `-y' to lvm.pvcreate

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Hongxu Jia
8e36191fbe python3-blivet: remove dmraid from dependency check
OE does not have dmraid recipe, so remove it from dependency check.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Hongxu Jia
d3ae34eec2 python3-blivet: 2.2.0 -> 3.0.1
- Drop 0004-Mount-var-volatile-during-install.patch and
  0005-update-fstab-by-appending.patch
  which are moved to python3-anaconda 28.22.11

- Drop 0013-Revert-Adapt-to-logging-module-name-change.patch
  whichis obsolete

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
253300602c python3-blivetgui: 2.1.5 -> 2.1.8
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Yi Zhao
17b50d2642 python3-blivet: add UPSTREAM_CHECK_GITTAGREGEX
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-30 12:40:51 -07:00
Armin Kuster
814effeb49 python-blivet: only include when x11 in DISTRO_FEATURES
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:47 -07:00
Hongxu Jia
aa997c97b3 python3-blivet: fix invoking dd timeout caused partition failed
This large timeout is needed when running on machines with
lots of disks, or with slow disks.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:16 -07:00
Hongxu Jia
6f4aae7cbc python3-blivetgui: add recipe 2.1.5
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:04:11 +02:00
Hongxu Jia
e311a05d2a python3-blivet: add recipe 2.2.0
Remove provides of `pykickstart' in python3-pykickstart

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:04:11 +02:00