summaryrefslogtreecommitdiff
path: root/eclass/live-kernel.eclass
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-08-22 04:44:11 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-08-22 04:44:11 +0300
commit648edd554317a64276aefd5b200d9a7826e3fa4f (patch)
treeaadd388a71a6bd90890a86c8c392f8acfb5b91b8 /eclass/live-kernel.eclass
parent1381347b3c0cf000f9b2213c51e3d203c492aab7 (diff)
parent7fb82c27a424d6a780482765c32fd76f8baf50cb (diff)
Merge branch 'master' of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'eclass/live-kernel.eclass')
-rw-r--r--eclass/live-kernel.eclass10
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