All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Small improvement for the initscripts package
@ 2017-09-29  8:38 Jef.Driesen
  2017-09-29  9:00 ` ✗ patchtest: failure for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Jef.Driesen @ 2017-09-29  8:38 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

Hi,

Attached is a small patch to remove the empty initscripts-{dev,doc,dbg} packages.

For our system, we are using some custom initscripts. Because of that, some files conflict with the initscripts package, and thus the initscript package gets removed from our build. But when trying to build an sdk, somehow the initscripts-dev package gets pulled in, and since that has an automatic dependency on initscripts, our build fails.

I've been trying to find out why this happens, but without much success so far. But I did found a simple workaround: remove the initscripts-dev package completely. Since the initscripts recipe contains some shell scripts the initscript-dev is empty anyway.

I've fixed this locally with a bbappend, but this is probably something that can be applied upstream.

Jef
Disclaimer

This e-mail and its attachments is intended only for the person(s) or entity to which it is addressed. If you receive this e-mail by mistake, please delete this e-mail from your system and destroy all copies of it. It may contain confidential and/or privileged information. You should not copy it or use it for any purpose nor disclose its contents to any person unless allowed by a written document between the sender and the addressee.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Remove-empty-packages.patch --]
[-- Type: text/x-patch; name="0001-Remove-empty-packages.patch", Size: 1177 bytes --]

From 93904b97ed3678f6c4a77e6504d2d05e967b0d71 Mon Sep 17 00:00:00 2001
From: Jef Driesen <jef.driesen@niko.eu>
Date: Fri, 29 Sep 2017 09:09:43 +0200
Subject: [PATCH] Remove empty packages

Because the initscripts recipe contains only some shell scripts, the standard
packages (e.g. ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc, etc) are all
empty and can be removed.

Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
---
 meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index f90de6e..cb056b7 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -46,7 +46,7 @@ inherit update-alternatives
 DEPENDS_append = " update-rc.d-native"
 DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
 
-PACKAGES =+ "${PN}-functions"
+PACKAGES = "${PN}-functions ${PN}"
 RDEPENDS_${PN} = "${PN}-functions \
                   ${@bb.utils.contains('DISTRO_FEATURES','selinux','bash','',d)} \
 		 "
-- 
2.7.4


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

end of thread, other threads:[~2017-10-04  9:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29  8:38 [PATCH] Small improvement for the initscripts package Jef.Driesen
2017-09-29  9:00 ` ✗ patchtest: failure for " Patchwork
2017-09-29 11:44 ` [PATCH] " Alexander Kanavin
2017-09-29 13:21   ` Jef.Driesen
2017-09-29 16:28     ` Burton, Ross
2017-10-03  9:49       ` Jef.Driesen
2017-10-03 10:03   ` Jef.Driesen
2017-10-03 12:06     ` Burton, Ross
2017-10-03 15:03       ` Jef.Driesen
2017-10-03 16:12         ` Alexander Kanavin
2017-10-04  9:51           ` Jef.Driesen
2017-09-29 13:32 ` [PATCH v2] Remove empty packages Jef Driesen
2017-09-29 14:06   ` [PATCH v3] initscripts: " Jef Driesen
2017-09-29 20:41     ` Andre McCurdy
2017-09-29 14:00 ` ✗ patchtest: failure for Small improvement for the initscripts package (rev2) Patchwork

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.