Skip to content

Commit b829b60

Browse files
Merge pull request #1074 from vojtechtrefny/3.2.x-branch_backport1
Prepare 3.2.1 release
2 parents 27881cb + 5e6e460 commit b829b60

File tree

18 files changed

+199
-39
lines changed

18 files changed

+199
-39
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install build dependencies
3636
run: |
3737
sudo apt -y install ansible
38-
ansible-playbook -b -i "localhost," -c local misc/install-test-dependencies.yml
38+
ansible-playbook -b -i "localhost," -c local misc/install-test-dependencies.yml -e "test_dependencies=false"
3939
4040
- name: Build
4141
run: |

.packit.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
actions:
22
post-upstream-clone:
33
- 'cp dist/libblockdev.spec.in dist/libblockdev.spec'
4-
- 'sed -i -E "s/@WITH_.+@/1/g" dist/libblockdev.spec'
4+
- 'sed -i -e "s/@WITH_.+@/1/g" -e "s/@MAJOR_VER@/3/g" dist/libblockdev.spec'
55
create-archive:
66
- './autogen.sh'
77
- './configure'
@@ -37,7 +37,7 @@ jobs:
3737
# bump release to 99 to always be ahead of Fedora builds
3838
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libblockdev.spec.in"'
3939
- 'cp dist/libblockdev.spec.in dist/libblockdev.spec'
40-
- 'sed -i -E "s/@WITH_.+@/1/g" dist/libblockdev.spec'
40+
- 'sed -i -e "s/@WITH_.+@/1/g" -e "s/@MAJOR_VER@/3/g" dist/libblockdev.spec'
4141
create-archive:
4242
- './autogen.sh'
4343
- './configure'
@@ -58,7 +58,7 @@ jobs:
5858
# bump release to 99 to always be ahead of Fedora builds
5959
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libblockdev.spec.in"'
6060
- 'cp dist/libblockdev.spec.in dist/libblockdev.spec'
61-
- 'sed -i -E "s/@WITH_.+@/1/g" dist/libblockdev.spec'
61+
- 'sed -i -e "s/@WITH_.+@/1/g" -e "s/@MAJOR_VER@/3/g" dist/libblockdev.spec'
6262
create-archive:
6363
- './autogen.sh'
6464
- './configure'

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ tag:
172172

173173
rpmlog:
174174
@cl=`grep -n %changelog dist/libblockdev.spec.in |cut -d : -f 1 |head -1` ; \
175-
version_release=`tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in|head -1|cut -d- -f2-3|sed 's/ //g'` ; \
176-
git log --no-merges --pretty="format:- %s (%ae)" "$$version_release.." |sed -e 's/@.*)/)/' ; \
175+
version=`tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in|head -1|cut -d- -f2|sed 's/ //g'` ; \
176+
git log --no-merges --pretty="format:- %s (%ae)" "$$version.." |sed -e 's/@.*)/)/' ; \
177177
echo
178178

179179
shortlog:

NEWS.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
Libblockdev 3.2.1
2+
------------------
3+
4+
New bugfix release of the libblockdev library with multiple fixes. See below
5+
for details.
6+
7+
**Full list of changes**
8+
9+
James Hilliard (1):
10+
11+
- crypto: check that IOC_OPAL_GET_STATUS is defined
12+
13+
Tomas Bzatek (3):
14+
15+
- smart: Clarify use of ID_ATA_SMART_ACCESS udev property
16+
- smart: Clarify ID_ATA_SMART_ACCESS udev property values
17+
- nvme: Avoid element-type g-i annotations
18+
19+
Vojtech Trefny (9):
20+
21+
- README: Update supported technologies
22+
- dist: Fix source URL in spec
23+
- packit: Fix generating spec from template
24+
- dist: Sync spec with downstream
25+
- misc: Fix installing test dependencies on Debian/Ubuntu
26+
- ci: Do not try to install test dependencies for CodeQL analysis
27+
- lvm: Clarify the global config functionallity in libblockdev
28+
- ci: Install 'python3-libdnf5' for TMT test plans
29+
- Makefile: Fix generating RPM log during bumpver
30+
131
Libblockdev 3.2.0
232
------------------
333

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ Following storage technologies are supported by libblockdev
2626
- encryption
2727
- LUKS, TrueCrypt/VeraCrypt, BitLocker, FileVault2
2828
- integrity
29+
- SED OPAL
2930
- DM (device mapper)
3031
- loop devices
3132
- MD RAID
3233
- multipath
3334
- s390
3435
- DASD, zFCP
35-
- NVDIMM namespaces
36+
- NVDIMM namespaces (deprecated)
3637
- NVMe
38+
- SMART
3739

