Openembedded-core Digest, Vol 89, Issue 101
A message that is not in the archive (sent off-list or not yet received): mailman.3217.1528706473.1670.openembedded-core@lists.openembedded.org
Hi,
Please ignore below patch.
I will send a V2 taking care of comments from Richard.
Thanks,
Devarsh
Quoted 310 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Monday, June 11, 2018 2:11 PM
To: [email protected]
Subject: Openembedded-core Digest, Vol 89, Issue 101Send Openembedded-core mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openembedded.org/mailman/listinfo/openembedded-core
or, via email, send a message with subject or body 'help' to
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re:
Contents of Openembedded-core digest..."Today's Topics:
1. [PATCH] matchbox-terminal: Update commitID (Devarsh Thakkar)
2. Re: [PATCH 2/2] bitbake-blayers/create: addLAYERSERIES_COMPAT(Richard Purdie)
3. [PATCH] xinetd: Fix systemd service for systemd>237 (Ricardo Ribalda Delgado)
4. [PATCH v2] bitbake-blayers/create: addLAYERSERIES_COMPAT(Anuj Mittal)
5. Re: [PATCH v2] bitbake-blayers/create: addLAYERSERIES_COMPAT(Peter Kjellerstedt)----------------------------------------------------------------------
Message: 1
Date: Sun, 10 Jun 2018 23:22:24 -0700
From: Devarsh Thakkar <[email protected]>
To: <[email protected]>, <[email protected]>
Subject: [OE-core] [PATCH] matchbox-terminal: Update commitID
Message-ID: <[email protected]>
Content-Type: text/plainPull in change which adds support for command line options (-e and -- command) which can be used for launching programs or running commands in matchbox-terminal via command line.
Signed-off-by Devarsh Thakkar <[email protected]>--- meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb +1
-2@@ -10,7 +10,7 @@ DEPENDS = "gtk+3 vte" SECTION = "x11/utils" #SRCREV tagged 0.1 -SRCREV = "3ad357db2302760b8a8817b5f4478dd87479442f" +SRCREV = "ccbc3c70946b04313c6166ab0dfef21e5e83c289" SRC_URI = "git://git.yoctoproject.org/${BPN}" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" --2.1.1
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
------------------------------
Message: 2
Date: Mon, 11 Jun 2018 08:21:25 +0100
From: Richard Purdie <[email protected]>
To: Anuj Mittal <[email protected]>,
[email protected]
Subject: Re: [OE-core] [PATCH 2/2] bitbake-blayers/create: add
LAYERSERIES_COMPAT
Message-ID:<4c3a2b83203d7c07affbd12ff5300f11d516e002.camel@linuxfoundation.org>
Content-Type: text/plain; charset="UTF-8"Quoted 36 lines · Anuj Mittal
Derive the value for template layer.conf from core layer and add dependendency on it too.
Fixes [YOCTO #12767]
Signed-off-by Anuj Mittal <[email protected]>--- meta/lib/bblayers/create.py | 2 +- meta/lib/bblayers/templates/layer.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)meta/lib/bblayers/create.py +1
-1@@ -44,7 +44,7 @@ class CreatePlugin(LayerPlugin): shutil.copy(license_src, license_dst) # Create the layer.conf from templates/layer.conf - layerconf_template = read_template('layer.conf') % (args.layerdir, args.layerdir, args.layerdir, args.priority) + layerconf_template = read_template('layer.conf') % (args.layerdir, args.layerdir, args.layerdir, args.priority, args.layerdir, args.layerdir)layerconf =
os.path.join(conf, 'layer.conf')withopen(layerconf, 'w')as fd:
fd.write(layerconf_template)diff --gita/meta/lib/bblayers/templates/layer.confb/meta/lib/bblayers/templates/layer.confindex3c0300226c..61b3ad8db3100644meta/lib/bblayers/templates/layer.conf +0
-0@@ -8,3 +8,6 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
BBFILE_COLLECTIONS+= "%s"
BBFILE_PATTERN_%s = "^${LAYERDIR}/"
BBFILE_PRIORITY_%s = "%s"meta/lib/bblayers/templates/layer.conf
Quoted 3 lines
meta/lib/bblayers/templates/layer.conf +3
-0+ +LAYERDEPENDS_%s = "core" +LAYERSERIES_COMPAT_%s = "${LAYERSERIES_COMPAT_core}"I feel very strongly that we do not want to just copy and paste this "follow core" value around. The template needs to contain an expanded value so that when core changes, people need to update their layer to say what they're compatible with.
Cheers,
Richard
------------------------------
Message: 3
Date: Mon, 11 Jun 2018 10:05:04 +0200
From: Ricardo Ribalda Delgado <[email protected]>
To: [email protected],
[email protected]
Subject: [OE-core] [PATCH] xinetd: Fix systemd service for systemd>237
Message-ID: <[email protected]>SystemD 237 implements a stricted PIDfile handling that breaks several daemons [1].
Change the way we start xinetd, mimicing other distros [2].
Fixes:
root@qt5122:~# journalctl -u xinetd -- Logs begin at Fri 2018-05-25 14:33:29 UTC, end at Mon 2018-06-11 07:33:08 UTC. -- May 25 14:33:31 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd... May 25 14:33:31 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating. Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'. Jun 11 07:27:24 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd. Jun 11 07:31:38 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd... Jun 11 07:31:38 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating. Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'. Jun 11 07:33:08 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.[1]: https://github.com/systemd/systemd/issues/8085
[2]: https://github.com/felixonmars/archlinux-
community/commit/e49040636737fdb09031e75ec4d73a580f80676bSigned-off-by Ricardo Ribalda Delgado <[email protected]>--- meta/recipes-extended/xinetd/xinetd/xinetd.service | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)meta/recipes-extended/xinetd/xinetd/xinetd.service +0
-0@@ -3,11 +3,8 @@ Description=Xinetd A Powerful Replacement For InetdAfter=syslog.target network.target
[Service]
meta/recipes-extended/xinetd/xinetd/xinetd.service +0
-3-Type=forking -PIDFile=/var/run/xinetd.pid EnvironmentFile=-/etc/sysconfig/xinetd -ExecStart=@SBINDIR@/xinetd -stayalive -pidfile /var/run/xinetd.pid"$EXTRAOPTIONS"
meta/recipes-extended/xinetd/xinetd/xinetd.service +1
-2-ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID +ExecStart=@SBINDIR@/xinetd -dontfork "$EXTRAOPTIONS" [Install] WantedBy=multi-user.target --2.17.1
------------------------------
Message: 4
Date: Mon, 11 Jun 2018 16:29:01 +0800
From: Anuj Mittal <[email protected]>
To: [email protected]
Subject: [OE-core] [PATCH v2] bitbake-blayers/create: add
LAYERSERIES_COMPAT
Message-ID: <[email protected]>Derive the value for template layer.conf from core layer and add dependendency on it too.
Fixes [YOCTO #12767]
Signed-off-by Anuj Mittal <[email protected]>--- meta/lib/bblayers/create.py | 5 ++++- meta/lib/bblayers/templates/layer.conf | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-)meta/lib/bblayers/create.py +2
-0@@ -43,8 +43,11 @@ class CreatePlugin(LayerPlugin): license_dst = os.path.join(layerdir, copying) shutil.copy(license_src, license_dst) + # Get the compat value for core layer. + compat = self.tinfoil.config_data.getVar('LAYERSERIES_COMPAT_core') or""
meta/lib/bblayers/create.py +1
-1+ # Create the layer.conf from templates/layer.conf - layerconf_template = read_template('layer.conf') % (args.layerdir,args.layerdir, args.layerdir, args.priority)
+layerconf_template=read_template('layer.conf')% (args.layerdir,
args.layerdir, args.layerdir, args.priority, args.layerdir, args.layerdir, compat)
layerconf =os.path.join(conf, 'layer.conf')
withopen(layerconf, 'w')as fd:
fd.write(layerconf_template)meta/lib/bblayers/templates/layer.conf +3
-1@@ -8,3 +8,6 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ BBFILE_COLLECTIONS += "%s" BBFILE_PATTERN_%s = "^${LAYERDIR}/" BBFILE_PRIORITY_%s = "%s" + +LAYERDEPENDS_%s = "core" +LAYERSERIES_COMPAT_%s = "%s" --2.17.1
------------------------------
Message: 5
Date: Mon, 11 Jun 2018 08:41:10 +0000
From: Peter Kjellerstedt <[email protected]>
To: Anuj Mittal <[email protected]>,
"[email protected]" <[email protected]>
Subject: Re: [OE-core] [PATCH v2] bitbake-blayers/create: add
LAYERSERIES_COMPAT
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"Quoted 7 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Anuj Mittal
Sent: den 11 juni 2018 10:29
To: [email protected]
Subject: [OE-core] [PATCH v2] bitbake-blayers/create: add
LAYERSERIES_COMPAT^^^^^^^^^^^^^^^I assume you mean "bitbake-layers"... This goes for the other patch in the series as well.
//Peter
------------------------------
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-coreEnd of Openembedded-core Digest, Vol 89, Issue 101
**************************************************