From 2aae87cb26acaa2d51f63390f5d5e2a0dfd87d3a Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 09 2010 15:24:14 +0000 Subject: Update render_doIdentityImageSyslinux.sh function script. --- diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh index ad26619..94bcdfe 100755 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageSyslinux.sh @@ -59,8 +59,8 @@ function render_doIdentityImageSyslinux { PREFIX="${PREFIX}-floyd" fi - # Define absolute location to motif's palette of colors. - local PALETTES=/home/centos/artwork/trunk/Identity/Themes/Motifs/$(cli_getThemeName)/Colors + # Define motif's palette location. + local PALETTES=$(cli_getRepoTopLevelPath)/Identity/Themes/Motifs/$(cli_getThemeName)/Colors # Define the Netpbm color palette used when reducing colors. This # palette should be 16 colors based. For more information on this @@ -72,6 +72,12 @@ function render_doIdentityImageSyslinux { # match exactly. local PALETTE_HEX=$PALETTES/syslinux.hex + # Print which palette of colors centos-art.sh script is using to + # produce grub content. This is relevant in order to know if we + # are using wether trunk or branches palette of colors. + cli_printMessage "$PALETTE_PPM" 'AsPaletteLine' + cli_printMessage "$PALETTE_HEX" 'AsPaletteLine' + # Check syslinux's palettes existence: If there is no palette # assume that this is the first time you are rendering syslinux # images. If that is the case the script will provide you with the