summaryrefslogtreecommitdiffstats
path: root/recipes-containers/criu/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/criu/files')
-rw-r--r--recipes-containers/criu/files/0001-Fixed-hardcoding.patch47
-rw-r--r--recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch46
-rw-r--r--recipes-containers/criu/files/0002-criu-Skip-documentation-install.patch29
3 files changed, 75 insertions, 47 deletions
diff --git a/recipes-containers/criu/files/0001-Fixed-hardcoding.patch b/recipes-containers/criu/files/0001-Fixed-hardcoding.patch
deleted file mode 100644
index 5ff0a78d..00000000
--- a/recipes-containers/criu/files/0001-Fixed-hardcoding.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 32c6c037a6de0a0972e16949ebb64ffebb5b7bcc Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?David=20Nystr=C3=B6m?= <david.nystrom@enea.com>
3Date: Wed, 28 Nov 2012 15:07:27 +0100
4Subject: [PATCH] Fixed hardcoding
5
6---
7 Makefile.inc | 24 ++++++++++++------------
8 1 file changed, 12 insertions(+), 12 deletions(-)
9
10diff --git a/Makefile.inc b/Makefile.inc
11index 722cbfc..3ae693e 100644
12--- a/Makefile.inc
13+++ b/Makefile.inc
14@@ -11,18 +11,18 @@ else
15 endif
16 export E Q
17
18-FIND := find
19-CSCOPE := cscope
20-TAGS := ctags
21-RM := rm
22-LD := ld
23-HEXDUMP := hexdump
24-CC := gcc
25-ECHO := echo
26-NM := nm
27-AWK := awk
28-SH := sh
29-MAKE := make
30+FIND ?= find
31+CSCOPE ?= cscope
32+TAGS ?= ctags
33+RM ?= rm
34+LD ?= ld
35+HEXDUMP ?= hexdump
36+CC ?= gcc
37+ECHO ?= echo
38+NM ?= nm
39+AWK ?= awk
40+SH ?= sh
41+MAKE ?= make
42
43 # Additional ARCH settings for x86
44 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
45--
461.7.9.5
47
diff --git a/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch
new file mode 100644
index 00000000..2fabe0ad
--- /dev/null
+++ b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch
@@ -0,0 +1,46 @@
1From 3d4f112fdb434712eba09239a468842323f1af4c Mon Sep 17 00:00:00 2001
2From: Yang Shi <yang.shi@windriver.com>
3Date: Tue, 26 Aug 2014 14:42:42 -0700
4Subject: [PATCH 1/2] criu: Fix toolchain hardcode
5
6Replace ":=" to "?=" so that the toolchain used by bitbake build system will
7be taken.
8
9Signed-off-by: Yang Shi <yang.shi@windriver.com>
10Signed-off-by: Nam Ninh <nam.ninh@windriver.com>
11---
12 Makefile | 18 +++++++++---------
13 1 file changed, 9 insertions(+), 9 deletions(-)
14
15diff --git a/Makefile b/Makefile
16index f1c8784..43252ec 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -23,15 +23,15 @@ export VERSION_SO_MAJOR VERSION_SO_MINOR
20 # Common definitions
21 #
22
23-FIND := find
24-CSCOPE := cscope
25-RM := rm -f
26-LD := $(CROSS_COMPILE)ld
27-CC := $(CROSS_COMPILE)gcc
28-NM := $(CROSS_COMPILE)nm
29-SH := bash
30-MAKE := make
31-OBJCOPY := $(CROSS_COMPILE)objcopy
32+FIND ?= find
33+CSCOPE ?= cscope
34+RM ?= rm -f
35+LD ?= $(CROSS_COMPILE)ld
36+CC ?= $(CROSS_COMPILE)gcc
37+NM ?= $(CROSS_COMPILE)nm
38+SH ?= bash
39+MAKE ?= make
40+OBJCOPY ?= $(CROSS_COMPILE)objcopy
41
42 CFLAGS += $(USERCFLAGS)
43
44--
452.0.2
46
diff --git a/recipes-containers/criu/files/0002-criu-Skip-documentation-install.patch b/recipes-containers/criu/files/0002-criu-Skip-documentation-install.patch
new file mode 100644
index 00000000..eaf81603
--- /dev/null
+++ b/recipes-containers/criu/files/0002-criu-Skip-documentation-install.patch
@@ -0,0 +1,29 @@
1From e9c2a94b9eb37ad24672b10caa398bd18282b962 Mon Sep 17 00:00:00 2001
2From: Yang Shi <yang.shi@windriver.com>
3Date: Tue, 26 Aug 2014 14:44:51 -0700
4Subject: [PATCH 2/2] criu: Skip documentation install
5
6asciidoc is needed to generate CRIU documentation, so skip it in install.
7
8Signed-off-by: Yang Shi <yang.shi@windriver.com>
9Signed-off-by: Nam Ninh <nam.ninh@windriver.com>
10---
11 Makefile | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/Makefile b/Makefile
15index 43252ec..e25edcc 100644
16--- a/Makefile
17+++ b/Makefile
18@@ -265,7 +265,7 @@ install: $(PROGRAM) install-man
19 $(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR)
20
21 install-man:
22- $(Q) $(MAKE) -C Documentation install
23+# $(Q) $(MAKE) -C Documentation install
24
25 .PHONY: install install-man
26
27--
282.0.2
29