summaryrefslogtreecommitdiff
path: root/eclass/live-kernel.eclass
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-08-14 22:29:43 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-08-14 22:29:43 +0300
commit9dd88f75684422925726ca01d5d2e86b4cb7d59f (patch)
tree2ab28669e10da506e1492ec1636695fbeb5cc5e7 /eclass/live-kernel.eclass
parentf4d57a7111a39c99574dbc3bf70cab05f63ae598 (diff)
[live*] modificat eclass live pentru eliminarea confuziei dintre thema PLYMOUTH si numele sistemului
Diffstat (limited to 'eclass/live-kernel.eclass')
-rw-r--r--eclass/live-kernel.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/live-kernel.eclass b/eclass/live-kernel.eclass
index 288ebed3..0327124a 100644
--- a/eclass/live-kernel.eclass
+++ b/eclass/live-kernel.eclass
@@ -473,7 +473,7 @@ _kernel_copy_config() {
local base_path="${DISTDIR}"
if [ -n "${K_ROGKERNEL_SELF_TARBALL_NAME}" ]; then
- base_path="${S}/${PLYMOUTH_THEME}/config"
+ base_path="${S}/${SYSTEM_DISTRO}/config"
fi
local found= cfg=
@@ -874,7 +874,11 @@ live-kernel_pkg_postinst() {
fi
# Update kernel initramfs to match user customizations
- use splash && update_${PLYMOUTH_THEME}_kernel_initramfs_splash
+ if [[ ${SYSTEM_DISTRO} == "kogaion" ]] ; then
+ use splash && update_kogaion_kernel_initramfs_splash
+ else
+ use splash && update_argent_kernel_initramfs_splash
+ fi
# Add kernel to grub.conf
if use amd64 || use x86; then