All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] systemd: fixes for debug-shell service
@ 2017-02-22  6:41 jackie.huang
  2017-02-22  6:41 ` [PATCH 1/2] initscripts: split sushell into sub package jackie.huang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: jackie.huang @ 2017-02-22  6:41 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

--
The following changes since commit e436a6398684d2872cb541f1cfb0f67b3618d15a:

  layer.conf: bump version for change in eSDK selftest behaviour (2017-02-19 09:39:03 -0800)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib.git jhuang0/d_debug-shell_170222_1
  http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_debug-shell_170222_1

Jackie Huang (2):
  initscripts: split sushell into sub package
  systemd: add dependency on initscripts-sushell for selinux

 meta/recipes-core/initscripts/initscripts_1.0.bb | 5 +++--
 meta/recipes-core/systemd/systemd_232.bb         | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

-- 
2.8.3



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

* [PATCH 1/2] initscripts: split sushell into sub package
  2017-02-22  6:41 [PATCH 0/2] systemd: fixes for debug-shell service jackie.huang
@ 2017-02-22  6:41 ` jackie.huang
  2017-02-22  6:41 ` [PATCH 2/2] systemd: add dependency on initscripts-sushell for selinux jackie.huang
  2017-04-18  9:16 ` [PATCH 0/2] systemd: fixes for debug-shell service Huang, Jie (Jackie)
  2 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2017-02-22  6:41 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

* sushell is required by systemd service debug-shell
  when selinux is enabled, but it doesn't make sense
  to make systemd depend on initscripts, so split sushell
  into sub package initscripts-sushell.

* The bash dependency has been removed by:
  '''
  4917e36a77bd6821b45db52caa43939d344d92f6
  initscripts: Fix regression for requiring /bin/bash
  '''
  so remove bash from RDEPENDS when selinux is enabled.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-core/initscripts/initscripts_1.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 2e4f7e4..7e01572 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -46,11 +46,12 @@ inherit update-alternatives
 DEPENDS_append = " update-rc.d-native"
 PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
 
-PACKAGES =+ "${PN}-functions"
+PACKAGES =+ "${PN}-functions ${PN}-sushell"
 RDEPENDS_${PN} = "${PN}-functions \
-                  ${@bb.utils.contains('DISTRO_FEATURES','selinux','bash','',d)} \
+                  ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \
 		 "
 FILES_${PN}-functions = "${sysconfdir}/init.d/functions*"
+FILES_${PN}-sushell = "${base_sbindir}/sushell"
 
 ALTERNATIVE_PRIORITY_${PN}-functions = "90"
 ALTERNATIVE_${PN}-functions = "functions"
-- 
2.8.3



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

* [PATCH 2/2] systemd: add dependency on initscripts-sushell for selinux
  2017-02-22  6:41 [PATCH 0/2] systemd: fixes for debug-shell service jackie.huang
  2017-02-22  6:41 ` [PATCH 1/2] initscripts: split sushell into sub package jackie.huang
@ 2017-02-22  6:41 ` jackie.huang
  2017-04-18  9:16 ` [PATCH 0/2] systemd: fixes for debug-shell service Huang, Jie (Jackie)
  2 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2017-02-22  6:41 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

sushell is required by systemd service debug-shell
when selinux is enabled.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-core/systemd/systemd_232.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb
index cc8781e..d38be14 100644
--- a/meta/recipes-core/systemd/systemd_232.bb
+++ b/meta/recipes-core/systemd/systemd_232.bb
@@ -113,7 +113,7 @@ PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
 # Update NAT firewall rules
 PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables"
 PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
-PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,initscripts-sushell"
 PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
 PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
 PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
-- 
2.8.3



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

* Re: [PATCH 0/2] systemd: fixes for debug-shell service
  2017-02-22  6:41 [PATCH 0/2] systemd: fixes for debug-shell service jackie.huang
  2017-02-22  6:41 ` [PATCH 1/2] initscripts: split sushell into sub package jackie.huang
  2017-02-22  6:41 ` [PATCH 2/2] systemd: add dependency on initscripts-sushell for selinux jackie.huang
@ 2017-04-18  9:16 ` Huang, Jie (Jackie)
  2 siblings, 0 replies; 5+ messages in thread
From: Huang, Jie (Jackie) @ 2017-04-18  9:16 UTC (permalink / raw)
  To: openembedded-core

Ping.

> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> jackie.huang@windriver.com
> Sent: Wednesday, February 22, 2017 14:42
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH 0/2] systemd: fixes for debug-shell service
> 
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> --
> The following changes since commit
> e436a6398684d2872cb541f1cfb0f67b3618d15a:
> 
>   layer.conf: bump version for change in eSDK selftest behaviour (2017-02-19
> 09:39:03 -0800)
> 
> are available in the git repository at:
> 
>   git://git.pokylinux.org/poky-contrib.git jhuang0/d_debug-shell_170222_1
>   http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_debug-shell_170222_1
> 
> Jackie Huang (2):
>   initscripts: split sushell into sub package
>   systemd: add dependency on initscripts-sushell for selinux
> 
>  meta/recipes-core/initscripts/initscripts_1.0.bb | 5 +++--
>  meta/recipes-core/systemd/systemd_232.bb         | 2 +-
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> --
> 2.8.3
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* [PATCH 1/2] initscripts: split sushell into sub package
  2017-08-22  6:34 jackie.huang
@ 2017-08-22  6:34 ` jackie.huang
  0 siblings, 0 replies; 5+ messages in thread
From: jackie.huang @ 2017-08-22  6:34 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

* sushell is required by systemd service debug-shell
  when selinux is enabled, but it doesn't make sense
  to make systemd depend on initscripts, so split sushell
  into sub package initscripts-sushell.

* The bash dependency has been removed by:
  '''
  4917e36a77bd6821b45db52caa43939d344d92f6
  initscripts: Fix regression for requiring /bin/bash
  '''
  so remove bash from RDEPENDS when selinux is enabled.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-core/initscripts/initscripts_1.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 7ab0d2b..d627d2e 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -46,11 +46,12 @@ inherit update-alternatives
 DEPENDS_append = " update-rc.d-native"
 PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
 
-PACKAGES =+ "${PN}-functions"
+PACKAGES =+ "${PN}-functions ${PN}-sushell"
 RDEPENDS_${PN} = "${PN}-functions \
-                  ${@bb.utils.contains('DISTRO_FEATURES','selinux','bash','',d)} \
+                  ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \
 		 "
 FILES_${PN}-functions = "${sysconfdir}/init.d/functions*"
+FILES_${PN}-sushell = "${base_sbindir}/sushell"
 
 ALTERNATIVE_PRIORITY_${PN}-functions = "90"
 ALTERNATIVE_${PN}-functions = "functions"
-- 
1.9.1



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

end of thread, other threads:[~2017-08-22  6:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22  6:41 [PATCH 0/2] systemd: fixes for debug-shell service jackie.huang
2017-02-22  6:41 ` [PATCH 1/2] initscripts: split sushell into sub package jackie.huang
2017-02-22  6:41 ` [PATCH 2/2] systemd: add dependency on initscripts-sushell for selinux jackie.huang
2017-04-18  9:16 ` [PATCH 0/2] systemd: fixes for debug-shell service Huang, Jie (Jackie)
2017-08-22  6:34 jackie.huang
2017-08-22  6:34 ` [PATCH 1/2] initscripts: split sushell into sub package jackie.huang

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.