diff options
Diffstat (limited to 'eclass/live-kernel.eclass')
-rw-r--r-- | eclass/live-kernel.eclass | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/live-kernel.eclass b/eclass/live-kernel.eclass index f9509f18..f7d2909d 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= @@ -516,7 +516,7 @@ _kernel_src_compile() { cd "${S}" || die local GKARGS=() - GKARGS+=( "--no-menuconfig" "--no-save-config" "--e2fsprogs" "--udev" ) + GKARGS+=( "--no-menuconfig" "--all-ramdisk-modules" "--no-save-config" "--e2fsprogs" "--udev" ) # use splash && GKARGS+=( "--splash=argent" ) #NO MORE fbsplash!!! use btrfs && GKARGS+=( "--btrfs" ) use plymouth && GKARGS+=( "--plymouth" "--plymouth-theme=${PLYMOUTH_THEME}" ) #reverted to use variable (check the eclass) @@ -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 |