已合并
carry xattr when copying files to initramfs #44
carry xattr when copying files to initramfs #44
已合并
nickyang创建于 9月11日
共 2 个文件变更+31-1
@@ -0,0 +1,26 @@
1+From 1b33543094337e1edf6b7806d0cffed5ea6b0629 Mon Sep 17 00:00:00 2001
2+From: Anakin Zhang <benjamin93@163.com>
3+Date: Thu, 24 Sep 2020 23:51:51 +0800
4+Subject: [PATCH] carry xattr when copying files to initramfs
5+ 
6+Signed-off-by: Anakin Zhang <benjamin93@163.com>
7+---
8+ scripts/plymouth-populate-initrd.in | 2 +-
9+ 1 file changed, 1 insertion(+), 1 deletion(-)
10+ 
11+diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in
12+index 20614a2..7ef387b 100755
13+--- a/scripts/plymouth-populate-initrd.in
14++++ b/scripts/plymouth-populate-initrd.in
15+@@ -150,7 +150,7 @@ inst_simple() {
16+ inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac"
17+ fi
18+ ddebug "Installing $_src"
19+- cp --sparse=always -pfL "$PLYMOUTH_SYSROOT$_src" "${initdir}/$target"
20++ cp -a --sparse=always -pfL "$PLYMOUTH_SYSROOT$_src" "${initdir}/$target"
21+ }
22+
23+ # find symlinks linked to given library file
24+--
25+2.43.0
26+ 
@@ -6,13 +6,14 @@
6 6 
7Name: plymouth7Name: plymouth
8Version: 26.134.2228Version: 26.134.222
9-Release: 29+Release: 3
10License: GPL-2.0-or-later10License: GPL-2.0-or-later
11Summary: Graphical Boot Animation and Logger11Summary: Graphical Boot Animation and Logger
12URL: https://www.freedesktop.org/wiki/Software/Plymouth12URL: https://www.freedesktop.org/wiki/Software/Plymouth
13Source0: https://www.freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.xz13Source0: https://www.freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.xz
14 14 
15Patch1: backport-ply-boot-server-NUL-terminate-request-arguments-and-guard-NULL-derefs.patch15Patch1: backport-ply-boot-server-NUL-terminate-request-arguments-and-guard-NULL-derefs.patch
16+Patch2: carry-xattr-when-copying-files-to-initramfs.patch
16 17 
17BuildRequires: meson >= 0.6218BuildRequires: meson >= 0.62
18BuildRequires: pkgconfig(freetype2)19BuildRequires: pkgconfig(freetype2)
@@ -251,6 +252,9 @@ fi
251%{_mandir}/man?/*252%{_mandir}/man?/*
252 253 
253%changelog254%changelog
255+* Fri Sep 11 2026 nickyang <nickyang228@163.com> - 26.134.222-3
256+- carry xattr when copying files to initramfs
257+ 
254* Mon Aug 10 2026 nickyang <nickyang228@163.com> - 26.134.222-2258* Mon Aug 10 2026 nickyang <nickyang228@163.com> - 26.134.222-2
255- Type:bugfix259- Type:bugfix
256- CVE:NA260- CVE:NA