import squashfs-tools-4.3-20.el8
This commit is contained in:
parent
07a6f92e1b
commit
9a37f1d52e
13
SOURCES/bz1754815.patch
Normal file
13
SOURCES/bz1754815.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- a/squashfs-tools/mksquashfs.c
|
||||||
|
+++ b/squashfs-tools/mksquashfs.c
|
||||||
|
@@ -2447,8 +2447,8 @@ void *frag_deflator(void *arg)
|
||||||
|
write_buffer->block = bytes;
|
||||||
|
bytes += compressed_size;
|
||||||
|
fragments_outstanding --;
|
||||||
|
- pthread_mutex_unlock(&fragment_mutex);
|
||||||
|
queue_put(to_writer, write_buffer);
|
||||||
|
+ pthread_mutex_unlock(&fragment_mutex);
|
||||||
|
TRACE("Writing fragment %lld, uncompressed size %d, "
|
||||||
|
"compressed size %d\n", file_buffer->block,
|
||||||
|
file_buffer->size, compressed_size);
|
||||||
|
|
20
SOURCES/bz1895017.patch
Normal file
20
SOURCES/bz1895017.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- a/squashfs-tools/unsquashfs.c 2021-01-14 14:34:49.658184361 -0600
|
||||||
|
+++ b/squashfs-tools/unsquashfs.c 2021-01-14 14:50:19.604100949 -0600
|
||||||
|
@@ -822,8 +822,6 @@ int set_attributes(char *pathname, int m
|
||||||
|
{
|
||||||
|
struct utimbuf times = { time, time };
|
||||||
|
|
||||||
|
- write_xattr(pathname, xattr);
|
||||||
|
-
|
||||||
|
if(utime(pathname, ×) == -1) {
|
||||||
|
ERROR("set_attributes: failed to set time on %s, because %s\n",
|
||||||
|
pathname, strerror(errno));
|
||||||
|
@@ -846,6 +844,8 @@ int set_attributes(char *pathname, int m
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ write_xattr(pathname, xattr);
|
||||||
|
+
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Utility for the creation of squashfs filesystems
|
Summary: Utility for the creation of squashfs filesystems
|
||||||
Name: squashfs-tools
|
Name: squashfs-tools
|
||||||
Version: 4.3
|
Version: 4.3
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://squashfs.sourceforge.net/
|
URL: http://squashfs.sourceforge.net/
|
||||||
@ -33,6 +33,10 @@ Patch6: bz1602698.patch
|
|||||||
Patch7: bz1624173.patch
|
Patch7: bz1624173.patch
|
||||||
# rhbz 1716278
|
# rhbz 1716278
|
||||||
Patch8: bz1716278.patch
|
Patch8: bz1716278.patch
|
||||||
|
# rhbz 1754815
|
||||||
|
Patch9: bz1754815.patch
|
||||||
|
# rhbz 1895017
|
||||||
|
Patch10: bz1895017.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -56,6 +60,8 @@ contains the utilities for manipulating squashfs filesystems.
|
|||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd squashfs-tools
|
pushd squashfs-tools
|
||||||
@ -82,6 +88,11 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/unsquashfs
|
%{_sbindir}/unsquashfs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 25 2021 Abhi Das <adas@redhat.com> - 4.3-20
|
||||||
|
- rhbz#1895017 - unsquashfs does not preserve file capabilities
|
||||||
|
rhbz#1754815 - Kdump: Building kdump initramfs img may fail with 'dracut: Failed making squash image' occasionally
|
||||||
|
Resolves: rhbz#1895017, rhbz#1754815
|
||||||
|
|
||||||
* Tue Aug 06 2019 Abhi Das <adas@redhat.com> - 4.3-19
|
* Tue Aug 06 2019 Abhi Das <adas@redhat.com> - 4.3-19
|
||||||
- rhbz#1602698 - Fix coverity issues
|
- rhbz#1602698 - Fix coverity issues
|
||||||
rhbz#1624173 - Fix annocheck failures
|
rhbz#1624173 - Fix annocheck failures
|
||||||
|
Loading…
Reference in New Issue
Block a user