forked from pool/plymouth
This commit is contained in:
parent
623be877e8
commit
624cca7585
@ -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
|
Wed May 30 16:41:02 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ plugin.
|
|||||||
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
||||||
|
|
||||||
# Change the default theme
|
# 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
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -387,28 +387,12 @@ rm -rf %{buildroot}
|
|||||||
if [ ! -e /.buildenv ]; then
|
if [ ! -e /.buildenv ]; then
|
||||||
[ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
|
[ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
|
||||||
%{_libexecdir}/plymouth/plymouth-update-initrd
|
%{_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
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
rm -f %{_libdir}/plymouth/default.so
|
rm -f %{_libdir}/plymouth/default.so
|
||||||
rm -f /boot/initrd-plymouth.img
|
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
|
fi
|
||||||
|
|
||||||
%post scripts -p /sbin/mkinitrd_setup
|
%post scripts -p /sbin/mkinitrd_setup
|
||||||
|
Loading…
Reference in New Issue
Block a user