carry xattr when copying files to initramfs
This commit is contained in:
parent
04006296f6
commit
96cde4f6b0
26
carry-xattr-when-copying-files-to-initramfs.patch
Normal file
26
carry-xattr-when-copying-files-to-initramfs.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 1b33543094337e1edf6b7806d0cffed5ea6b0629 Mon Sep 17 00:00:00 2001
|
||||
From: Anakin Zhang <benjamin93@163.com>
|
||||
Date: Thu, 24 Sep 2020 23:51:51 +0800
|
||||
Subject: [PATCH] carry xattr when copying files to initramfs
|
||||
|
||||
Signed-off-by: Anakin Zhang <benjamin93@163.com>
|
||||
---
|
||||
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
|
||||
|
||||
@ -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 <buildteam@openeuler.org> - 0.9.5-3
|
||||
- carry xattr when copying files to initramfs
|
||||
|
||||
* Mon Sep 07 2020 lunankun <lunankun@huawei.com> - 0.9.5-2
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user