diff options
Diffstat (limited to 'eclass/live-artwork.eclass')
-rw-r--r-- | eclass/live-artwork.eclass | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eclass/live-artwork.eclass b/eclass/live-artwork.eclass index f430903a..bfe99b3b 100644 --- a/eclass/live-artwork.eclass +++ b/eclass/live-artwork.eclass @@ -13,12 +13,16 @@ KERN_INITRAMFS_SEARCH_NAME="${KERN_INITRAMFS_SEARCH_NAME:-initramfs-genkernel*}" # @ECLASS-VARIABLE: GFX_SPLASH_NAME # @DESCRIPTION: # Default splash theme name to use -GFX_SPLASH_NAME="${GFX_SPLASH_NAME:-argent}" +GFX_SPLASH_NAME="${GFX_SPLASH_NAME:-live}" # @ECLASS-VARIABLE: PLYMOUTH_THEME # @DESCRIPTION: # Default plymouth theme name to use -PLYMOUTH_THEME="${PLYMOUTH_THEME:-argent}" +if [ $(cat /etc/hostname) == "kogaion" ] ; then + PLYMOUTH_THEME="${PLYMOUTH_THEME:-kogaion}" +elif [ $(cat /etc/hostname) == "argent" ] ; then + PLYMOUTH_THEME="${PLYMOUTH_THEME:-argent}" +fi # @FUNCTION: update_kernel_initramfs_splash # @USAGE: update_kernel_initramfs_splash [splash_theme] [splash_file] @@ -39,12 +43,12 @@ update_kernel_initramfs_splash() { } -# @FUNCTION: update_argent_kernel_initramfs_splash -# @USAGE: update_argent_kernel_initramfs_splash +# @FUNCTION: update_live_kernel_initramfs_splash +# @USAGE: update_live_kernel_initramfs_splash # # @MAINTAINER: # Fabio Erculiani -update_argent_kernel_initramfs_splash() { +update_live_kernel_initramfs_splash() { local splash_name="${GFX_SPLASH_NAME}" local override_splash_file="${ROOT}etc/oem/splash_name" if [ -f "${override_splash_file}" ]; then |