forked from pool/plymouth
Accepting request 129223 from home:jengelh:branches:Base:System
- Ship /etc/os-release in the initrd so that the pretty name is displayed in text-splash mode - Give the text-splash some SUSE-typical green coloring OBS-URL: https://build.opensuse.org/request/show/129223 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=72
This commit is contained in:
committed by
Git OBS Bridge
parent
ce7e791909
commit
15ac6b59a5
@@ -47,6 +47,9 @@ Patch6: plymouth-systemd-target.patch
|
||||
Patch7: plymouth-udevadm-path.patch
|
||||
# PATCH-OPENSUSE -- Remove tag not understood by systemd v44
|
||||
Patch8: systemd-no-warning.patch
|
||||
# PATCH-FIX-UPSTREAM -- Recognize quotes often used in sysconfig-style files
|
||||
Patch9: 0001-ply-text-progress-bar-strip-quotes-if-present.patch
|
||||
Patch10: 0001-Some-greenish-openSUSE-colors.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: kernel-headers
|
||||
BuildRequires: libtool
|
||||
@@ -305,6 +308,7 @@ plugin.
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch -P 9 -P 10 -p1
|
||||
|
||||
# replace builddate with patch0date
|
||||
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
||||
@@ -326,7 +330,8 @@ autoreconf -fiv
|
||||
--without-rhgb-compat-link \
|
||||
--with-boot-tty=/dev/tty7 \
|
||||
--with-shutdown-tty=/dev/tty1 \
|
||||
--without-gdm-autostart-file
|
||||
--without-gdm-autostart-file \
|
||||
--with-release-file=/etc/os-release
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -359,9 +364,6 @@ mkdir -p %{buildroot}/lib/mkinitrd/scripts
|
||||
install -t %{buildroot}/lib/mkinitrd/scripts \
|
||||
scripts/{setup,boot}-plymouth*.sh
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
if [ ! -e /.buildenv ]; then
|
||||
[ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
|
||||
|
Reference in New Issue
Block a user