mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
yocto-kernel: add support for destroying recipe-space kernel features
Add a yocto-kernel command allowing users to destroy a recipe-space kernel feature local to a particular BSP. The removed feature is subsequently no longer available for the normal feature addition and removal yocto-kernel commands. (From meta-yocto rev: faa18f56d9412694f2c8e0b0c09e751cb7f3a743) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5edc7af428
commit
8c9320cc92
@@ -389,6 +389,7 @@ yocto_kernel_usage = """
|
||||
features list List the features available to BSPs
|
||||
feature describe Describe a particular feature
|
||||
feature create Create a new BSP-local feature
|
||||
feature destroy Remove a BSP-local feature
|
||||
|
||||
See 'yocto-kernel help COMMAND' for more information on a specific command.
|
||||
|
||||
@@ -788,6 +789,36 @@ DESCRIPTION
|
||||
(which for the time being can be one of: 'all' or 'board').
|
||||
"""
|
||||
|
||||
|
||||
yocto_kernel_feature_destroy_usage = """
|
||||
|
||||
Destroy a recipe-space kernel feature in a BSP
|
||||
|
||||
usage: yocto-kernel feature destroy <bsp-name> feature.scc
|
||||
|
||||
This command destroys a kernel feature defined in the specified BSP's
|
||||
recipe-space kernel definition.
|
||||
"""
|
||||
|
||||
|
||||
yocto_kernel_feature_destroy_help = """
|
||||
|
||||
NAME
|
||||
yocto-kernel feature destroy <bsp-name> feature.scc - destroy a
|
||||
recipe-space kernel feature in a BSP
|
||||
|
||||
SYNOPSIS
|
||||
yocto-kernel feature destroy <bsp-name> feature.scc
|
||||
|
||||
DESCRIPTION
|
||||
This command destroys a kernel feature defined in the specified
|
||||
BSP's recipe-space kernel definition. The named feature must end
|
||||
with .scc and must not contain a feature directory to contain the
|
||||
feature (this will be determined automatically). If the kernel
|
||||
feature is in use by a BSP, it can't be removed until the BSP
|
||||
stops using it (see yocto-kernel feature rm to stop using it).
|
||||
"""
|
||||
|
||||
##
|
||||
# yocto-layer help and usage strings
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user