summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-06 11:42:58 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-06 11:42:58 +0000
commit55ca4472a6c0d7f6156a2280a24e1b4863c0cc40 (patch)
tree7034c5dc864e35a526dead197b9ff59ee185a25a /eclass
parent37563d7b90b658cb1b5bbc1a149a42269500e9d1 (diff)
drop deprecated kogaion-artwork eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kogaion-artwork.eclass61
1 files changed, 0 insertions, 61 deletions
diff --git a/eclass/kogaion-artwork.eclass b/eclass/kogaion-artwork.eclass
deleted file mode 100644
index 1c3e5201..00000000
--- a/eclass/kogaion-artwork.eclass
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2004-2009 Sabayon Project
-# Copyright 2012-2015 Rogentos Project
-# Distributed under the terms of the GNU General Public License v2
-# $
-
-inherit eutils
-
-# @ECLASS-VARIABLE: KERN_INITRAMFS_SEARCH_NAME
-# @DESCRIPTION:
-# Argument used by `find` to search inside ${ROOT}boot Linux
-# Kernel initramfs files to patch
-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:-kogaion}" #we leave this for the moment, even not used
-
-# @ECLASS-VARIABLE: PLYMOUTH_THEME
-# @DESCRIPTION:
-# Default plymouth theme name to use
-PLYMOUTH_THEME="${PLYMOUTH_THEME:-kogaion}"
-
-# @FUNCTION: update_kernel_initramfs_splash
-# @USAGE: update_kernel_initramfs_splash [splash_theme] [splash_file]
-# @RETURN: 1, if something went wrong
-#
-# @MAINTAINER:
-# Fabio Erculiani
-update_kernel_initramfs_splash() {
-
- [[ -z "${2}" ]] && die "wrong update_kernel_splash arguments"
-
- if ! has_version "media-gfx/splashutils"; then
- ewarn "media-gfx/splashutils not found, cannot update kernel splash"
- return 1
- fi
- splash_geninitramfs -a "${2}" ${1}
- return ${?}
-
-}
-
-# @FUNCTION: update_kogaion_kernel_initramfs_splash
-# @USAGE: update_kogaion_kernel_initramfs_splash
-#
-# @MAINTAINER:
-# Stefan Cristian B.
-update_kogaion_kernel_initramfs_splash() {
- local splash_name="${GFX_SPLASH_NAME}"
- local override_splash_file="${ROOT}etc/oem/splash_name"
- if [ -f "${override_splash_file}" ]; then
- found_splash_name=$(cat "${override_splash_file}" | cut -d" " -f 1)
- if [ -d "/etc/splash/${found_splash_name}" ]; then
- splash_name="${found_splash_name}"
- fi
- fi
- for bootfile in `find ${ROOT}boot -name "${KERN_INITRAMFS_SEARCH_NAME}"`; do
- einfo "Updating boot splash for ${bootfile}"
- update_kernel_initramfs_splash "${GFX_SPLASH_NAME}" "${bootfile}"
- done
-}