3840
#### Architecture
3941

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# configure.ac for libblockdev
22

3-
AC_INIT([libblockdev], [3.2.0], [], [], [https://github.com/storaged-project/libblockdev])
3+
AC_INIT([libblockdev], [3.2.1], [], [], [https://github.com/storaged-project/libblockdev])
44

55
# Disable building static libraries.
66
# This needs to be set before initializing automake

dist/libblockdev.spec.in

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@
8585
%define configure_opts %{?python3_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{?tools_copts} %{?gi_copts} %{?nvme_copts} %{?smart_copts} %{?smartmontools_copts}
8686

8787
Name: libblockdev
88-
Version: 3.2.0
88+
Version: 3.2.1
8989
Release: 1%{?dist}
9090
Summary: A library for low-level manipulation with block devices
9191
License: LGPL-2.1-or-later
9292
URL: https://github.com/storaged-project/libblockdev
93-
Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-%{release}/%{name}-%{version}.tar.gz
93+
Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}/%{name}-%{version}.tar.gz
9494

9595
BuildRequires: make
9696
BuildRequires: glib2-devel
@@ -635,7 +635,19 @@ A meta-package that pulls all the libblockdev plugins as dependencies.
635635
%autosetup -n %{name}-%{version} -p1
636636

637637
%build
638+
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2247319
639+
%ifarch aarch64
640+
find . -name Makefile.am | xargs sed -i -e 's/-Werror//g'
641+
%endif
642+
638643
autoreconf -ivf
644+
645+
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2247319
646+
%ifarch aarch64
647+
%global _fortify_level 0
648+
%global optflags $(echo %optflags | sed -e 's/-O2/-O0/g') -Wp,-D_FORTIFY_SOURCE=0
649+
%endif
650+
639651
%configure %{?configure_opts}
640652
%{__make} %{?_smp_mflags}
641653

@@ -946,6 +958,21 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
946958
%files plugins-all
947959

948960
%changelog
961+
* Thu Nov 07 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.2.1-1
962+
- Makefile: Fix generating RPM log during bumpver (vtrefny)
963+
- nvme: Avoid element-type g-i annotations (tbzatek)
964+
- ci: Install 'python3-libdnf5' for TMT test plans (vtrefny)
965+
- lvm: Clarify the global config functionallity in libblockdev (vtrefny)
966+
- smart: Clarify ID_ATA_SMART_ACCESS udev property values (tbzatek)
967+
- smart: Clarify use of ID_ATA_SMART_ACCESS udev property (tbzatek)
968+
- ci: Do not try to install test dependencies for CodeQL analysis (vtrefny)
969+
- misc: Fix installing test dependencies on Debian/Ubuntu (vtrefny)
970+
- dist: Sync spec with downstream (vtrefny)
971+
- crypto: check that IOC_OPAL_GET_STATUS is defined (james.hilliard1)
972+
- packit: Fix generating spec from template (vtrefny)
973+
- dist: Fix source URL in spec (vtrefny)
974+
- README: Update supported technologies (vtrefny)
975+
949976
* Tue Sep 10 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.2.0-1
950977
- ci: Add a simple GH action to run spelling tools on our code (vtrefny)
951978
- crypto: Fix GType macro for crypto context (vtrefny)
@@ -1053,6 +1080,37 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
10531080
- Makefile: Fix bumpver to work with micro versions (vtrefny)
10541081
- Makefile: Do not include release in the tag (vtrefny)
10551082

1083+
* Thu Aug 15 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.1-11
1084+
- crypto: LUKS OPAL support (#2304174)
1085+
1086+
* Fri Jul 26 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.1-10
1087+
- fs: Ignore unused-parameter warning in the FS plugin
1088+
1089+
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-9
1090+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
1091+
1092+
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.1.1-8
1093+
- Rebuilt for Python 3.13
1094+
1095+
* Thu Apr 11 2024 Dan Horák <dan[at]danny.cz> - 3.1.1-7
1096+
- Disable -Werror and build with -O0 on aarch64 to workaround #2247319
1097+
1098+
* Mon Apr 08 2024 Dan Horák <dan[at]danny.cz> - 3.1.1-6
1099+
- Back to standard build by reverting instrumentations for #2247319
1100+
1101+
* Fri Apr 05 2024 Dan Horák <dan[at]danny.cz> - 3.1.1-5
1102+
- Apply ASAN instrumentation for #2247319
1103+
1104+
* Wed Mar 27 2024 Adam Williamson <awilliam@redhat.com> - 3.1.1-4
1105+
- Apply UBSAN instrumentation per Dan Horák for #2247319
1106+
1107+
* Tue Mar 26 2024 Adam Williamson <awilliam@redhat.com> - 3.1.1-3
1108+
- Drop the de-optimization changes from -2
1109+
1110+
* Tue Mar 26 2024 Adam Williamson <awilliam@redhat.com> - 3.1.1-2
1111+
- Backport proposed upstream fix for #2247319
1112+
- Disable -Werror and build with -O0 to help further debug #2247319
1113+
10561114
* Tue Mar 26 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.1-1
10571115
- lvm-dbus: Fix passing size for pvresize over DBus (vtrefny)
10581116
- nvme: Add bd_nvme_is_tech_avail to the API file (vtrefny)
@@ -1067,6 +1125,21 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
10671125
- Use glib2 G_GNUC_UNUSED in place of UNUSED locally defined (giulio.benetti)
10681126
- Makefile: Fix bumpver to work with micro versions (vtrefny)
10691127

1128+
* Sat Mar 23 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-6
1129+
- Slightly stronger workaround attempt for #2247319
1130+
1131+
* Sat Mar 23 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-5
1132+
- Tentative workaround for #2247319 based on diagnosis from -4
1133+
1134+
* Fri Mar 22 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-4
1135+
- Try something else dumb to diagnose #2247319
1136+
1137+
* Thu Mar 21 2024 Adam Williamson <awilliam@redhat.com> - 3.1.0-3
1138+
- Disable some log statements to see if it works around #2247319
1139+
1140+
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
1141+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1142+
10701143
* Fri Jan 19 2024 Vojtech Trefny <vtrefny@redhat.com> - 3.1.0-1
10711144
- tests: Skip some checks for btrfs errors with btrfs-progs 6.6.3 (vtrefny)
10721145
- Fix missing progress initialization in bd_crypto_luks_add_key (vtrefny)

misc/install-test-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
- udftools
145145
- volume-key
146146
- xfsprogs
147-
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' and test_dependencies|bool
147+
when: (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu') and test_dependencies|bool
148148

149149
####### Common actions
150150

plans/blivet.fmf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ prepare:
99
- name: copr
1010
how: shell
1111
script:
12-
- sudo dnf install -y 'dnf-command(copr)'
12+
- sudo dnf install -y python3-libdnf5 'dnf-command(copr)'
1313
- sudo dnf copr enable -y @storage/udisks-daily
1414
# TF prioritizes Fedora tag repo over all others, in particular our daily COPR
1515
- for f in $(grep -l -r 'testing-farm-tag-repository' /etc/yum.repos.d); do sed -i '/priority/d' "$f" ;done

plans/tests.fmf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prepare:
88
- name: copr
99
how: shell
1010
script:
11-
- sudo dnf install -y 'dnf-command(copr)'
11+
- sudo dnf install -y python3-libdnf5 'dnf-command(copr)'
1212
- sudo dnf copr enable -y @storage/udisks-daily
1313
# TF prioritizes Fedora tag repo over all others, in particular our daily COPR
1414
- for f in $(grep -l -r 'testing-farm-tag-repository' /etc/yum.repos.d); do sed -i '/priority/d' "$f" ;done

0 commit comments

Comments
 (0)