All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-cgl][PATCH 0/5][RFC] CGL cleanup
@ 2018-04-16 15:03 Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 1/5] meta-cgl-fsl-ppc: drop layer supporting old kernel Armin Kuster
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Armin Kuster @ 2018-04-16 15:03 UTC (permalink / raw)
  To: akuster808, yocto

I understand some of these changes a harsh. This set of changes allow this layer to pass the 
yocto-check-layer. This is one of many options to address passing.
 

Armin Kuster (5):
  meta-cgl-fsl-ppc: drop layer supporting old kernel
  Corosync: remove recipe its in meta-networking.
  makedumpfile: remove as its in meta-oe
  iscsi-initiator-utils: drop bbappends
  meta-cge-common: Add README

 meta-cgl-common/README                             | 138 ++++++++++++++++++
 .../corosync/build-cleanup-configure-ac.patch      |  57 --------
 .../corosync/corosync/corosync-docs.patch          |  37 -----
 .../corosync/corosync/corosync-notifyd.service     |  13 --
 .../recipes-cgl/corosync/corosync/corosync.init    | 160 ---------------------
 .../recipes-cgl/corosync/corosync/corosync.service |  26 ----
 .../corosync/corosync/fix-define-semun-union.patch |  20 ---
 .../corosync/corosync/groff-desc-path.patch        |  12 --
 .../recipes-cgl/corosync/corosync/notifyd.init     | 120 ----------------
 .../recipes-cgl/corosync/corosync/volatiles        |   1 -
 .../recipes-cgl/corosync/corosync_1.4.8.bb         |  88 ------------
 .../files/alias-powerpc-powerpc32.patch            |  18 ---
 .../recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb |  20 ---
 .../iscsi-initiator-utils_%.bbappend               |   1 -
 meta-cgl-fsl-ppc/conf/layer.conf                   |  14 --
 ...p-inherit-auth-capable-on-INIT-collisions.patch |  41 ------
 ...erpc-Fix-64-bit-builds-with-binutils-2.24.patch |  80 -----------
 .../linux/linux-qoriq-cgl-prt_3.12.bb              |  36 -----
 18 files changed, 138 insertions(+), 744 deletions(-)
 create mode 100644 meta-cgl-common/README
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/build-cleanup-configure-ac.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync-docs.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync.init
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/fix-define-semun-union.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/groff-desc-path.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/notifyd.init
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/volatiles
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb
 delete mode 100644 meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
 delete mode 100644 meta-cgl-common/recipes-extended/iscsi-initiator-utils/iscsi-initiator-utils_%.bbappend
 delete mode 100644 meta-cgl-fsl-ppc/conf/layer.conf
 delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch
 delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch
 delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb

-- 
2.7.4



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [meta-cgl][PATCH 1/5] meta-cgl-fsl-ppc: drop layer supporting old kernel
  2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
