SHA256
1
0
forked from pool/plymouth

Accepting request 128720 from home:fcrozat:branches:Base:System

- Update to 0.8.6.1:
 + Fix systemd path file generation
- Changes from 0.8.6:
 + fix flush_area fast-path
 + seed random number generator by default for script plugins
 + allow plymouth to be built without gtk dependency
 + cope with lack of /etc/os-release better
 + pull in systemd unit files (bnc#770890)
 + add support for new "updates" mode for doing package updates
  (only available for some plugins at the moment)
- Add plymouth-restore-suspend.patch: revert commit removing
  suspend/resume support, needed for suspend package.
- Add plymouth-systemd-target.patch: add missing symlinks to start
  plymouth on shutdown / reboot / kexec (bnc#770764).
- Add plymouth-udevadm-path.patch: adapt to udevadm path on
  openSUSE.
- Ensure systemctl daemon-reload is called in post / postun
- Add systemd-no-warning.patch: remove Documentation tag not
  handled by systemd v44.
- Update stop-graphical.patch to correct prevent plymouth.quit to
  start under runlevel 5 (handled by xdm initscript directly).

OBS-URL: https://build.opensuse.org/request/show/128720
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=68
This commit is contained in:
Robert Milasan
2012-07-23 09:00:40 +00:00
committed by Git OBS Bridge
parent 122d242dbb
commit 7e3be77ef8
9 changed files with 181 additions and 7 deletions

View File

@@ -23,7 +23,7 @@
Name: plymouth
#Version: %{tarversion}_git%{patchversion}
Version: 0.8.5.1
Version: 0.8.6.1
Release: 0
Summary: Graphical Boot Animation and Logger
License: GPL-2.0+
@@ -41,6 +41,14 @@ Patch2: plymouth-trace-lines
Patch3: plymouth-fix-window-size
# PATCH-OPENSUSE -- Ensure graphical.target is conflicting with plymouth-wait-quit.service
Patch4: stop-graphical.patch
# PATCH-OPENSUSE -- Restore suspend / resume state (needed for suspend package)
Patch5: plymouth-restore-suspend.patch
# PATCH-FIX-UPSTREAM -- Create targets for plymouth systemd services
Patch6: plymouth-systemd-target.patch
# PATCH-OPENSUSE -- Change udevadm path
Patch7: plymouth-udevadm-path.patch
# PATCH-OPENSUSE -- Remove tag not understood by systemd v44
Patch8: systemd-no-warning.patch
BuildRequires: automake
BuildRequires: kernel-headers
BuildRequires: libtool
@@ -323,6 +331,10 @@ plugin.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
# replace builddate with patch0date
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
@@ -393,11 +405,13 @@ if [ ! -e /.buildenv ]; then
[ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
%{_libexecdir}/plymouth/plymouth-update-initrd
fi
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
%postun
if [ $1 -eq 0 ]; then
rm -f %{_libdir}/plymouth/default.so
rm -f /boot/initrd-plymouth.img
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
%post scripts -p /sbin/mkinitrd_setup