common/rc: add _require_kernel_config and _has_kernel_config
authorLukas Czerner <lczerner@redhat.com>
Mon, 8 Nov 2021 21:04:23 +0000 (22:04 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 14 Nov 2021 10:56:56 +0000 (18:56 +0800)
commitd83eaf7464790217c12a0f4e3ed9064f6bbc2540
treefbf19b8eb354c041e847b5c0c374b706da7147b7
parent7be8db3322a8a98a0b98aeda5fce3fa753126ffc
common/rc: add _require_kernel_config and _has_kernel_config

Add _require_kernel_config() and _has_kernel_config() helpers to check
whether a specific kernel configuration is enabled on the kernel.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
README
common/config
common/rc