summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2014-11-10 11:11:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-12 15:38:31 +0000
commit5c69e44ca87deac19c9a28637cb0e088338826db (patch)
tree6688d08817ffbd2213362b1525cb348d474ef52d /meta/recipes-devtools
parent35c2ff702e7b4a17f08a3004ea783d405fde0263 (diff)
downloadpoky-5c69e44ca87deac19c9a28637cb0e088338826db.tar.gz
gptfdisk: add 0.8.10+git version
Besides from being useful as fdisk replacement this gives us 'sgdisk' which can be used to set the GUID for partitions, e.g. sgdisk -t 1:C12A7328-F81F-11D2-BA4B-00A0C93EC93B /dev/mmcblk0p1 To mark it as ESP in scripts like mkefidisk.sh. (From OE-Core rev: 8c219ef79ce9855524e483d13b3c9559f9233eb1) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk_git.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_git.bb b/meta/recipes-devtools/fdisk/gptfdisk_git.bb
new file mode 100644
index 0000000000..477c1d986f
--- /dev/null
+++ b/meta/recipes-devtools/fdisk/gptfdisk_git.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. The related FixParts utility fixes some common problems on Master Boot Record (MBR) disks."
2
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
5
6DEPENDS = "util-linux popt ncurses"
7
8PV = "0.8.10+git${SRCPV}"
9SRCREV = "a920398fa393f9d6301b32b191bc01e086ab8bc8"
10SRC_URI = "git://git.code.sf.net/p/gptfdisk/code"
11
12S = "${WORKDIR}/git"
13
14do_install() {
15 install -d ${D}${sbindir}
16 install -m 0755 cgdisk ${D}${sbindir}
17 install -m 0755 gdisk ${D}${sbindir}
18 install -m 0755 sgdisk ${D}${sbindir}
19 install -m 0755 fixparts ${D}${sbindir}
20}
21
22BBCLASSEXTEND = "native nativesdk"