@ 2018-04-16 15:03 ` Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 2/5] Corosync: remove recipe its in meta-networking Armin Kuster
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-04-16 15:03 UTC (permalink / raw)
  To: akuster808, yocto

This supports 3.12 and is expecting the old meta-fsl-ppc layer

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta-cgl-fsl-ppc/conf/layer.conf                   | 14 ----
 ...p-inherit-auth-capable-on-INIT-collisions.patch | 41 -----------
 ...erpc-Fix-64-bit-builds-with-binutils-2.24.patch | 80 ----------------------
 .../linux/linux-qoriq-cgl-prt_3.12.bb              | 36 ----------
 4 files changed, 171 deletions(-)
 delete mode 100644 meta-cgl-fsl-ppc/conf/layer.conf
 delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch
 delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch
 delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb

diff --git a/meta-cgl-fsl-ppc/conf/layer.conf b/meta-cgl-fsl-ppc/conf/layer.conf
deleted file mode 100644
index dbc6d1c..0000000
--- a/meta-cgl-fsl-ppc/conf/layer.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-# We have a conf and classes directory, add to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have recipes-* directories, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
-	${LAYERDIR}/recipes-*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "cgl-fsl-ppc"
-BBFILE_PATTERN_cgl-fsl-ppc = "^${LAYERDIR}/"
-BBFILE_PRIORITY_cgl-fsl-ppc = "7"
-
-LAYERDEPENDS_cgl-fsl-ppc = "cgl-common"
-
-LAYERSERIES_COMPAT_cgl-fsl-ppc = "sumo"
diff --git a/meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch b/meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch
deleted file mode 100644
index 7d16535..0000000
--- a/meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-CVE-2014-5077 Kernel/SCTP: fix a NULL pointer dereference
-
-A NULL pointer dereference flaw was found in the way the
-Linux kernel's Stream Control Transmission Protocol
-(SCTP) implementation handled simultaneous connections
-between the same hosts. A remote attacker could use this
-flaw to crash the system.
-
-Upstream-Status: Backport (from v3.16, commit 1be9a950c646c)
-
-References:
-    - https://access.redhat.com/security/cve/CVE-2014-5077
-    - http://patchwork.ozlabs.org/patch/372475/
-
-Fixes: 730fc3d05cd4 ("[SCTP]: Implete SCTP-AUTH parameter processing")
-Reported-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
-Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-Tested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
-Cc: Vlad Yasevich <vyasevich@gmail.com>
-Acked-by: Vlad Yasevich <vyasevich@gmail.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Liviu Gheorghisan <liviu.gheorghisan@enea.com>
----
- net/sctp/associola.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/net/sctp/associola.c b/net/sctp/associola.c
-index 9de23a2..06a9ee6 100644
---- a/net/sctp/associola.c
-+++ b/net/sctp/associola.c
-@@ -1097,6 +1097,7 @@ void sctp_assoc_update(struct sctp_association *asoc,
- 	asoc->c = new->c;
- 	asoc->peer.rwnd = new->peer.rwnd;
- 	asoc->peer.sack_needed = new->peer.sack_needed;
-+	asoc->peer.auth_capable = new->peer.auth_capable;
- 	asoc->peer.i = new->peer.i;
- 	sctp_tsnmap_init(&asoc->peer.tsn_map, SCTP_TSN_MAP_INITIAL,
- 			 asoc->peer.i.initial_tsn, GFP_ATOMIC);
--- 
-1.9.1
-
diff --git a/meta-cgl-fsl-ppc/recipes-kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch b/meta-cgl-fsl-ppc/recipes-kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch
deleted file mode 100644
index 2fdcc9f..0000000
--- a/meta-cgl-fsl-ppc/recipes-kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From 7998eb3dc700aaf499f93f50b3d77da834ef9e1d Mon Sep 17 00:00:00 2001
-From: Guenter Roeck <linux@roeck-us.net>
-Date: Thu, 15 May 2014 09:33:42 -0700
-Subject: powerpc: Fix 64 bit builds with binutils 2.24
-
-Upstream-Status: Backport
-
-With binutils 2.24, various 64 bit builds fail with relocation errors
-such as
-
-arch/powerpc/kernel/built-in.o: In function `exc_debug_crit_book3e':
-	(.text+0x165ee): relocation truncated to fit: R_PPC64_ADDR16_HI
-	against symbol `interrupt_base_book3e' defined in .text section
-	in arch/powerpc/kernel/built-in.o
-arch/powerpc/kernel/built-in.o: In function `exc_debug_crit_book3e':
-	(.text+0x16602): relocation truncated to fit: R_PPC64_ADDR16_HI
-	against symbol `interrupt_end_book3e' defined in .text section
-	in arch/powerpc/kernel/built-in.o
-
-The assembler maintainer says:
-
- I changed the ABI, something that had to be done but unfortunately
- happens to break the booke kernel code.  When building up a 64-bit
- value with lis, ori, shl, oris, ori or similar sequences, you now
- should use @high and @higha in place of @h and @ha.  @h and @ha
- (and their associated relocs R_PPC64_ADDR16_HI and R_PPC64_ADDR16_HA)
- now report overflow if the value is out of 32-bit signed range.
- ie. @h and @ha assume you're building a 32-bit value. This is needed
- to report out-of-range -mcmodel=medium toc pointer offsets in @toc@h
- and @toc@ha expressions, and for consistency I did the same for all
- other @h and @ha relocs.
-
-Replacing @h with @high in one strategic location fixes the relocation
-errors. This has to be done conditionally since the assembler either
-supports @h or @high but not both.
-
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-
-diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
-index 4c0cedf..ce4c68a 100644
---- a/arch/powerpc/Makefile
-+++ b/arch/powerpc/Makefile
-@@ -150,7 +150,9 @@ endif
- 
- CFLAGS-$(CONFIG_TUNE_CELL) += $(call cc-option,-mtune=cell)
- 
--KBUILD_CPPFLAGS	+= -Iarch/$(ARCH)
-+asinstr := $(call as-instr,lis 9$(comma)foo@high,-DHAVE_AS_ATHIGH=1)
-+
-+KBUILD_CPPFLAGS	+= -Iarch/$(ARCH) $(asinstr)
- KBUILD_AFLAGS	+= -Iarch/$(ARCH)
- KBUILD_CFLAGS	+= -msoft-float -pipe -Iarch/$(ARCH) $(CFLAGS-y)
- CPP		= $(CC) -E $(KBUILD_CFLAGS)
-diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
-index 6586a40..cded7c1 100644
---- a/arch/powerpc/include/asm/ppc_asm.h
-+++ b/arch/powerpc/include/asm/ppc_asm.h
-@@ -318,11 +318,16 @@ n:
- 	addi	reg,reg,(name - 0b)@l;
- 
- #ifdef __powerpc64__
-+#ifdef HAVE_AS_ATHIGH
-+#define __AS_ATHIGH high
-+#else
-+#define __AS_ATHIGH h
-+#endif
- #define LOAD_REG_IMMEDIATE(reg,expr)		\
- 	lis     reg,(expr)@highest;		\
- 	ori     reg,reg,(expr)@higher;	\
- 	rldicr  reg,reg,32,31;		\
--	oris    reg,reg,(expr)@h;		\
-+	oris    reg,reg,(expr)@__AS_ATHIGH;	\
- 	ori     reg,reg,(expr)@l;
- 
- #define LOAD_REG_ADDR(reg,name)			\
--- 
-cgit v0.10.1
-
diff --git a/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb b/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb
deleted file mode 100644
index 33c51e2..0000000
--- a/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-require recipes-kernel/linux/cgl-common.inc
-require recipes-kernel/linux/linux-qoriq.inc
-
-SRC_URI += "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \
-    file://powerpc-Fix-64-bit-builds-with-binutils-2.24.patch \
-    file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch \
-"
-SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"
-DELTA_KERNEL_DEFCONFIG += "cfg/00001-systemtap.cfg \
-                        cfg/00002-oprofile.cfg \
-                        cfg/00003-lttng.cfg \
-                        cfg/00004-kgdb.cfg \
-                        cfg/00005-quota.cfg \
-                        cfg/00007-device-mapper-multipath.cfg \
-                        cfg/00008-libcgroup.cfg \
-                        cfg/00009-filesystem-acl.cfg \
-                        cfg/00010-ext4.cfg \
-                        cfg/00011-raid-1.cfg \
-                        cfg/00012-hyper-threading.cfg \
-                        cfg/00013-dot1q-vlans.cfg \
-                        cfg/00014-selinux.cfg \
-                        cfg/00015-managing-transient-data.cfg \
-                        cfg/00016-dynamic-probe-insertion-kprobe.cfg \
-                        cfg/00018-ipsec.cfg \
-                        cfg/00019-raid-0.cfg \
-			cfg/00020-kexec.cfg \
-                        cfg/00021-sctp.cfg \
-                        cfg/00022-coredump.cfg \
-                        cfg/00023-open-scsi.cfg \
-                        cfg/00024-ftrace.cfg \
-                        cfg/00025-ipmi.cfg \
-                        cfg/00026-lm-sensors.cfg \
-                        cfg/00027-dmidecode.cfg \
-                        cfg/00028-bonding.cfg \
-                        "
-
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-cgl][PATCH 2/5] Corosync: remove recipe its in meta-networking.
  2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 1/5] meta-cgl-fsl-ppc: drop layer supporting old kernel Armin Kuster
@ 2018-04-16 15:03 ` Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 3/5] makedumpfile: remove as its in meta-oe Armin Kuster
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-04-16 15:03 UTC (permalink / raw)
  To: akuster808, yocto

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 .../corosync/build-cleanup-configure-ac.patch      |  57 --------
 .../corosync/corosync/corosync-docs.patch          |  37 -----
 .../corosync/corosync/corosync-notifyd.service     |  13 --
 .../recipes-cgl/corosync/corosync/corosync.init    | 160 ---------------------
 .../recipes-cgl/corosync/corosync/corosync.service |  26 ----
 .../corosync/corosync/fix-define-semun-union.patch |  20 ---
 .../corosync/corosync/groff-desc-path.patch        |  12 --
 .../recipes-cgl/corosync/corosync/notifyd.init     | 120 ----------------
 .../recipes-cgl/corosync/corosync/volatiles        |   1 -
 .../recipes-cgl/corosync/corosync_1.4.8.bb         |  88 ------------
 10 files changed, 534 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/build-cleanup-configure-ac.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync-docs.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync.init
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/fix-define-semun-union.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/groff-desc-path.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/notifyd.init
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync/volatiles
 delete mode 100644 meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb

diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/build-cleanup-configure-ac.patch b/meta-cgl-common/recipes-cgl/corosync/corosync/build-cleanup-configure-ac.patch
deleted file mode 100644
index 06338f6..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/build-cleanup-configure-ac.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Nurp corosync-1.4.7.orig/configure.ac corosync-1.4.7/configure.ac
---- corosync-1.4.7.orig/configure.ac	2014-06-02 21:55:54.000000000 +0900
-+++ corosync-1.4.7/configure.ac	2015-06-24 16:56:21.519999988 +0900
-@@ -60,6 +60,8 @@ AC_PROG_INSTALL
- AC_PROG_LN_S
- AC_PROG_MAKE_SET
- AC_PROG_RANLIB
-+AC_PROG_SED
-+
- AC_CHECK_PROGS([GROFF], [groff])
- AC_CHECK_PROGS([PKGCONFIG], [pkg-config])
- 
-@@ -78,7 +80,7 @@ AC_HEADER_SYS_WAIT
- AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdint.h \
- 		  stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h \
- 		  sys/time.h syslog.h unistd.h sys/types.h getopt.h malloc.h \
--		  sys/sockio.h net/if_var.h])
-+		  sys/sockio.h utmpx.h ifaddrs.h stddef.h sys/file.h])
- 
- # Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
-@@ -90,30 +92,32 @@ AC_TYPE_INT64_T
- AC_TYPE_INT8_T
- AC_TYPE_SIZE_T
- AC_TYPE_SSIZE_T
--AC_HEADER_TIME
- AC_TYPE_UINT16_T
- AC_TYPE_UINT32_T
- AC_TYPE_UINT64_T
- AC_TYPE_UINT8_T
- AC_C_VOLATILE
-+AC_TYPE_SIGNAL
- 
- # Checks for library functions.
- AC_FUNC_CLOSEDIR_VOID
- AC_FUNC_ERROR_AT_LINE
--AC_REPLACE_FNMATCH
- AC_FUNC_FORK
- AC_PROG_GCC_TRADITIONAL
- AC_FUNC_MALLOC
- AC_FUNC_MEMCMP
-+AC_FUNC_MMAP
- AC_FUNC_REALLOC
- AC_FUNC_SELECT_ARGTYPES
- AC_TYPE_SIGNAL
- AC_FUNC_VPRINTF
-+
- AC_CHECK_FUNCS([alarm alphasort atexit bzero dup2 endgrent endpwent fcntl \
- 		getcwd getpeerucred getpeereid gettimeofday inet_ntoa memmove \
- 		memset mkdir scandir select socket strcasecmp strchr strdup \
- 		strerror strrchr strspn strstr pthread_setschedparam \
--		sched_get_priority_max sched_setscheduler])
-+		sched_get_priority_max sched_setscheduler \
-+		clock_gettime ftruncate gethostname localtime_r munmap strtol])
- 
- AC_CONFIG_FILES([Makefile
- 		 exec/Makefile
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-docs.patch b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-docs.patch
deleted file mode 100644
index e13ec68..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-docs.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Nurp corosync-1.4.7.orig/configure.ac corosync-1.4.7/configure.ac
---- corosync-1.4.7.orig/configure.ac	2015-06-24 16:56:21.519999988 +0900
-+++ corosync-1.4.7/configure.ac	2015-06-24 17:00:38.292999987 +0900
-@@ -558,7 +558,7 @@ if test "x${enable_user_flags}" = xyes; 
- fi
- 
- # final build of *FLAGS
--CFLAGS="$ENV_CFLAGS $OPT_CFLAGS $GDB_FLAGS $OS_CFLAGS \
-+CFLAGS="$ENV_CFLAGS $OS_CFLAGS \
- 	$COVERAGE_CFLAGS $EXTRA_WARNINGS $WERROR_CFLAGS $NSS_CFLAGS"
- CPPFLAGS="$ENV_CPPFLAGS $ANSI_CPPFLAGS $OS_CPPFLAGS"
- LDFLAGS="$ENV_LDFLAGS $COVERAGE_LDFLAGS $OS_LDFLAGS"
-@@ -585,7 +585,10 @@ AM_CONDITIONAL(BUILD_SOLARIS, test -n "$
- AC_SUBST([DARWIN_OPTS])
- AC_SUBST([SOLARIS_OPTS])
- 
--AM_CONDITIONAL(BUILD_HTML_DOCS, test -n "${GROFF}")
-+AC_ARG_ENABLE([doc],
-+  AS_HELP_STRING([--enable-doc],[Build html documentation])
-+)
-+AM_CONDITIONAL(BUILD_HTML_DOCS, [test -n "${GROFF}" && test "x$enable_doc" = "xyes"] )
- 
- AC_SUBST([LINT_FLAGS])
- 
-diff -Nurp corosync-1.4.7.orig/Makefile.am corosync-1.4.7/Makefile.am
---- corosync-1.4.7.orig/Makefile.am	2014-06-02 21:55:54.000000000 +0900
-+++ corosync-1.4.7/Makefile.am	2015-06-24 17:01:06.087999988 +0900
-@@ -46,9 +46,6 @@ MAINTAINERCLEANFILES	= Makefile.in acloc
- 			  config.guess config.sub missing install-sh \
- 			  autoheader automake autoconf
- 
--dist_doc_DATA		= LICENSE INSTALL README.devmap \
--			  README.recovery SECURITY TODO AUTHORS
--
- corosysconfdir		= ${COROSYSCONFDIR}
- 
- corosysconf_DATA	= conf/corosync.conf.example \
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
deleted file mode 100644
index ce576fe..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync-notifyd.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Corosync Dbus and snmp notifier
-Wants=corosync.service
-After=corosync.service
-
-[Service]
-EnvironmentFile=@SYSCONFDIR@/sysconfig/corosync-notifyd
-ExecStart=@SBINDIR@/corosync-notifyd -f $OPTIONS
-Type=simple
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.init b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.init
deleted file mode 100644
index 6b397e5..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.init
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/bin/sh
-#
-# corosync       Start the Corosync Cluster Engine
-#
-# Author:       Andrew Beekhof <abeekhof@suse.de>
-# License:      Revised BSD
-#
-# chkconfig: - 20 20
-# processname:  corosync
-# description:  Corosync Cluster Engine
-#
-### BEGIN INIT INFO
-# Description: corosync....
-#
-# Short-Description: Corosync Cluster Engine.
-# Provides: corosync
-# Required-Start: $network
-# Should-Start: $syslog
-# Required-Stop: $network
-# Default-Start: 3 5
-# Default-Stop: 0 6
-### END INIT INFO
-
-do_force=0
-prog="corosync"
-lockfile="/var/lock/subsys/$prog"
-configfile="/etc/corosync/corosync.conf"
-
-internal_status() {
-    killall -0 corosync > /dev/null 2>&1
-    return $?
-}
-
-status() {
-    if
-	! internal_status
-    then
-	echo "Stopped"
-	return 7
-    fi
-
-    echo "Running"
-    return 0
-}
-
-start() {
-    if [ ! -f "$configfile" ]; then
-	echo "Error: corosync is not configured ($configfile missing)"
-	exit 1
-    fi
-
-    echo -n $"Starting Corosync Cluster Engine ($prog): "
-    if
-	! internal_status
-    then
-	echo -n "starting... "
-	$prog 2>&1 > /dev/null 2>&1
-	echo -n "rc=$?: "
-    fi
-
-    sleep 2 # give it time to fail... $? isn't definitive
-
-    if
-	internal_status
-    then
-	echo "OK"
-	return 0
-    fi
-
-    echo "Failed"
-    return 1
-}
-
-do_force=1
-do_forever=0
-
-stop() {
-    echo -n $"Stopping Corosync Cluster Engine ($prog): "
-
-    killall -QUIT corosync
-
-    if [ $do_forever = 0 ]; then
-	for i in 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20; do
-	    if
-		internal_status
-	    then
-		sleep 2
-		echo -n "."
-	    else
-		rm -f "$lockfile"
-		echo "OK"
-		return 0
-	    fi
-	done
-
-	if [ $do_force = 1 ]; then
-	    echo -n "Escalating... "
-	    killall -KILL corosync
-            pids=`pgrep -f '/usr/lib/heartbeat/*'`
-            if [ -n "$pids" ]; then
-                kill -KILL $pids
-            fi
-	    sleep 5
-
-	    if
-		! internal_status
-	    then
-		rm -f "$lockfile"
-		echo "OK"
-		return 0
-	    fi
-	fi
-
-	echo "Failed"
-	return 1
-    fi
-
-    while
-        internal_status
-    do
-	sleep 1
-	echo -n "."
-    done
-
-    rm -f "$lockfile"
-    echo "OK"
-    return 0
-}
-
-restart() {
-    if [ ! -f "$configfile" ]; then
-	echo "Error: corosync is not configured ($configfile missing)"
-	exit 1
-    fi
-
-    stop
-    start
-}
-
-case "$1" in
-    start|stop|restart)
-        $1
-        ;;
-    force-stop)
-	do_force=1
-        stop
-        ;;
-    reload|force-reload)
-        restart
-        ;;
-    condrestart|try-restart)
-        [ ! -f "$lockfile" ] || restart
-        ;;
-    status)
-        status $prog
-        ;;
-    *)
-        echo $"Usage: $0 {start|stop|restart|try-restart|condrestart|reload|force-reload|force-stop|status}"
-        exit 2
-esac
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service b/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
deleted file mode 100644
index d5dd38f..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/corosync.service
+++ /dev/null
@@ -1,26 +0,0 @@
-[Unit]
-Description=Corosync Cluster Engine
-ConditionKernelCommandLine=!nocluster
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-ExecStart=@DATADIR@/corosync/corosync start
-ExecStop=@DATADIR@/corosync/corosync stop
-Type=oneshot
-RemainAfterExit=yes
-
-# The following config is for corosync with enabled watchdog service.
-#
-#  When corosync watchdog service is being enabled and using with
-#  pacemaker.service, and if you want to exert the watchdog when a
-#  corosync process is terminated abnormally,
-#  uncomment the line of the following Restart= and RestartSec=.
-#Restart=on-failure
-#  Specify a period longer than soft_margin as RestartSec.
-#RestartSec=70
-#  rewrite according to environment.
-#ExecStartPre=/sbin/modprobe softdog soft_margin=60
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/fix-define-semun-union.patch b/meta-cgl-common/recipes-cgl/corosync/corosync/fix-define-semun-union.patch
deleted file mode 100644
index 2f413db..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/fix-define-semun-union.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Nurp corosync-1.4.7.orig/lib/coroipcc.c corosync-1.4.7/lib/coroipcc.c
---- corosync-1.4.7.orig/lib/coroipcc.c	2014-06-02 21:55:54.000000000 +0900
-+++ corosync-1.4.7/lib/coroipcc.c	2015-06-24 17:04:24.451999987 +0900
-@@ -68,6 +68,16 @@
- #include <semaphore.h>
- #else
- #include <sys/sem.h>
-+
-+#if _SEM_SEMUN_UNDEFINED
-+union semun {
-+	int val;                           // value for SETVAL
-+	struct semid_ds *buf;              // buffer for IPC_STAT & IPC_SET
-+	unsigned short int *array;         // array for GETALL & SETALL
-+	struct seminfo *__buf;             // buffer for IPC_INFO
-+};
-+#endif
-+
- #endif
- 
- #include "util.h"
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/groff-desc-path.patch b/meta-cgl-common/recipes-cgl/corosync/corosync/groff-desc-path.patch
deleted file mode 100644
index da1378a..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/groff-desc-path.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nurp corosync-1.3.1.org/man/Makefile.am corosync-1.3.1/man/Makefile.am
---- corosync-1.3.1.org/man/Makefile.am	2011-04-25 10:37:50.000000000 +0800
-+++ corosync-1.3.1/man/Makefile.am	2014-11-24 10:33:36.583426707 +0800
-@@ -126,7 +126,7 @@ HTML_DOCS = $(dist_man_MANS:%=%.html)
- INDEX_HTML = index.html
- 
- %.html: %
--	$(GROFF) -mandoc -Thtml $^ > $@
-+	$(GROFF) -F $(DESCPATH) -mandoc -Thtml $^ > $@
- 
- install-data-local:
- 	$(INSTALL) -d $(DESTDIR)/${docdir}/html
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/notifyd.init b/meta-cgl-common/recipes-cgl/corosync/corosync/notifyd.init
deleted file mode 100644
index 35e0cf1..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/notifyd.init
+++ /dev/null
@@ -1,120 +0,0 @@
-### BEGIN INIT INFO
-# Description: corosync-notifyd....
-#
-# Short-Description: Corosync Dbus and snmp notifier
-# Provides: corosync-notifyd
-# Required-Start: $corosync $cman
-# Should-Start: $syslog
-# Required-Stop: $corosync $cman
-# Default-Start: 3 5
-# Default-Stop: 0 6
-### END INIT INFO
-
-do_force=0
-prog="corosync-notifyd"
-lockfile="/var/lock/subsys/$prog"
-
-internal_status() {
-    killall -0 $prog > /dev/null 2>&1
-    return $?
-}
-
-status() {
-    if
-        ! internal_status
-    then
-        echo "Stopped"
-        return 7
-    fi
-
-    echo "Running"
-    return 0
-}
-
-start() {
-    echo -n $"Starting Corosync Dbus and snmp notifier ($prog): "
-    if
-        ! internal_status
-    then
-        echo -n "starting... "
-        $prog 2>&1 > /dev/null 2>&1
-        echo -n "rc=$?: "
-    fi
-
-    sleep 2 # give it time to fail... $? isn't definitive
-
-    if
-        internal_status
-    then
-        echo "OK"
-        return 0
-    fi
-
-    echo "Failed"
-    return 1
-}
-
-do_force=1
-do_forever=0
-
-stop() {
-    echo -n $"Stopping Corosync Dbus and snmp notifier ($prog): "
-
-    killall -TERM $prog
-
-    if [ $do_forever = 0 ]; then
-        for i in 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20; do
-            if
-                internal_status
-            then
-                sleep 2
-                echo -n "."
-            else
-                rm -f "$lockfile"
-                echo "OK"
-                return 0
-            fi
-        done
-
-        echo "Failed"
-        return 1
-    fi
-
-    while
-        internal_status
-    do
-        sleep 1
-        echo -n "."
-    done
-
-    rm -f "$lockfile"
-    echo "OK"
-    return 0
-}
-
-restart() {
-    stop
-    start
-}
-
-case "$1" in
-    start|stop|restart)
-        $1
-        ;;
-    force-stop)
-        do_force=1
-        stop
-        ;;
-    reload|force-reload)
-        restart
-        ;;
-    condrestart|try-restart)
-        [ ! -f "$lockfile" ] || restart
-        ;;
-    status)
-        status $prog
-        ;;
-    *)
-        echo $"Usage: $0 {start|stop|restart|try-restart|condrestart|reload|force-reload|force-stop|status}"
-        exit 2
-esac
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync/volatiles b/meta-cgl-common/recipes-cgl/corosync/corosync/volatiles
deleted file mode 100644
index 2dc6eec..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync/volatiles
+++ /dev/null
@@ -1 +0,0 @@
-d hacluster haclient 0755 /var/lib/corosync none
diff --git a/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb b/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb
deleted file mode 100644
index 3b5afce..0000000
--- a/meta-cgl-common/recipes-cgl/corosync/corosync_1.4.8.bb
+++ /dev/null
@@ -1,88 +0,0 @@
-SUMMARY = "The Corosync Cluster Engine and Application Programming Interfaces"
-DESCRIPTION = "This package contains the Corosync Cluster Engine Executive, \
-several default APIs and libraries, default configuration files, and an init \
-script."
-HOMEPAGE = "http://corosync.github.io/corosync/"
-
-inherit autotools pkgconfig update-rc.d useradd systemd
-
-SRC_URI = "http://build.clusterlabs.org/corosync/releases/${BPN}-${PV}.tar.gz \
-           file://groff-desc-path.patch \
-           file://corosync-docs.patch \
-           file://fix-define-semun-union.patch \
-           file://build-cleanup-configure-ac.patch \
-           file://corosync.init \
-           file://notifyd.init \
-           file://corosync.service \
-           file://corosync-notifyd.service \
-           file://volatiles \
-          "
-
-SRC_URI[md5sum] = "e16c71db45c8b39948847655958d0dec"
-SRC_URI[sha256sum] = "64ee50f783a4bfa8a63fd576090cf7dd1810f3c60e01b4886723b87c5ff2b013"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=25656171d1e4054c636a9893067f8c30"
-
-DEPENDS = "groff-native"
-
-INSANE_SKIP_${PN} += ""
-
-CFLAGS_append += " -fPIC "
-
-PACKAGECONFIG ?= "dbus nss snmp"
-PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
-PACKAGECONFIG[nss] = "--enable-nss,--disable-nss,nss"
-PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma"
-PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp"
-
-do_compile() {
-    DESCPATH="${STAGING_DATADIR_NATIVE}/groff/`groff -v | awk '{if(NR==1)print $4}'`/font"
-    oe_runmake DESCPATH=${DESCPATH}
-}
-
-do_install_append() {
-    install -d ${D}${sysconfdir}/default/volatiles
-    install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/05_corosync
-    install -D -m 0644 ${S}/tools/corosync-notifyd.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync-notifyd
-
-    # Original init script is too bashy
-    rm -f ${D}/${sysconfdir}/init.d/corosync
-    install -m 0755 ${WORKDIR}/corosync.init ${D}/${sysconfdir}/init.d/corosync
-    rm -rf ${D}/${sysconfdir}/init.d/corosync-notifyd
-    install -m 0755 ${WORKDIR}/notifyd.init ${D}/${sysconfdir}/init.d/corosync-notifyd
-
-    if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
-        install -d ${D}${datadir}/${BPN}
-        cp ${D}/${sysconfdir}/init.d/* ${D}${datadir}/${BPN}/
-
-        install -d ${D}${systemd_system_unitdir}
-        install -m 0644 ${WORKDIR}/corosync.service ${D}${systemd_system_unitdir}
-        sed -i -e 's,@DATADIR@,${datadir},g' ${D}${systemd_system_unitdir}/corosync.service
-
-        install -m 0644 ${WORKDIR}/corosync-notifyd.service ${D}${systemd_system_unitdir}
-        sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
-            -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/corosync-notifyd.service
-
-        install -d ${D}${sysconfdir}/tmpfiles.d
-        echo "d ${localstatedir}/log/cluster - - - -" > ${D}${sysconfdir}/tmpfiles.d/corosync.conf
-    fi
-
-    rm -fr "${D}${localstatedir}/lock"
-    rm -fr "${D}${localstatedir}/run"
-    rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
-}
-
-FILES_${PN}-doc += "${datadir}/snmp/mibs/COROSYNC-MIB.txt"
-FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug"
-
-INITSCRIPT_NAME = "corosync"
-INITSCRIPT_PARAMS = "remove"
-
-SYSTEMD_SERVICE_${PN} = "corosync.service corosync-notifyd.service"
-SYSTEMD_AUTO_ENABLE = "disable"
-
-
-USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM_${PN} = "haclient"
-USERADD_PARAM_${PN} = "-M --home  ${localstatedir}/lib/heartbeat -g haclient hacluster"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-cgl][PATCH 3/5] makedumpfile: remove as its in meta-oe
  2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 1/5] meta-cgl-fsl-ppc: drop layer supporting old kernel Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 2/5] Corosync: remove recipe its in meta-networking Armin Kuster
@ 2018-04-16 15:03 ` Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 4/5] iscsi-initiator-utils: drop bbappends Armin Kuster
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-04-16 15:03 UTC (permalink / raw)
  To: akuster808, yocto

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 .../makedumpfile/files/alias-powerpc-powerpc32.patch | 18 ------------------
 .../recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb   | 20 --------------------
 2 files changed, 38 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb

diff --git a/meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch b/meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
deleted file mode 100644
index e918ce8..0000000
--- a/meta-cgl-common/recipes-cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Create Alias for target for powerpc as powerpc32
-
-Signed-off-by: Siva Borra <siva.borra@enea.com>
-Upstream-status: Pending
-
-diff -rupN makedumpfile-1.5.8/Makefile makedumpfile-1.5.8/Makefile
---- makedumpfile-1.5.8/Makefile	2015-03-24 02:58:33.000000000 +0100
-+++ makedumpfile-1.5.8/Makefile	2015-06-23 11:08:30.595655336 +0200
-@@ -25,7 +25,8 @@ endif
- ARCH := $(shell echo ${TARGET}  | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
- 			       -e s/arm.*/arm/ -e s/sa110/arm/ \
- 			       -e s/s390x/s390/ -e s/parisc64/parisc/ \
--			       -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/)
-+			       -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/ \
-+			       -e s/powerpc/powerpc32/)
- 
- CROSS :=
- ifneq ($(TARGET), $(HOST_ARCH))
diff --git a/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb b/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
deleted file mode 100644
index 21e0954..0000000
--- a/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-DESCRIPTION = "Make dump file utility"
-LICENSE = "GPLv2"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-
-SRC_URI = "http://sourceforge.net/projects/makedumpfile/files/makedumpfile/1.5.8/makedumpfile-${PV}.tar.gz;name=makedumpfile \
-	   file://alias-powerpc-powerpc32.patch \
-	   "
-
-SRC_URI[makedumpfile.md5sum] = "642d975349dff744c6027d4486499258"
-SRC_URI[makedumpfile.sha256sum] = "dd9c6c40c1ae6774b61bbe7b53f5ebbee9734f576d8ecb75ffb929288f5ea64d"
-
-DEPENDS = "zlib elfutils bzip2"
-
-EXTRA_OEMAKE = "TARGET=${TARGET_ARCH} LINKTYPE=dynamic"
-
-do_install() {
-	install -d ${D}${bindir}/
-	install -c -m 755 ${S}/makedumpfile ${D}${bindir}/
-}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-cgl][PATCH 4/5] iscsi-initiator-utils: drop bbappends
  2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
                   ` (2 preceding siblings ...)
  2018-04-16 15:03 ` [meta-cgl][PATCH 3/5] makedumpfile: remove as its in meta-oe Armin Kuster
