SHA256
1
0
forked from pool/plymouth
Raymond Wooninck 2012-06-04 18:36:53 +00:00 committed by Git OBS Bridge
parent 623be877e8
commit 624cca7585
2 changed files with 8 additions and 17 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 4 18:34:08 UTC 2012 - tittiatcoke@gmail.com
- Ensure that the openSUSE theme is default.
- Remove unnecessary changes to the kernel options. Plymouth also
accepts splash=silent.
-------------------------------------------------------------------
Wed May 30 16:41:02 UTC 2012 - vuntz@opensuse.org

View File

@ -324,7 +324,7 @@ plugin.
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
# Change the default theme
sed -i -e 's/fade-in/solar/g' src/plymouthd.defaults
sed -i -e 's/fade-in/openSUSE/g' src/plymouthd.defaults
%build
autoreconf -fiv
@ -387,28 +387,12 @@ rm -rf %{buildroot}
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
if [ $1 -eq 1 ]; then
if [ -f %{_sysconfdir}/default/grub ]; then
sed -i 's|splash=silent|splash|g' %{_sysconfdir}/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
fi
if [ -f /boot/grub/menu.lst ]; then
sed -i 's|splash=silent|splash|g' /boot/grub/menu.lst
fi
fi
fi
%postun
if [ $1 -eq 0 ]; then
rm -f %{_libdir}/plymouth/default.so
rm -f /boot/initrd-plymouth.img
if [ -f %{_sysconfdir}/default/grub ]; then
sed -i 's|splash|splash=silent|g' %{_sysconfdir}/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
fi
if [ -f /boot/grub/menu.lst ]; then
sed -i 's|splash|splash=silent|g' /boot/grub/menu.lst
fi
fi
%post scripts -p /sbin/mkinitrd_setup