Modified lubuntu-grub-theme

Summary:
Removed post and pre installation scripts and associated files. Modified installation file accordingly.

This just updates the theme. After this, user will have to manually add /boot/grub/themes/lubuntu-grub-theme/theme.txt  to GRUB_THEME in /etc/default/grub and then run grub-update to actually see the theme in effect.

Test Plan:
For this diff, test case is rather simple. Just install lubuntu-grub-theme and make changes to /etc/default/grub as shown in summary. Run grub-update. That's it.

Important part lies after this diff lands.
lubuntu-grub-theme should be added to rSEED and rLUBUNTUMETAPACKAGING.
Once both of them are landed,
The new iso created should install the theme by default during installation of grub.

Now, Ideally it shouldn't. (According to grub's manual) But looking at theme from mate, I can say it will.

Spoiler alert: If it does, then we have a bug in grub.

Reviewers: wxl, tsimonq2, kc2bez

Reviewed By: kc2bez

Subscribers: apt-ghetto

Tags: #development_team

Differential Revision: https://phab.lubuntu.me/D60
ubuntu/focal ubuntu/20.04.1
Raman Sarda 5 years ago committed by Dan Simmons
parent 5c0b9859f3
commit 94efe49d68

12
debian/changelog vendored

@ -1,8 +1,16 @@
lubuntu-artwork (20.04.1) UNRELEASED; urgency=medium lubuntu-artwork (20.04.1) focal; urgency=medium
[ Simon Quigley ]
* Replace wall.png with a symbolic link to the default wallpaper. * Replace wall.png with a symbolic link to the default wallpaper.
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 07 Nov 2019 11:42:29 -0600 [ Raman Sarda ]
* Modified lubuntu-grub-theme
- Removed postinstall and preinstall files.
- Removed cfg script from /etc/default/grub.d/
- Modified install file accordingly.
- Make hummingbird logo appear on grub menu entry.
-- Raman Sarda <theloudspeaker@lubuntu.me> Sat, 09 Nov 2019 22:57:03 +0530
lubuntu-artwork (19.10.3) eoan; urgency=medium lubuntu-artwork (19.10.3) eoan; urgency=medium

@ -1,2 +1 @@
src/etc/default/grub.d/lubuntu-grub-theme.cfg /etc/default/grub.d/
src/boot/grub/themes/lubuntu-grub-theme /boot/grub/themes/ src/boot/grub/themes/lubuntu-grub-theme /boot/grub/themes/

@ -1,24 +0,0 @@
#!/bin/sh
# postinst script for lubuntu-grub-theme
#DEBHELPER#
set -e
case "$1" in
configure)
update-grub
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0

@ -1,23 +0,0 @@
#!/bin/sh
# prerm script for lubuntu-grub-theme
set -e
#DEBHELPER#
case "$1" in
remove|upgrade|deconfigure)
rm /etc/default/grub.d/lubuntu-grub-theme.cfg
update-grub
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0

@ -1 +0,0 @@
GRUB_THEME=/boot/grub/themes/lubuntu-grub-theme/theme.txt
Loading…
Cancel
Save