@ 2018-04-16 15:03 ` Armin Kuster
  2018-04-16 15:03 ` [meta-cgl][PATCH 5/5] meta-cge-common: Add README Armin Kuster
  2018-04-18 12:42 ` [meta-cgl][PATCH 0/5][RFC] CGL cleanup Adrian Dudau
  5 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-04-16 15:03 UTC (permalink / raw)
  To: akuster808, yocto

change appears to no longer being needed.

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 .../iscsi-initiator-utils/iscsi-initiator-utils_%.bbappend               | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 meta-cgl-common/recipes-extended/iscsi-initiator-utils/iscsi-initiator-utils_%.bbappend

diff --git a/meta-cgl-common/recipes-extended/iscsi-initiator-utils/iscsi-initiator-utils_%.bbappend b/meta-cgl-common/recipes-extended/iscsi-initiator-utils/iscsi-initiator-utils_%.bbappend
deleted file mode 100644
index ed99f60..0000000
--- a/meta-cgl-common/recipes-extended/iscsi-initiator-utils/iscsi-initiator-utils_%.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILES_${PN} += "/run"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-cgl][PATCH 5/5] meta-cge-common: Add README
  2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
                   ` (3 preceding siblings ...)
  2018-04-16 15:03 ` [meta-cgl][PATCH 4/5] iscsi-initiator-utils: drop bbappends Armin Kuster
@ 2018-04-16 15:03 ` Armin Kuster
  2018-04-18 12:42 ` [meta-cgl][PATCH 0/5][RFC] CGL cleanup Adrian Dudau
  5 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-04-16 15:03 UTC (permalink / raw)
  To: akuster808, yocto

per spec, every layer needs a README. Issue noted via yocto-check-layer

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta-cgl-common/README | 138 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 138 insertions(+)
 create mode 100644 meta-cgl-common/README

diff --git a/meta-cgl-common/README b/meta-cgl-common/README
new file mode 100644
index 0000000..ec6e8ba
--- /dev/null
+++ b/meta-cgl-common/README
@@ -0,0 +1,138 @@
+This README file contains information on the contents of the cgl layer.
+Please see the corresponding sections below for details.
+
+
+Dependencies
+============
+
+This layer depends on:
+
+  URI: git://git.yoctoproject.org/poky
+  branch: master
+
+  URI: git://git.openembedded.org/meta-openembedded
+  layers: meta-oe, meta-perl, meta-networking, meta-filesystems
+  branch: master
+
+  URI: git://git.yoctoproject.org/meta-cloud-services
+  layers: meta-openstack
+  branch: master
+
+  URI: git://git.yoctoproject.org/meta-qt3
+  branch: master
+
+  URI: git://git.yoctoproject.org/meta-selinux
+  branch: master
+
+  URI: git://git.yoctoproject.org/meta-security
+  branch: master
+
+  URI: git://git.yoctoproject.org/meta-virtualization
+  branch: master
+
+
+Source code
+===========
+
+git://git.yoctoproject.org/meta-cgl
+http://git.yoctoproject.org/git/meta-cgl
+
+
+Maintenance
+===========
+
+Maintainers:
+    Adrian Dudau <Adrian.Dudau@enea.com>
+    Alexandru Vaduva <alexandru.vaduva@linux.com>
+    Joe MacDonald <joe_macdonald@mentor.com>
+
+
+Contributing
+============
+
+Contributions and patches can be sent to the Yocto Project mailing
+list: yocto@yoctoproject.org"
+As a backup alternative the Enea Linux mailing list can be
+used: enealinux@lists.enea.com
+
+When sending patches please take a look at the contribution guide available
+here: https://wiki.yoctoproject.org/wiki/Contribution_Guidelines
+
+example:
+git send-email -1 -M --to yocto@yoctoproject.org  --subject-prefix=meta-cgl][PATCH
+
+
+Table of Contents
+=================
+
+  I. Adding the cgl layer to your build
+ II. Misc
+III. Layer specific information
+ IV. Specific terms and information
+
+
+I. Adding the cgl layer to your build
+=================================================
+
+In order to use this layer, you need to make the build system aware of
+it.
+
+Assuming the cgl layer exists at the top-level of your
+yocto build tree, you can add it to the build system by adding the
+location of the cgl layer to bblayers.conf, along with any
+other layers needed. Adapt the below list to proper format.
+
+  BBLAYERS:
+
+    meta
+    meta-cgl/meta-cgl-common
+    meta-qt3
+    meta-openembedded/meta-networking
+    meta-openembedded/meta-filesystems
+    meta-openembedded/meta-oe
+    meta-openembedded/meta-perl
+    meta-openembedded/meta-python
+    meta-yocto
+    meta-yocto-bsp
+    meta-virtualization
+    meta-selinux
+    meta-security
+    meta-cloud-services/meta-openstack
+
+A BBMASK definition is required because of some recipes duplicate existance:
+    BBMASK = "meta-openembedded/meta-oe/recipes-support/multipath-tools"
+
+II. Misc
+========
+
+The meta-cgl layer tries to offer CGL compliant packages to be used for
+a Linux distribution.
+
+
+III. Layer specific information
+==============================
+
+The layer contains a core package group (packagegroup-cgl.bb) that
+should aggregate all the other available package groups.
+The recommandation is to group all CGL compliant features into specific
+package groups.
+
+An CGL compliant Linux image is also available into the layer. Its use
+is to facilitate the development of a CGL compliant OS.
+The core image name is: core-image-cgl.bb
+
+
+IV. Specific terms and information
+==================================
+
+    HA(high availability) technology - refers to a system or component
+that is continuously operational for a long length of time.
+    Standard interface - represents a joint place of two systems or
+subsystems that has a previously agreed  upon form so that two systems
+may be readily connected together.
+    Service interface - a programatic interface that tries to achive
+interoperability. It enables users to describe independently of a platform
+or programming language operations required in the application system at
+a later stage.
+    Interface - shared boundary or connection between two dissimilar
+objects, devices or systems.
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [meta-cgl][PATCH 0/5][RFC] CGL cleanup
  2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
                   ` (4 preceding siblings ...)
  2018-04-16 15:03 ` [meta-cgl][PATCH 5/5] meta-cge-common: Add README Armin Kuster
@ 2018-04-18 12:42 ` Adrian Dudau
  2018-04-20  1:46   ` akuster
  5 siblings, 1 reply; 8+ messages in thread
From: Adrian Dudau @ 2018-04-18 12:42 UTC (permalink / raw)
  To: akuster808, yocto

On mån, 2018-04-16 at 08:03 -0700, Armin Kuster wrote:
> I understand some of these changes a harsh. This set of changes allow
> this layer to pass the
> yocto-check-layer. This is one of many options to address passing.
>

Hi Armin,

Thanks for doing this. The series is good, and I merged it with some
minor changes, see below.

I also fixed the LAYERSERIES_COMPAT issue in meta-cgl-common so you
won't have to resend that series.

Regards,
--Adrian



> Armin Kuster (5):
>   meta-cgl-fsl-ppc: drop layer supporting old kernel

This patch didn't apply without your patches from the
LAYERSERIES_COMPAT series which wasn't correct. I was going to drop the
layer anyways, so I did it in a separate commit to simplify things.

>   Corosync: remove recipe its in meta-networking.
>   makedumpfile: remove as its in meta-oe
>   iscsi-initiator-utils: drop bbappends
>   meta-cge-common: Add README

Fixed typo in subject.

>
>  meta-cgl-common/README                             | 138
> ++++++++++++++++++
>  .../corosync/build-cleanup-configure-ac.patch      |  57 --------
>  .../corosync/corosync/corosync-docs.patch          |  37 -----
>  .../corosync/corosync/corosync-notifyd.service     |  13 --
>  .../recipes-cgl/corosync/corosync/corosync.init    | 160 ---------
> ------------
>  .../recipes-cgl/corosync/corosync/corosync.service |  26 ----
>  .../corosync/corosync/fix-define-semun-union.patch |  20 ---
>  .../corosync/corosync/groff-desc-path.patch        |  12 --
>  .../recipes-cgl/corosync/corosync/notifyd.init     | 120 ---------
> -------
>  .../recipes-cgl/corosync/corosync/volatiles        |   1 -
>  .../recipes-cgl/corosync/corosync_1.4.8.bb         |  88 ---------
> ---
>  .../files/alias-powerpc-powerpc32.patch            |  18 ---
>  .../recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb |  20 ---
>  .../iscsi-initiator-utils_%.bbappend               |   1 -
>  meta-cgl-fsl-ppc/conf/layer.conf                   |  14 --
>  ...p-inherit-auth-capable-on-INIT-collisions.patch |  41 ------
>  ...erpc-Fix-64-bit-builds-with-binutils-2.24.patch |  80 -----------
>  .../linux/linux-qoriq-cgl-prt_3.12.bb              |  36 -----
>  18 files changed, 138 insertions(+), 744 deletions(-)
>  create mode 100644 meta-cgl-common/README
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/build-cleanup-configure-ac.patch
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/corosync-docs.patch
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/corosync-notifyd.service
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/corosync.init
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/corosync.service
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/fix-define-semun-union.patch
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/groff-desc-path.patch
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/notifyd.init
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync/volatiles
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/corosync/corosync_1.4.8.bb
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
>  delete mode 100644 meta-cgl-common/recipes-
> cgl/makedumpfile/makedumpfile_1.5.8.bb
>  delete mode 100644 meta-cgl-common/recipes-extended/iscsi-initiator-
> utils/iscsi-initiator-utils_%.bbappend
>  delete mode 100644 meta-cgl-fsl-ppc/conf/layer.conf
>  delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-
> CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch
>  delete mode 100644 meta-cgl-fsl-ppc/recipes-
> kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch
>  delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/linux-
> qoriq-cgl-prt_3.12.bb
>
> --
> 2.7.4
>

This message, including attachments, is CONFIDENTIAL. It may also be privileged or otherwise protected by law. If you received this email by mistake please let us know by reply and then delete it from your system; you should not copy it or disclose its contents to anyone. All messages sent to and from Enea may be monitored to ensure compliance with internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, a mended, lost or destroyed, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Anyone who communicates with us by email accepts these risks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-cgl][PATCH 0/5][RFC] CGL cleanup
  2018-04-18 12:42 ` [meta-cgl][PATCH 0/5][RFC] CGL cleanup Adrian Dudau
