Merge lp:~xnox/debian-cd/disco-colours into lp:~ubuntu-cdimage/debian-cd/ubun3

Proposed by Dimitri John Ledkov
Status: Work in progress
Proposed branch: lp:~xnox/debian-cd/disco-colours
Merge into: lp:~ubuntu-cdimage/debian-cd/ubun3
Diff against target: 78 lines (+34/-27)
1 file modified
tools/boot/disco/boot-amd64 (+34/-27)
To merge this branch: bzr merge lp:~xnox/debian-cd/disco-colours
Reviewer Review Type Date Requested Status
Dimitri John Ledkov (community) Needs Resubmitting
Steve Langasek Needs Fixing
Review via email: mp+358311@code.launchpad.net

Commit message

Start to use colour branding similar to the one use with grub efi & plymouth ubuntu-logo theme.
Also allow for flavours to also set similar grub efi colour branding.

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Needs Fixing
Revision history for this message
Dimitri John Ledkov (xnox) :
Revision history for this message
Steve Langasek (vorlon) :
review: Needs Fixing
Revision history for this message
Steve Langasek (vorlon) :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Needs to be redone based on the new spinner theme & new series.

review: Needs Resubmitting

Unmerged revisions

2009. By Dimitri John Ledkov

Clear d-i branding, if it starts to have any.

2008. By Dimitri John Ledkov

Set background color in grub config too.

2007. By Dimitri John Ledkov

Switch ubuntu to the correct dark aubergine.

2006. By Dimitri John Ledkov

Refactor color-branding gfxboot.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tools/boot/disco/boot-amd64'
--- tools/boot/disco/boot-amd64 2018-10-30 13:12:35 +0000
+++ tools/boot/disco/boot-amd64 2018-11-05 11:06:56 +0000
@@ -309,6 +309,8 @@
309mv boot$N/isolinux/grub/* $CDDIR/boot/grub/309mv boot$N/isolinux/grub/* $CDDIR/boot/grub/
310rmdir boot$N/isolinux/grub310rmdir boot$N/isolinux/grub
311sed -i '/^menuentry/Q' $CDDIR/boot/grub/grub.cfg311sed -i '/^menuentry/Q' $CDDIR/boot/grub/grub.cfg
312# just in case d-i/mini.iso starts to set dark aubergine
313sed -i '/^if background_color/Q' $CDDIR/boot/grub/grub.cfg || true
312314
313if [ "$BACKPORT_KERNEL" ]; then315if [ "$BACKPORT_KERNEL" ]; then
314 cat > $CDDIR/boot/grub/hwe-grub.cfg <<EOF316 cat > $CDDIR/boot/grub/hwe-grub.cfg <<EOF
@@ -361,33 +363,38 @@
361ui gfxboot bootlogo363ui gfxboot bootlogo
362EOF364EOF
363fi365fi
364if [ "$PROJECT" = ubuntu ] || [ "$PROJECT" = ubuntu-server ] || \366case $PROJECT in
365 [ "$PROJECT" = ubuntu-mid ] || [ "$PROJECT" = ubuntu-netbook ] || \367 ubuntu|ubuntu-server|ubuntukylin|mythbuntu|ubuntu-mid|ubuntu-netbook|ubuntu-desktop-next)
366 [ "$PROJECT" = mythbuntu ] || [ "$PROJECT" = ubuntukylin ] || \368 FOREGROUND=FFFFFF
367 [ "$PROJECT" = ubuntu-desktop-next ]; then369 BACKGROUND=958490
368 cat >> boot$N/isolinux/gfxboot.cfg <<EOF370 SCREENCOLOUR=2C001E
369foreground=0xFFFFFF371 ;;
370background=0x958490372 ubuntu-gnome)
371screen-colour=0x270A1E373 SCREENCOLOUR=2D3335
372EOF374 ;;
373fi375 ubuntu-budgie)
374if [ "$PROJECT" = ubuntu-gnome ]; then376 FOREGROUND=ffffff
375 cat >> boot$N/isolinux/gfxboot.cfg <<EOF377 BACKGROUND=d3dae3
376screen-colour=0x2D3335378 SCREENCOLOUR=383c4a
377EOF379 ;;
378fi380 ubuntu-mate)
379if [ "$PROJECT" = ubuntu-budgie ]; then381 FOREGROUND=ffffff
380 cat >> boot$N/isolinux/gfxboot.cfg <<EOF382 BACKGROUND=87a556
381foreground=0xffffff383 SCREENCOLOUR=3c3b37
382background=0xd3dae3384 ;;
383screen-colour=0x383c4a385esac
384EOF386if [ -n "$FOREGROUND" ]; then
385fi387 echo "foreground=0x$FOREGROUND" >> boot$N/isolinux/gfxboot.cfg
386if [ "$PROJECT" = ubuntu-mate ]; then388fi
387 cat >> boot$N/isolinux/gfxboot.cfg <<EOF389if [ -n "$BACKGROUND" ]; then
388foreground=0xffffff390 echo "background=0x$BACKGROUND" >> boot$N/isolinux/gfxboot.cfg
389background=0x87a556391fi
390screen-colour=0x3c3b37392if [ -n "$SCREENCOLOUR" ]; then
393 echo "screen-colour=0x$SCREENCOLOUR" >> boot$N/isolinux/gfxboot.cfg
394 cat >> $CDDIR/boot/grub/grub.cfg <<EOF
395if background_color "#$SCREENCOLOUR"; then
396 clear
397fi
391EOF398EOF
392fi399fi
393if [ "$HIDDEN_TIMEOUT" ]; then400if [ "$HIDDEN_TIMEOUT" ]; then

Subscribers

People subscribed via source and target branches