mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 06:22:43 +00:00
20-grub.install: Copy device-tree directory recursively
8800efcb0b
replaced '-a' with '--preserve=timestamps' to avoid preserving ownership information on non vfat file systems. This breaks copying of the 'dtb' directory on aarch64 systems since '-a' implies '-r'. Add '-r' to the single place where 'dtb/' is copied to /boot. Resolves: #2243060 Fixes:8800efcb0b
("Do not preserve ownership or xattrs on copied files") Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
This commit is contained in:
parent
45dbc926bf
commit
62027d5ee3
2 changed files with 6 additions and 2 deletions
|
@ -69,7 +69,7 @@ case "$COMMAND" in
|
|||
"$KERNEL_DIR"/dtb
|
||||
do
|
||||
[[ -e "$i" ]] || continue
|
||||
cp --remove-destination --preserve=timestamps -T "$i" "/boot/${i##*/}-${KERNEL_VERSION}"
|
||||
cp --remove-destination --preserve=timestamps -rT "$i" "/boot/${i##*/}-${KERNEL_VERSION}"
|
||||
command -v restorecon &>/dev/null && \
|
||||
restorecon -R "/boot/${i##*/}-${KERNEL_VERSION}"
|
||||
done
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
Name: grub2
|
||||
Epoch: 1
|
||||
Version: 2.06
|
||||
Release: 103%{?dist}
|
||||
Release: 104%{?dist}
|
||||
Summary: Bootloader with support for Linux, Multiboot and more
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/grub/
|
||||
|
@ -548,6 +548,10 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Oct 11 2023 Janne Grunau <j@jannau.net> - 2.06-104
|
||||
- 20-grub.install: Copy device-tree directory recursively
|
||||
- Resolves: #2243060
|
||||
|
||||
* Fri Sep 29 2023 Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.06-103
|
||||
- Rename installed kernel to match name used in boot entry
|
||||
- Resolves: #2239008
|
||||
|
|
Loading…
Reference in a new issue