@ 2018-04-20  1:46   ` akuster
  0 siblings, 0 replies; 8+ messages in thread
From: akuster @ 2018-04-20  1:46 UTC (permalink / raw)
  To: Adrian Dudau, akuster808, yocto



On 04/18/2018 05:42 AM, Adrian Dudau wrote:
> On mån, 2018-04-16 at 08:03 -0700, Armin Kuster wrote:
>> I understand some of these changes a harsh. This set of changes allow
>> this layer to pass the
>> yocto-check-layer. This is one of many options to address passing.
>>
> Hi Armin,
>
> Thanks for doing this. The series is good, and I merged it with some
> minor changes, see below.
>
> I also fixed the LAYERSERIES_COMPAT issue in meta-cgl-common so you
> won't have to resend that series.
great thanks.

- Armin
>
> Regards,
> --Adrian
>
>
>
>> Armin Kuster (5):
>>   meta-cgl-fsl-ppc: drop layer supporting old kernel
> This patch didn't apply without your patches from the
> LAYERSERIES_COMPAT series which wasn't correct. I was going to drop the
> layer anyways, so I did it in a separate commit to simplify things.
>
>>   Corosync: remove recipe its in meta-networking.
>>   makedumpfile: remove as its in meta-oe
>>   iscsi-initiator-utils: drop bbappends
>>   meta-cge-common: Add README
> Fixed typo in subject.
>
>>  meta-cgl-common/README                             | 138
>> ++++++++++++++++++
>>  .../corosync/build-cleanup-configure-ac.patch      |  57 --------
>>  .../corosync/corosync/corosync-docs.patch          |  37 -----
>>  .../corosync/corosync/corosync-notifyd.service     |  13 --
>>  .../recipes-cgl/corosync/corosync/corosync.init    | 160 ---------
>> ------------
>>  .../recipes-cgl/corosync/corosync/corosync.service |  26 ----
>>  .../corosync/corosync/fix-define-semun-union.patch |  20 ---
>>  .../corosync/corosync/groff-desc-path.patch        |  12 --
>>  .../recipes-cgl/corosync/corosync/notifyd.init     | 120 ---------
>> -------
>>  .../recipes-cgl/corosync/corosync/volatiles        |   1 -
>>  .../recipes-cgl/corosync/corosync_1.4.8.bb         |  88 ---------
>> ---
>>  .../files/alias-powerpc-powerpc32.patch            |  18 ---
>>  .../recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb |  20 ---
>>  .../iscsi-initiator-utils_%.bbappend               |   1 -
>>  meta-cgl-fsl-ppc/conf/layer.conf                   |  14 --
>>  ...p-inherit-auth-capable-on-INIT-collisions.patch |  41 ------
>>  ...erpc-Fix-64-bit-builds-with-binutils-2.24.patch |  80 -----------
>>  .../linux/linux-qoriq-cgl-prt_3.12.bb              |  36 -----
>>  18 files changed, 138 insertions(+), 744 deletions(-)
>>  create mode 100644 meta-cgl-common/README
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/build-cleanup-configure-ac.patch
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/corosync-docs.patch
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/corosync-notifyd.service
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/corosync.init
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/corosync.service
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/fix-define-semun-union.patch
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/groff-desc-path.patch
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/notifyd.init
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync/volatiles
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/corosync/corosync_1.4.8.bb
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/makedumpfile/files/alias-powerpc-powerpc32.patch
>>  delete mode 100644 meta-cgl-common/recipes-
>> cgl/makedumpfile/makedumpfile_1.5.8.bb
>>  delete mode 100644 meta-cgl-common/recipes-extended/iscsi-initiator-
>> utils/iscsi-initiator-utils_%.bbappend
>>  delete mode 100644 meta-cgl-fsl-ppc/conf/layer.conf
>>  delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/files/Fix-
>> CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch
>>  delete mode 100644 meta-cgl-fsl-ppc/recipes-
>> kernel/linux/files/powerpc-Fix-64-bit-builds-with-binutils-2.24.patch
>>  delete mode 100644 meta-cgl-fsl-ppc/recipes-kernel/linux/linux-
>> qoriq-cgl-prt_3.12.bb
>>
>> --
>> 2.7.4
>>
> This message, including attachments, is CONFIDENTIAL. It may also be privileged or otherwise protected by law. If you received this email by mistake please let us know by reply and then delete it from your system; you should not copy it or disclose its contents to anyone. All messages sent to and from Enea may be monitored to ensure compliance with internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, a mended, lost or destroyed, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Anyone who communicates with us by email accepts these risks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-20  1:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 15:03 [meta-cgl][PATCH 0/5][RFC] CGL cleanup Armin Kuster
2018-04-16 15:03 ` [meta-cgl][PATCH 1/5] meta-cgl-fsl-ppc: drop layer supporting old kernel Armin Kuster
2018-04-16 15:03 ` [meta-cgl][PATCH 2/5] Corosync: remove recipe its in meta-networking Armin Kuster
2018-04-16 15:03 ` [meta-cgl][PATCH 3/5] makedumpfile: remove as its in meta-oe Armin Kuster
2018-04-16 15:03 ` [meta-cgl][PATCH 4/5] iscsi-initiator-utils: drop bbappends Armin Kuster
2018-04-16 15:03 ` [meta-cgl][PATCH 5/5] meta-cge-common: Add README Armin Kuster
2018-04-18 12:42 ` [meta-cgl][PATCH 0/5][RFC] CGL cleanup Adrian Dudau
2018-04-20  1:46   ` akuster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.