mirror of
https://abf.rosa.ru/djam/coreutils.git
synced 2025-02-24 09:42:49 +00:00
Keep coreutils in initrds in sync with installed ones
This commit is contained in:
parent
727bf897c6
commit
1dd449b5fc
1 changed files with 11 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
Summary: The GNU core utilities: a set of tools commonly used in shell scripts
|
||||
Name: coreutils
|
||||
Version: 8.32
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPLv3+
|
||||
Group: System/Base
|
||||
Url: http://www.gnu.org/software/coreutils/
|
||||
|
@ -250,6 +250,10 @@ done
|
|||
# (tpg) compress these files
|
||||
xz --text ChangeLog
|
||||
|
||||
# see comment in %%files
|
||||
mkdir -p %{buildroot}/var/spool/initramfs-regen
|
||||
touch %{buildroot}/var/spool/initramfs-regen/coreutils
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
|
@ -262,6 +266,12 @@ xz --text ChangeLog
|
|||
%{_sbindir}/chroot
|
||||
%dir %{_libexecdir}/coreutils
|
||||
%{_libexecdir}/coreutils/libstdbuf.so
|
||||
# This file triggers rebuilding initrds when coreutils package is updated
|
||||
# to keep them on the host and inside initrds in sync,
|
||||
# but!!! unlike other packages with /var/spool/initramfs-regen/*,
|
||||
# NO dependency from rosa-kernel-tools here to avoid too complex
|
||||
# dependency graph which must not be complex in coreutils
|
||||
/var/spool/initramfs-regen/coreutils
|
||||
|
||||
%files doc
|
||||
%doc ABOUT-NLS ChangeLog.xz NEWS THANKS TODO README
|
||||
|
|
Loading…
Add table
Reference in a new issue