mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-23 01:11:53 -09:00
package/util-linux: adding cfdisk enablement comment
This commit introduces a menu comment to users to indicate whether the
`cfdisk` can be built, even when the basic set binaries option is
enabled.
For users wishing to support `fdisks` utilities (cfdisk, fdisk and
sfdisk) in Buildroot, these utilities are enabled through a
`BR2_PACKAGE_UTIL_LINUX_BINARIES` option. This option configures
`all-programs`, which will default enable `fdisks` (along with other
program options that do not have an explicit configuration). While a
user can enable "all programs", there is no guarantee that the
`cfdisk` utility will be built if ncurses is not enabled. Even if an
explicit Buildroot menu option is added for `cfdisk` (where we can
force select ncurses), there is no specific configuration option in
util-linux to toggle the enablement of `cfdisk`.
(alternative to commit f7019acad2)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
@@ -67,6 +67,13 @@ config BR2_PACKAGE_UTIL_LINUX_BINARIES
|
||||
The setarch utility also installs architecture-specific
|
||||
symlinks like linux32, linux64, uname26, i386 and x86_64.
|
||||
|
||||
if BR2_PACKAGE_UTIL_LINUX_BINARIES
|
||||
|
||||
comment "cfdisk needs ncurses"
|
||||
depends on !BR2_PACKAGE_NCURSES
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_AGETTY
|
||||
bool "agetty"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
|
||||
Reference in New Issue
Block a user