summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-06-05 15:44:41 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-09 09:26:53 -0400
commit1a21748b3cd2476e99f7326efebc3aaa87772ed8 (patch)
treee13af1d3145c3f8dd08769960d817136126abc14 /meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch
parentb06874fd38f3c2e77fb6f1950f4f70a3dbeca418 (diff)
downloadmeta-cloud-services-1a21748b3cd2476e99f7326efebc3aaa87772ed8.tar.gz
introduce gptfdisk.bb
GPT fdisk (gptfdisk) is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. When prepare disk device for ceph with ceph-disk, it's required sgdisk util from gptfdisk to perform disk partition. So add gptfdisk.bb. Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch')
-rw-r--r--meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch b/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch
new file mode 100644
index 0000000..8939cc1
--- /dev/null
+++ b/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch
@@ -0,0 +1,18 @@
1fix host contamination
2
3Make sure that the Makefile uses gcc cross
4compiler from build system, but not use
5the host gcc
6
7Signed-off-by: Vu Tran <vu.tran@windriver.com>
8
9diff --git a/Makefile b/Makefile
10index 1ae018e..4c23b45 100644
11--- a/Makefile
12+++ b/Makefile
13@@ -1,5 +1,3 @@
14-CC=gcc
15-CXX=g++
16 CFLAGS+=-D_FILE_OFFSET_BITS=64
17 #CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
18 CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64