* [PR PATCH] dinit: update to 0.19.1.
@ 2024-10-28 13:52 dataCobra
2024-10-28 14:43 ` dkwo
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dataCobra @ 2024-10-28 13:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
There is a new pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages dinit
https://github.com/void-linux/void-packages/pull/52811
dinit: update to 0.19.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (cross)
- aarch64-musl (cross)
- armv7l (cross)
@dkwo, as the maintainer could you please take a look and give me feedback?
I've changed the configuration to enable shutdown but prefix everything with `dinit-`.
Also I added both Markdown files with the explanation for dinit as PID1 and user-init, aswell as copying the example services.
A patch file from https://github.com/void-linux/void-packages/pull/52811.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dinit-52811.patch --]
[-- Type: text/x-diff, Size: 1245 bytes --]
From 8b7d59b1bc44586c7f669f14998b4f76a1ba8ed3 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Mon, 28 Oct 2024 14:48:13 +0100
Subject: [PATCH] dinit: update to 0.19.1.
---
srcpkgs/dinit/template | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/dinit/template b/srcpkgs/dinit/template
index 60645bcb00f5c1..8b3fa5068fcd6b 100644
--- a/srcpkgs/dinit/template
+++ b/srcpkgs/dinit/template
@@ -1,11 +1,11 @@
# Template file for 'dinit'
pkgname=dinit
-version=0.18.0
+version=0.19.1
revision=1
build_style=meson
configure_args="
-Ddinit-sbindir=/usr/bin
- -Dbuild-shutdown=disabled
+ -Dshutdown-prefix=dinit-
-Dunit-tests=true
-Digr-tests=true
-Db_ndebug=false"
@@ -16,4 +16,10 @@ license="Apache-2.0"
homepage="https://davmac.org/projects/dinit/"
changelog="https://raw.githubusercontent.com/davmac314/dinit/master/NEWS"
distfiles="https://github.com/davmac314/dinit/archive/v${version}.tar.gz"
-checksum=ec854903e93416b3f65e72009dcde4965869d8793e2314565484d94ede534e48
+checksum=e4ef40844ce64ca7476b9acba2adabdca49a2b59c97641a99e7d47904701a5f5
+
+post_install() {
+ vmkdir usr/share/doc/dinit
+ vcopy doc/linux/* usr/share/doc/dinit/
+ vdoc doc/getting_started.md
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dinit: update to 0.19.1.
2024-10-28 13:52 [PR PATCH] dinit: update to 0.19.1 dataCobra
@ 2024-10-28 14:43 ` dkwo
2024-10-28 14:46 ` dataCobra
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: dkwo @ 2024-10-28 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/52811#issuecomment-2441790182
Comment:
Looks good, though I have not tested running as init (shutdown etc): if you want to enable those, I'm not against, but testing is on you.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dinit: update to 0.19.1.
2024-10-28 13:52 [PR PATCH] dinit: update to 0.19.1 dataCobra
2024-10-28 14:43 ` dkwo
@ 2024-10-28 14:46 ` dataCobra
2024-10-30 13:58 ` dataCobra
2024-11-01 1:29 ` [PR PATCH] [Merged]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: dataCobra @ 2024-10-28 14:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/52811#issuecomment-2441798387
Comment:
I've already setup a VM to test dinit as system init.
Did not had the time to test yet.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dinit: update to 0.19.1.
2024-10-28 13:52 [PR PATCH] dinit: update to 0.19.1 dataCobra
2024-10-28 14:43 ` dkwo
2024-10-28 14:46 ` dataCobra
@ 2024-10-30 13:58 ` dataCobra
2024-11-01 1:29 ` [PR PATCH] [Merged]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: dataCobra @ 2024-10-30 13:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
New comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/52811#issuecomment-2447262166
Comment:
I've setup a VM with dinit as system init and user init successfully.
The service files in the doc folder need a bit of changing but since we do not official support this init as system init I don't see a problem here.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: dinit: update to 0.19.1.
2024-10-28 13:52 [PR PATCH] dinit: update to 0.19.1 dataCobra
` (2 preceding siblings ...)
2024-10-30 13:58 ` dataCobra
@ 2024-11-01 1:29 ` classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-11-01 1:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
There's a merged pull request on the void-packages repository
dinit: update to 0.19.1.
https://github.com/void-linux/void-packages/pull/52811
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (cross)
- aarch64-musl (cross)
- armv7l (cross)
@dkwo, as the maintainer could you please take a look and give me feedback?
I've changed the configuration to enable shutdown but prefix everything with `dinit-`.
Also I added both Markdown files with the explanation for dinit as PID1 and user-init, aswell as copying the example services.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-01 1:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-28 13:52 [PR PATCH] dinit: update to 0.19.1 dataCobra
2024-10-28 14:43 ` dkwo
2024-10-28 14:46 ` dataCobra
2024-10-30 13:58 ` dataCobra
2024-11-01 1:29 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).