-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable xattr and acl support in coreutils. (#10101)
Currently, coreutils does not have xattr and acl support enabled. This means that commands like `cp --preserve=xattr` will fail. This is annoying when trying to preserve filecaps and SELinux labels. This change fixes this.
- Loading branch information
Showing
6 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Summary: Basic system utilities | ||
Name: coreutils | ||
Version: 9.4 | ||
Release: 5%{?dist} | ||
Release: 6%{?dist} | ||
License: GPLv3 | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
|
@@ -13,6 +13,8 @@ Source1: serial-console.sh | |
Patch0: coreutils-9.4-i18n-1.patch | ||
Patch1: coreutils-9.4-uname-1.patch | ||
Patch2: CVE-2024-0684.patch | ||
BuildRequires: libacl-devel | ||
BuildRequires: libattr-devel | ||
BuildRequires: libselinux-devel | ||
BuildRequires: libselinux-utils | ||
Requires: gmp | ||
|
@@ -71,8 +73,6 @@ sed -i 's/PET/-05/g' tests/misc/date-debug.sh | |
sed -i 's/2>err\/merge-/2>\&1 > err\/merge-/g' tests/misc/sort-merge-fdlimit.sh | ||
sed -i 's/)\" = \"10x0/| head -n 1)\" = \"10x0/g' tests/split/r-chunk.sh | ||
sed -i '/mb.sh/d' Makefile | ||
# remove capability test which incorrectly determines xattr support and then fails | ||
sed -i '/tests\/cp\/capability.sh/d' Makefile | ||
LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 make -k check | ||
|
||
%post -p /sbin/ldconfig | ||
|
@@ -92,6 +92,9 @@ LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 make -k check | |
%defattr(-,root,root) | ||
|
||
%changelog | ||
* Thu Aug 8 2024 Chris Gunn <[email protected]> - 9.4-6 | ||
- Enable xattr and acl support. | ||
|
||
* Thu Aug 1 2024 Riken Maharjan <[email protected]> - 9.4-5 | ||
- Remove unecessary Requires on libselinux imported from Fedora 40 (License: MIT) | ||
- libselinux causes dependency cycle. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters