Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
meta-anaconda: add kernel config
Browse files Browse the repository at this point in the history
The set of kernel scc/cfg are required by target build and host build.

- For target build, add anaconda_support_kernel to KERNEL_CLASSES

- For host build, add anaconda_kernel to KERNEL_CLASSES

Signed-off-by: Hongxu Jia <[email protected]>
  • Loading branch information
hongxu-jia committed Nov 24, 2017
1 parent 3518661 commit 7a63704
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 0 deletions.
14 changes: 14 additions & 0 deletions classes/anaconda_kernel.bbclass
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FILESEXTRAPATHS_prepend := "${LAYER_PATH_meta-installer}/recipes-kernel/linux/files/:"
SRC_URI_append = " \
file://dmthin.scc \
file://crypt.scc \
file://liveinstall.scc \
file://efivars.scc \
file://multipath.scc \
file://ide.scc \
"

KERNEL_FEATURES_append = " \
features/overlayfs/overlayfs.scc \
cfg/systemd.scc \
"
8 changes: 8 additions & 0 deletions classes/anaconda_support_kernel.bbclass
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FILESEXTRAPATHS_prepend := "${LAYER_PATH_meta-installer}/recipes-kernel/linux/files/:"
SRC_URI_append = " \
file://dmthin.scc \
file://crypt.scc \
"

KERNEL_FEATURES_append = " cfg/systemd.scc"

2 changes: 2 additions & 0 deletions recipes-kernel/linux/files/crypt.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_CRYPTO_AES_NI_INTEL=m
CONFIG_CRYPTO_AES_X86_64=m
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/crypt.scc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kconf non-hardware crypt.cfg
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/dmthin.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_DM_THIN_PROVISIONING=y
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/dmthin.scc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kconf non-hardware dmthin.cfg
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/efivars.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_EFI_VARS=y
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/efivars.scc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kconf non-hardware efivars.cfg
5 changes: 5 additions & 0 deletions recipes-kernel/linux/files/ide.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CONFIG_BLK_DEV_IDEDMA_SFF=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IDEDMA=y
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/ide.scc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kconf non-hardware ide.cfg
5 changes: 5 additions & 0 deletions recipes-kernel/linux/files/liveinstall.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CONFIG_ISO9660_FS=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_XATTR=y
# CONFIG_BLK_DEV_PIIX is not set
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/liveinstall.scc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kconf non-hardware liveinstall.cfg
3 changes: 3 additions & 0 deletions recipes-kernel/linux/files/multipath.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_DM_MULTIPATH=y
CONFIG_DM_MULTIPATH_QL=y
CONFIG_DM_MULTIPATH_ST=y
1 change: 1 addition & 0 deletions recipes-kernel/linux/files/multipath.scc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kconf non-hardware multipath.cfg

0 comments on commit 7a63704

Please sign in to comment.