summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-07-12 04:24:27 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-07-12 04:24:33 +0300
commit2123c8a7e5b729478b36f4bfa8e820012f4505af (patch)
tree9779d5411bc224760ac81cf01a159162b9faa297 /eclass
parent9cb2868c054569a17ed61d112aecdaa5a6d3ca23 (diff)
full support for btrfs in kernels
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kogaion-kernel.eclass1
-rw-r--r--eclass/live-kernel.eclass4
2 files changed, 4 insertions, 1 deletions
diff --git a/eclass/kogaion-kernel.eclass b/eclass/kogaion-kernel.eclass
index d90ea59c..05ddb882 100644
--- a/eclass/kogaion-kernel.eclass
+++ b/eclass/kogaion-kernel.eclass
@@ -365,6 +365,7 @@ else
x86? ( sys-apps/v86d )
splash? ( x11-themes/kogaion-artwork-core )
lvm? ( sys-fs/lvm2 sys-block/thin-provisioning-tools )
+ btrfs? ( sys-fs/btrfs-progs )
plymouth? (
|| ( >=sys-kernel/genkernel-next-5 >=sys-kernel/genkernel-5 )
sys-boot/plymouth
diff --git a/eclass/live-kernel.eclass b/eclass/live-kernel.eclass
index 8159365e..b33b297e 100644
--- a/eclass/live-kernel.eclass
+++ b/eclass/live-kernel.eclass
@@ -351,7 +351,7 @@ if [ -n "${K_ONLY_SOURCES}" ] || [ -n "${K_FIRMWARE_PACKAGE}" ]; then
DEPEND="sys-apps/sed"
RDEPEND="${RDEPEND}"
else
- IUSE="dmraid dracut iscsi luks lvm mdadm plymouth splash"
+ IUSE="btrfs dmraid dracut iscsi luks lvm mdadm plymouth splash"
if [ -n "${K_ROGKERNEL_ZFS}" ]; then
IUSE="${IUSE} zfs"
fi
@@ -365,6 +365,7 @@ else
x86? ( sys-apps/v86d )
splash? ( x11-themes/${PLYMOUTH_THEME}-artwork-core )
lvm? ( sys-fs/lvm2 sys-block/thin-provisioning-tools )
+ btrfs? ( sys-fs/btrfs-progs )
plymouth? (
|| ( >=sys-kernel/genkernel-next-5 >=sys-kernel/genkernel-5 )
sys-boot/plymouth
@@ -517,6 +518,7 @@ _kernel_src_compile() {
local GKARGS=()
GKARGS+=( "--no-menuconfig" "--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)
use dmraid && GKARGS+=( "--dmraid" )
use iscsi && GKARGS+=( "--iscsi" )