diff --git a/carry-xattr-when-copying-files-to-initramfs.patch b/carry-xattr-when-copying-files-to-initramfs.patch new file mode 100644 index 0000000..212b7b2 --- /dev/null +++ b/carry-xattr-when-copying-files-to-initramfs.patch @@ -0,0 +1,26 @@ +From 1b33543094337e1edf6b7806d0cffed5ea6b0629 Mon Sep 17 00:00:00 2001 +From: Anakin Zhang +Date: Thu, 24 Sep 2020 23:51:51 +0800 +Subject: [PATCH] carry xattr when copying files to initramfs + +Signed-off-by: Anakin Zhang +--- + scripts/plymouth-populate-initrd.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in +index 616ecc4..100724d 100644 +--- a/scripts/plymouth-populate-initrd.in ++++ b/scripts/plymouth-populate-initrd.in +@@ -144,7 +144,7 @@ inst_simple() { + inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac" + fi + ddebug "Installing $_src" +- cp --sparse=always -pfL "$PLYMOUTH_SYSROOT$_src" "${initdir}/$target" ++ cp -a --sparse=always -pfL "$PLYMOUTH_SYSROOT$_src" "${initdir}/$target" + } + + # find symlinks linked to given library file +-- +2.23.0.windows.1 + diff --git a/plymouth.spec b/plymouth.spec index ea5d24e..8a45a79 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -2,12 +2,14 @@ Name: plymouth Version: 0.9.5 -Release: 2 +Release: 3 License: GPLv2+ Summary: Graphical Boot Animation and Logger URL: https://www.freedesktop.org/wiki/Software/Plymouth Source0: https://gitlab.freedesktop.org/plymouth/plymouth/-/archive/0.9.5/plymouth-0.9.5.tar.gz +Patch9000: carry-xattr-when-copying-files-to-initramfs.patch + BuildRequires: gcc libtool libdrm-devel systemd-devel kernel-headers BuildRequires: libpng-devel libxslt docbook-style-xsl gtk3-devel BuildRequires: pango-devel cairo-devel gettext-devel intltool @@ -218,6 +220,9 @@ fi %{_mandir}/man?/* %changelog +* Thu Dec 17 2020 openEuler Buildteam - 0.9.5-3 +- carry xattr when copying files to initramfs + * Mon Sep 07 2020 lunankun - 0.9.5-2 - Type:bugfix - Id:NA