summaryrefslogtreecommitdiff
path: root/eclass/live-kernel.eclass
diff options
context:
space:
mode:
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