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/D60ubuntu/focal ubuntu/20.04.1
parent
5c0b9859f3
commit
94efe49d68
@ -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
|
|
@ -0,0 +1 @@
|
|||||||
|
lubuntu.png
|
@ -1 +0,0 @@
|
|||||||
GRUB_THEME=/boot/grub/themes/lubuntu-grub-theme/theme.txt
|
|
Loading…
Reference in new issue