package/openrc: bump to version 0.42.1
PATCH 1/3 package/openrc: bump to version 0.42.1
From: Adam Duskett <[email protected]>
--- package/openrc/openrc.hash | 2 +- package/openrc/openrc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/openrc/openrc.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 c99488ca54f2b795328d07bbd456ade49b571136bba7501f7eaaeb1ca9f9ecc4 openrc-0.41.2.tar.gz +sha256 91a01ca6d930a0688fb91338209985de57cac7aa2d37feddacb78fd3d95308e2 openrc-0.42.1.tar.gz sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE
package/openrc/openrc.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.41.2 +OPENRC_VERSION = 0.42.1 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE
Signature · 1 line
2.24.1
PATCH 2/3 package/openrc: add libselinux support
From: Adam Duskett <[email protected]>
If the libselinux package is selected, add the package to the dependency list and explicitly set OPENRC_MAKE_OPTS += MKSELINUX=yes
--- package/openrc/openrc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/openrc/openrc.mk +7 -1
@@ -18,7 +18,6 @@ OPENRC_MAKE_OPTS = \ LIBNAME=lib \ LIBEXECDIR=/usr/libexec/rc \ MKPKGCONFIG=no \ - MKSELINUX=no \ MKSYSVINIT=yes \ BRANDING="Buildroot $(BR2_VERSION_FULL)" \ CC=$(TARGET_CC)
@@ -29,6 +28,13 @@ else OPENRC_MAKE_OPTS += MKSTATICLIBS=yes endif +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_DEPENDENCIES += libselinux +else +OPENRC_MAKE_OPTS += MKSELINUX=no +endif + define OPENRC_BUILD_CMDS $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) endef
Signature · 1 line
2.24.1
PATCH 3/3 support/testing: add openrc tests
In reply to aduskett at gmail.comFrom: Adam Duskett <[email protected]>
Two simple tests to ensure that openrc boots without any services crashing with a read only and a read write filing system.
--- .gitlab-ci.yml | 2 + support/testing/tests/init/test_openrc.py | 51 +++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 support/testing/tests/init/test_openrc.py
.gitlab-ci.yml +2 -0
@@ -368,6 +368,8 @@ tests.init.test_busybox.TestInitSystemBusyboxRoNet: { extends: .runtime_test } tests.init.test_busybox.TestInitSystemBusyboxRw: { extends: .runtime_test } tests.init.test_busybox.TestInitSystemBusyboxRwNet: { extends: .runtime_test } tests.init.test_none.TestInitSystemNone: { extends: .runtime_test } +tests.init.test_openrc.TestInitSystemOpenrcRoFull: { extends: .runtime_test } +tests.init.test_openrc.TestInitSystemOpenrcRwFull: { extends: .runtime_test } tests.init.test_systemd.TestInitSystemSystemdRoFull: { extends: .runtime_test } tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: { extends: .runtime_test } tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: { extends: .runtime_test }
support/testing/tests/init/test_openrc.py new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.24.1
PATCH 1/3 package/openrc: bump to version 0.42.1
In reply to aduskett at gmail.comQuoted 34 lines · On Sat, Feb 29, 2020 at 8:28 PM <[email protected]> wrote:
From: Adam Duskett <[email protected]>
Signed-off-by Adam Duskett <[email protected]>--- package/openrc/openrc.hash | 2 +- package/openrc/openrc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/openrc/openrc.hash +1
-1@@ -1,3 +1,3 @@ # Locally calculated -sha256 c99488ca54f2b795328d07bbd456ade49b571136bba7501f7eaaeb1ca9f9ecc4 openrc-0.41.2.tar.gz +sha256 91a01ca6d930a0688fb91338209985de57cac7aa2d37feddacb78fd3d95308e2 openrc-0.42.1.tar.gz sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSEpackage/openrc/openrc.mk +1
-2@@ -4,7 +4,7 @@ # ################################################################################ -OPENRC_VERSION = 0.41.2 +OPENRC_VERSION = 0.42.1 OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) OPENRC_LICENSE = BSD-2-Clause OPENRC_LICENSE_FILES = LICENSE --2.24.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
I'm working on this upgrade too and found that It's necessary to patch
runlevels/Makefile to avoid creating agetty.tty[1-6] if
MKSYSVINIT=yes.
Signature · 1 line
Carlos Santos <[email protected]>
PATCH 1/3 package/openrc: bump to version 0.42.1
Carlos, Adam, All,
On 2020-03-01 09:18 -0300, Carlos Santos spake thusly:
Quoted 3 lines · On Sat, Feb 29, 2020 at 8:28 PM <[email protected]> wrote:
Quoted 2 lines
From: Adam Duskett <[email protected]>
Signed-off-by Adam Duskett <[email protected]>
[--SNIP--]
Quoted 2 lines
package/openrc/openrc.mk line 7
Quoted 2 lines
package/openrc/openrc.mk +1
-1-OPENRC_VERSION = 0.41.2 +OPENRC_VERSION = 0.42.1
[--SNIP--]
Quoted 3 lines
I'm working on this upgrade too and found that It's necessary to patch
runlevels/Makefile to avoid creating agetty.tty[1-6] if
MKSYSVINIT=yes.
Thanks for the feedback. I've marked that series as changes-requested in patchwork. Thanks!
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 package/openrc: bump to version 0.42.1
Quoted 15 lines · Yann E. MORIN
Carlos, Adam, All,
On 2020-03-01 09:18 -0300, Carlos Santos spake thusly:
Quoted 3 lines · On Sat, Feb 29, 2020 at 8:28 PM <[email protected]> wrote:
Quoted 2 lines
From: Adam Duskett <[email protected]>
Signed-off-by Adam Duskett <[email protected]>[--SNIP--]
Quoted 2 lines
package/openrc/openrc.mk line 7
Quoted 2 lines
package/openrc/openrc.mk +1
-1-OPENRC_VERSION = 0.41.2 +OPENRC_VERSION = 0.42.1[--SNIP--]
Quoted 3 lines
I'm working on this upgrade too and found that It's necessary to patch
runlevels/Makefile to avoid creating agetty.tty[1-6] if
MKSYSVINIT=yes.
Quoted 5 lines
Thanks for the feedback. I've marked that series as changes-requested in patchwork. Thanks!
Regards,
Yann E. MORIN.
I sent an updated series.
Signature · 1 line
Carlos Santos <[email protected]>