summaryrefslogtreecommitdiffstats
path: root/package/gptfdisk/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-07 10:45:24 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-10 22:06:54 +0100
commit29b83f05274d312a0088dcfdfd52fffb65f64422 (patch)
treed79a24f85922b4484868c5d11edadd6bed51d4ca /package/gptfdisk/Config.in
parent7cbb30115b0c0e70e298c4f0c7b048c396db46b0 (diff)
downloadbuildroot-novena-29b83f05274d312a0088dcfdfd52fffb65f64422.tar.gz
buildroot-novena-29b83f05274d312a0088dcfdfd52fffb65f64422.zip
gdisk: rename to gptfdisk
In order to match the new upstream name, rename the gdisk package to gptfdisk. We add the relevant legacy configuration options to ensure a smooth transition for users. [Peter: fixup Config.in indentation] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gptfdisk/Config.in')
-rw-r--r--package/gptfdisk/Config.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/gptfdisk/Config.in b/package/gptfdisk/Config.in
new file mode 100644
index 000000000..7851dc3dc
--- /dev/null
+++ b/package/gptfdisk/Config.in
@@ -0,0 +1,36 @@
+config BR2_PACKAGE_GPTFDISK
+ bool "gptfdisk"
+ depends on BR2_LARGEFILE
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR # util-linux
+ help
+ GPT fdisk (consisting of the gdisk and sgdisk programs) is a
+ text-mode partitioning tool that works on Globally Unique Identifier
+ (GUID) Partition Table (GPT) disks, rather than on the more common
+ (through 2010) Master Boot Record (MBR) partition tables.
+
+ http://www.rodsbooks.com/gdisk/
+
+config BR2_PACKAGE_GPTFDISK_GDISK
+ bool "interactive gdisk"
+ depends on BR2_PACKAGE_GPTFDISK
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ help
+ Install the interactive GUID partition table (GPT) manipulator
+ /usr/sbin/gdisk which is modelled after and quite similar in use
+ to the traditional MBR based fdisk tool.
+
+config BR2_PACKAGE_GPTFDISK_SGDISK
+ bool "command line sgdisk"
+ depends on BR2_PACKAGE_GPTFDISK
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ select BR2_PACKAGE_POPT
+ help
+ Install the command-line GUID partition table (GPT) manipulator
+ /usr/sbin/sgdisk which is named after the traditional MBR based
+ sfdisk tool albeit with an entirely different option syntax.
+
+comment "gptfdisk requires a toolchain with LARGEFILE/WCHAR/C++ support enabled"
+ depends on !(BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)