core-image-cgl/core-image-cgl-initramfs: remove them
PATCH 1/2 core-image-cgl/core-image-cgl-initramfs: remove them
From: Changqing Li <[email protected]>
remove core-image-cgl.bb and core-image-cgl-initramfs.bb
* They require core-image-lsb.bb which has been removed by oe-core
* Even before LSB support is dropped by oe-core, core-image-cgl and core-image-cgl-initramfs cannot build success, failed during do_rootfs with below error, so I suppose that no one use these 2 recipes, so remove it
Error:
Problem: package logcheck-1.3.20-r0.core2_64 requires rsyslog, but none of the providers can be installed
- package rsyslog-8.1907.0-r0.core2_64 conflicts with sysklogd provided by sysklogd-1.5.1-r0.core2_64
- package sysklogd-1.5.1-r0.core2_64 conflicts with rsyslog provided by rsyslog-8.1907.0-r0.core2_64
- package packagegroup-cgl-applications-1.0-r0.noarch requires logcheck, but none of the providers can be installed
- package packagegroup-core-full-cmdline-initscripts-1.0-r6.noarch requires sysklogd, but none of the providers can be installed
- package packagegroup-cgl-1.0-r0.noarch requires packagegroup-cgl-applications, but none of the providers can be installed
- package packagegroup-core-full-cmdline-1.0-r6.noarch requires packagegroup-core-full-cmdline-initscripts, but none of the providers can be installed
--- meta-cgl-common/images/core-image-cgl-initramfs.bb | 19 --------------- meta-cgl-common/images/core-image-cgl.bb | 28 ---------------------- 2 files changed, 47 deletions(-) delete mode 100644 meta-cgl-common/images/core-image-cgl-initramfs.bb delete mode 100644 meta-cgl-common/images/core-image-cgl.bb
meta-cgl-common/images/core-image-cgl-initramfs.bb deleted +0 -19
@@ -1,19 +0,0 @@ -require core-image-cgl.bb - -# Recipe is based on core-image-minimal.bb -DESCRIPTION = "Initramfs used to mount multipath device as root file system" - -PACKAGE_INSTALL = "initramfs-cgl-boot busybox base-passwd udev" - -# Do not pollute the initrd image with rootfs features -IMAGE_FEATURES = "" - -export IMAGE_BASENAME = "core-image-cgl-initramfs" -IMAGE_LINGUAS = "" - -LICENSE = "MIT" -IMAGE_FSTYPES ??= "cpio.gz.u-boot" - -IMAGE_ROOTFS_SIZE = "8192" - -BAD_RECOMMENDATIONS += "busybox-syslog"
meta-cgl-common/images/core-image-cgl.bb deleted +0 -28
@@ -1,28 +0,0 @@ -require recipes-extended/images/core-image-lsb.bb - - -VALGRIND ?= "" -VALGRIND_powerpc ?= "valgrind" -VALGRIND_e500v2 ?= "" -VALGRIND_x86 ?= "valgrind" -VALGRIND_x86_64 ?= "valgrind" -VALGRIND_armv7a ?= "valgrind" - -# Include modules in rootfs -IMAGE_INSTALL += "\ - packagegroup-core-buildessential \ - packagegroup-core-selinux \ - packagegroup-cgl \ - kexec-tools \ - lttng-tools \ - lttng-modules \ - ${VALGRIND} \ - " - -IMAGE_FSTYPES += " ext3.gz" - -# kexec-tools doesn't work on Mips -KEXECTOOLS_mips ?= "" -KEXECTOOLS_mipsel ?= "" - -IMAGE_FEATURES += "tools-debug tools-profile"
Signature · 1 line
2.7.4
PATCH 2/2 ocfs2-tools: Remove lsb from RDEPENDS
From: Changqing Li <[email protected]>
The lsb had been removed from oe-core, and the "systemctl start o2cb/ocfs2" works well after patched, when systemd (no /etc/init.d/functions, either), so remove the unneeded line.
--- ...sh-Remove-unneeded-lib-lsb-init-functions.patch | 32 ++++++++++++++++++++++ .../recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb | 7 ++--- 2 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patch
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patch new file +32 -0
@@ -0,0 +1,32 @@ +From b7913a62e2d78fa98ae2c475de4cc697519181e2 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Tue, 10 Sep 2019 19:29:16 -0700 +Subject: [PATCH] o2cb.init.sh: Remove unneeded /lib/lsb/init-functions + +The "systemctl start o2cb/ocfs2" works well when systemd (no +/etc/init.d/functions, either), so remove the unneeded line. + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + vendor/common/o2cb.init.sh | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/vendor/common/o2cb.init.sh b/vendor/common/o2cb.init.sh +index 8b0dbf09..49eb9a4c 100755 +--- a/vendor/common/o2cb.init.sh ++++ b/vendor/common/o2cb.init.sh +@@ -25,9 +25,6 @@ then + start_daemon () { + daemon $* + } +-else +-# Let's try to use the LSB functions +-. /lib/lsb/init-functions + fi + + if [ $? != 0 ] +-- +2.21.0 +
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb +2 -5
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/markfasheh/ocfs2-tools \ file://ocfs2.service \ file://0001-Fix-build-with-glibc-2.28.patch \ file://0001-mounted.ocfs2-use-sys-sysmacros.h-include-for-makede.patch \ + file://0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patch \ " SRCREV = "f1b4d073f08679f97b64b3eb88e586032f92a701" S = "${WORKDIR}/git"
@@ -32,11 +33,7 @@ DEPENDS = "corosync pacemaker \ e2fsprogs e2fsprogs-native \ " -# lsbinitscripts are needed to replace /etc/init.d/functions supplied by initscripts (systemv) -# They are not the same code! -# -RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs chkconfig glib-2.0 \ - ${@bb.utils.contains('DISTRO_FEATURES','systemd','lsbinitscripts','',d)}" +RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs chkconfig glib-2.0" ASNEEDED_pn-${PN} = "" PARALLEL_MAKE = ""
Signature · 1 line
2.7.4
Re: [meta-cgl][PATCH 2/2] ocfs2-tools: Remove lsb from RDEPENDS
ping
Quoted 77 lines · On 9/17/19 4:04 PM, [email protected] wrote:
From: Changqing Li <[email protected]>
The lsb had been removed from oe-core, and the "systemctl start o2cb/ocfs2" works well after patched, when systemd (no
/etc/init.d/functions, either), so remove the unneeded line.Signed-off-by Robert Yang <[email protected]>Signed-off-by Changqing Li <[email protected]>--- ...sh-Remove-unneeded-lib-lsb-init-functions.patch | 32 ++++++++++++++++++++++ .../recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb | 7 ++--- 2 files changed, 34 insertions(+), 5 deletions(-)create mode 100644
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patchmeta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patch new file +32
-0@@ -0,0 +1,32 @@ +From b7913a62e2d78fa98ae2c475de4cc697519181e2 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Tue, 10 Sep 2019 19:29:16 -0700 +Subject: [PATCH] o2cb.init.sh: Remove unneeded /lib/lsb/init-functions + +The "systemctl start o2cb/ocfs2" works well when systemd (no +/etc/init.d/functions, either), so remove the unneeded line. + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + vendor/common/o2cb.init.sh | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/vendor/common/o2cb.init.sh b/vendor/common/o2cb.init.sh +index 8b0dbf09..49eb9a4c 100755 +--- a/vendor/common/o2cb.init.sh ++++ b/vendor/common/o2cb.init.sh +@@ -25,9 +25,6 @@ then + start_daemon () { + daemon $* + } +-else +-# Let's try to use the LSB functions +-. /lib/lsb/init-functions + fi + + if [ $? != 0 ] +-- +2.21.0 +meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb +2
-5@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/markfasheh/ocfs2-tools \ file://ocfs2.service \ file://0001-Fix-build-with-glibc-2.28.patch \ file://0001-mounted.ocfs2-use-sys-sysmacros.h-include-for-makede.patch \ + file://0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patch \ " SRCREV = "f1b4d073f08679f97b64b3eb88e586032f92a701" S = "${WORKDIR}/git"@@ -32,11 +33,7 @@ DEPENDS = "corosync pacemaker \ e2fsprogs e2fsprogs-native \ " -# lsbinitscripts are needed to replace /etc/init.d/functions supplied by initscripts (systemv) -# They are not the same code! -# -RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs chkconfig glib-2.0 \ - ${@bb.utils.contains('DISTRO_FEATURES','systemd','lsbinitscripts','',d)}" +RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs chkconfig glib-2.0" ASNEEDED_pn-${PN} = "" PARALLEL_MAKE = ""
ping
Quoted 87 lines · On 9/17/19 4:04 PM, [email protected] wrote:
From: Changqing Li <[email protected]>
remove core-image-cgl.bb and core-image-cgl-initramfs.bb
* They require core-image-lsb.bb which has been removed by oe-core
* Even before LSB support is dropped by oe-core, core-image-cgl and core-image-cgl-initramfs cannot build success, failed during
do_rootfswith below error, so I suppose that no one use these 2 recipes, so remove itError:
Problem: package logcheck-1.3.20-r0.core2_64 requires rsyslog, but none of the providers can be installed
- package rsyslog-8.1907.0-r0.core2_64 conflicts with sysklogd provided by sysklogd-1.5.1-r0.core2_64
- package sysklogd-1.5.1-r0.core2_64 conflicts with rsyslog provided by rsyslog-8.1907.0-r0.core2_64
- package packagegroup-cgl-applications-1.0-r0.noarch requires logcheck, but none of the providers can be installed
- package packagegroup-core-full-cmdline-initscripts-1.0-r6.noarch requires sysklogd, but none of the providers can be installed
- package packagegroup-cgl-1.0-r0.noarch requires packagegroup-cgl-applications, but none of the providers can be installed
- package packagegroup-core-full-cmdline-1.0-r6.noarch requires packagegroup-core-full-cmdline-initscripts, but none of the providers can be installedSigned-off-by Changqing Li <[email protected]>--- meta-cgl-common/images/core-image-cgl-initramfs.bb | 19 --------------- meta-cgl-common/images/core-image-cgl.bb | 28 ---------------------- 2 files changed, 47 deletions(-)delete mode 100644 meta-cgl-common/images/core-image-cgl-initramfs.bb delete mode 100644 meta-cgl-common/images/core-image-cgl.bb
meta-cgl-common/images/core-image-cgl-initramfs.bb deleted +0
-19@@ -1,19 +0,0 @@ -require core-image-cgl.bb - -# Recipe is based on core-image-minimal.bb -DESCRIPTION = "Initramfs used to mount multipath device as root file system" - -PACKAGE_INSTALL = "initramfs-cgl-boot busybox base-passwd udev" - -# Do not pollute the initrd image with rootfs features -IMAGE_FEATURES = "" - -export IMAGE_BASENAME = "core-image-cgl-initramfs" -IMAGE_LINGUAS = "" - -LICENSE = "MIT" -IMAGE_FSTYPES ??= "cpio.gz.u-boot" - -IMAGE_ROOTFS_SIZE = "8192" - -BAD_RECOMMENDATIONS += "busybox-syslog"meta-cgl-common/images/core-image-cgl.bb deleted +0
-28@@ -1,28 +0,0 @@ -require recipes-extended/images/core-image-lsb.bb - - -VALGRIND ?= "" -VALGRIND_powerpc ?= "valgrind" -VALGRIND_e500v2 ?= "" -VALGRIND_x86 ?= "valgrind" -VALGRIND_x86_64 ?= "valgrind" -VALGRIND_armv7a ?= "valgrind" - -# Include modules in rootfs -IMAGE_INSTALL += "\ - packagegroup-core-buildessential \ - packagegroup-core-selinux \ - packagegroup-cgl \ - kexec-tools \ - lttng-tools \ - lttng-modules \ - ${VALGRIND} \ - " - -IMAGE_FSTYPES += " ext3.gz" - -# kexec-tools doesn't work on Mips -KEXECTOOLS_mips ?= "" -KEXECTOOLS_mipsel ?= "" - -IMAGE_FEATURES += "tools-debug tools-profile"
ping
Quoted 87 lines · On 9/17/19 4:04 PM, [email protected] wrote:
From: Changqing Li <[email protected]>
remove core-image-cgl.bb and core-image-cgl-initramfs.bb
* They require core-image-lsb.bb which has been removed by oe-core
* Even before LSB support is dropped by oe-core, core-image-cgl and core-image-cgl-initramfs cannot build success, failed during
do_rootfswith below error, so I suppose that no one use these 2 recipes, so remove itError:
Problem: package logcheck-1.3.20-r0.core2_64 requires rsyslog, but none of the providers can be installed
- package rsyslog-8.1907.0-r0.core2_64 conflicts with sysklogd provided by sysklogd-1.5.1-r0.core2_64
- package sysklogd-1.5.1-r0.core2_64 conflicts with rsyslog provided by rsyslog-8.1907.0-r0.core2_64
- package packagegroup-cgl-applications-1.0-r0.noarch requires logcheck, but none of the providers can be installed
- package packagegroup-core-full-cmdline-initscripts-1.0-r6.noarch requires sysklogd, but none of the providers can be installed
- package packagegroup-cgl-1.0-r0.noarch requires packagegroup-cgl-applications, but none of the providers can be installed
- package packagegroup-core-full-cmdline-1.0-r6.noarch requires packagegroup-core-full-cmdline-initscripts, but none of the providers can be installedSigned-off-by Changqing Li <[email protected]>--- meta-cgl-common/images/core-image-cgl-initramfs.bb | 19 --------------- meta-cgl-common/images/core-image-cgl.bb | 28 ---------------------- 2 files changed, 47 deletions(-)delete mode 100644 meta-cgl-common/images/core-image-cgl-initramfs.bb delete mode 100644 meta-cgl-common/images/core-image-cgl.bb
meta-cgl-common/images/core-image-cgl-initramfs.bb deleted +0
-19@@ -1,19 +0,0 @@ -require core-image-cgl.bb - -# Recipe is based on core-image-minimal.bb -DESCRIPTION = "Initramfs used to mount multipath device as root file system" - -PACKAGE_INSTALL = "initramfs-cgl-boot busybox base-passwd udev" - -# Do not pollute the initrd image with rootfs features -IMAGE_FEATURES = "" - -export IMAGE_BASENAME = "core-image-cgl-initramfs" -IMAGE_LINGUAS = "" - -LICENSE = "MIT" -IMAGE_FSTYPES ??= "cpio.gz.u-boot" - -IMAGE_ROOTFS_SIZE = "8192" - -BAD_RECOMMENDATIONS += "busybox-syslog"meta-cgl-common/images/core-image-cgl.bb deleted +0
-28@@ -1,28 +0,0 @@ -require recipes-extended/images/core-image-lsb.bb - - -VALGRIND ?= "" -VALGRIND_powerpc ?= "valgrind" -VALGRIND_e500v2 ?= "" -VALGRIND_x86 ?= "valgrind" -VALGRIND_x86_64 ?= "valgrind" -VALGRIND_armv7a ?= "valgrind" - -# Include modules in rootfs -IMAGE_INSTALL += "\ - packagegroup-core-buildessential \ - packagegroup-core-selinux \ - packagegroup-cgl \ - kexec-tools \ - lttng-tools \ - lttng-modules \ - ${VALGRIND} \ - " - -IMAGE_FSTYPES += " ext3.gz" - -# kexec-tools doesn't work on Mips -KEXECTOOLS_mips ?= "" -KEXECTOOLS_mipsel ?= "" - -IMAGE_FEATURES += "tools-debug tools-profile"