summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-10 15:17:58 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-10 15:17:58 +0200
commit24da5ef26fe7f276c17d870b658ff3c8c5772667 (patch)
tree4aca0faaf00b5307bb249df65fa1b142ca5d6dde /eclass
parent31277ef1b1b253ee8b48c7604cf611d950986d48 (diff)
Upgraded to the upstream eclasses
Diffstat (limited to 'eclass')
-rw-r--r--eclass/sabayon-artwork.eclass5
-rw-r--r--eclass/sabayon-kernel.eclass4
2 files changed, 8 insertions, 1 deletions
diff --git a/eclass/sabayon-artwork.eclass b/eclass/sabayon-artwork.eclass
index 59d11cca..f0aac62d 100644
--- a/eclass/sabayon-artwork.eclass
+++ b/eclass/sabayon-artwork.eclass
@@ -15,6 +15,11 @@ KERN_INITRAMFS_SEARCH_NAME="${KERN_INITRAMFS_SEARCH_NAME:-initramfs-genkernel*}"
# Default splash theme name to use
GFX_SPLASH_NAME="${GFX_SPLASH_NAME:-sabayon}"
+# @ECLASS-VARIABLE: PLYMOUTH_THEME
+# @DESCRIPTION:
+# Default plymouth theme name to use
+PLYMOUTH_THEME="${PLYMOUTH_THEME:-sabayon}"
+
# @FUNCTION: update_kernel_initramfs_splash
# @USAGE: update_kernel_initramfs_splash [splash_theme] [splash_file]
# @RETURN: 1, if something went wrong
diff --git a/eclass/sabayon-kernel.eclass b/eclass/sabayon-kernel.eclass
index 4c6235d9..7197ca00 100644
--- a/eclass/sabayon-kernel.eclass
+++ b/eclass/sabayon-kernel.eclass
@@ -280,6 +280,8 @@ _is_kernel_lts() {
[ "${_ver}" = "3.2" ] && return 0
[ "${_ver}" = "3.4" ] && return 0
[ "${_ver}" = "3.10" ] && return 0
+ [ "${_ver}" = "3.12" ] && return 0
+ [ "${_ver}" = "3.14" ] && return 0
return 1
}
@@ -872,7 +874,7 @@ sabayon-kernel_pkg_postinst() {
fi
# Update kernel initramfs to match user customizations
- update_sabayon_kernel_initramfs_splash
+ use splash && update_sabayon_kernel_initramfs_splash
# Add kernel to grub.conf
if use amd64 || use x86; then