[oe-commits] Koen Kooi : gptfdisk: add 0.8.10+git version
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 12 15:39:15 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 8c219ef79ce9855524e483d13b3c9559f9233eb1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8c219ef79ce9855524e483d13b3c9559f9233eb1
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Mon Nov 10 11:11:33 2014 +0100
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.
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/fdisk/gptfdisk_git.bb | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_git.bb b/meta/recipes-devtools/fdisk/gptfdisk_git.bb
new file mode 100644
index 0000000..477c1d9
--- /dev/null
+++ b/meta/recipes-devtools/fdisk/gptfdisk_git.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "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."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
+
+DEPENDS = "util-linux popt ncurses"
+
+PV = "0.8.10+git${SRCPV}"
+SRCREV = "a920398fa393f9d6301b32b191bc01e086ab8bc8"
+SRC_URI = "git://git.code.sf.net/p/gptfdisk/code"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -m 0755 cgdisk ${D}${sbindir}
+ install -m 0755 gdisk ${D}${sbindir}
+ install -m 0755 sgdisk ${D}${sbindir}
+ install -m 0755 fixparts ${D}${sbindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
More information about the Openembedded-commits
mailing list