Skip to contentSkip to conversation

package/openrc: bump to version 0.42.1

PATCH New aduskett at gmail.com 3 participants 6 messages Feb 29, 2020 – Mar 1, 2020

lore
Share & tools
lore
#0 lore raw

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
index 7d58e254c4..bb5880806d 100644
@@ -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
index 3f6453cef5..b1b3ed2c56 100644
@@ -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
#1 lore raw

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
index b1b3ed2c56..57d156807c 100644
@@ -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
#2 lore raw

PATCH 3/3 support/testing: add openrc tests

In reply to aduskett at gmail.com

From: 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
index a6436a8417..6717d78367 100644
@@ -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
#3 lore raw

PATCH 1/3 package/openrc: bump to version 0.42.1

In reply to aduskett at gmail.com
Quoted 34 lines · On Sat, Feb 29, 2020 at 8:28 PM <[email protected]> wrote:

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
index 7d58e254c4..bb5880806d 100644
@@ -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 -2
index 3f6453cef5..b1b3ed2c56 100644
@@ -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]>
#4 lore raw

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]>

[--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.  |
'------------------------------^-------^------------------^--------------------'
#5 lore raw

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]>

[--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]>