Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: 66-boot-0.1.2.1
@ 2020-04-19  4:44 zenfailure
  2020-04-19 12:08 ` [PR PATCH] [Updated] " zenfailure
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zenfailure @ 2020-04-19  4:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

There is a new pull request by zenfailure against master on the void-packages repository

https://github.com/zenfailure/void-packages 66-boot
https://github.com/void-linux/void-packages/pull/21142

New package: 66-boot-0.1.2.1
None

A patch file from https://github.com/void-linux/void-packages/pull/21142.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66-boot-21142.patch --]
[-- Type: text/x-diff, Size: 3475 bytes --]

From 0b2471edff48f5e40cddf1e4f680edc6e281c0fb Mon Sep 17 00:00:00 2001
From: Iskander Zemmouri <iskander.zemmouri@mailbox.org>
Date: Mon, 6 Apr 2020 21:27:17 +0200
Subject: [PATCH] New package: 66-boot-0.1.2.1

---
 srcpkgs/66-boot/INSTALL            | 10 ++++++++++
 srcpkgs/66-boot/INSTALL.msg        |  3 +++
 srcpkgs/66-boot/REMOVE             |  6 ++++++
 srcpkgs/66-boot/files/66-bootstart |  2 ++
 srcpkgs/66-boot/files/tty@         | 12 ++++++++++++
 srcpkgs/66-boot/template           | 24 ++++++++++++++++++++++++
 6 files changed, 57 insertions(+)
 create mode 100644 srcpkgs/66-boot/INSTALL
 create mode 100644 srcpkgs/66-boot/INSTALL.msg
 create mode 100644 srcpkgs/66-boot/REMOVE
 create mode 100644 srcpkgs/66-boot/files/66-bootstart
 create mode 100644 srcpkgs/66-boot/files/tty@
 create mode 100644 srcpkgs/66-boot/template

diff --git a/srcpkgs/66-boot/INSTALL b/srcpkgs/66-boot/INSTALL
new file mode 100644
index 00000000000..8dcc4ce024c
--- /dev/null
+++ b/srcpkgs/66-boot/INSTALL
@@ -0,0 +1,10 @@
+if [ "$UPDATE" = "no" ]; then
+	case "${ACTION}" in
+	post)
+		66-tree -n boot
+		66-enable -t boot boot
+		66-tree -ncE default
+		66-enable -t default tty@tty1 tty@tty2 tty@tty3 tty@tty4
+		;;
+	esac
+fi
diff --git a/srcpkgs/66-boot/INSTALL.msg b/srcpkgs/66-boot/INSTALL.msg
new file mode 100644
index 00000000000..d07c97363db
--- /dev/null
+++ b/srcpkgs/66-boot/INSTALL.msg
@@ -0,0 +1,3 @@
+To boot with 66, simply add the argument `init=/usr/bin/66-bootstart' to your kernel commandline.
+
+The available service files are packaged in `66-services'.
diff --git a/srcpkgs/66-boot/REMOVE b/srcpkgs/66-boot/REMOVE
new file mode 100644
index 00000000000..9dc0c4270ba
--- /dev/null
+++ b/srcpkgs/66-boot/REMOVE
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+	post)
+		66-tree -R boot
+		66-tree -R default
+		;;
+esac
diff --git a/srcpkgs/66-boot/files/66-bootstart b/srcpkgs/66-boot/files/66-bootstart
new file mode 100644
index 00000000000..81d37211783
--- /dev/null
+++ b/srcpkgs/66-boot/files/66-bootstart
@@ -0,0 +1,2 @@
+#!/usr/bin/execlineb -P
+66-boot -b "Booting with 66-boot..." -m /run
diff --git a/srcpkgs/66-boot/files/tty@ b/srcpkgs/66-boot/files/tty@
new file mode 100644
index 00000000000..dcb2671922f
--- /dev/null
+++ b/srcpkgs/66-boot/files/tty@
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@description = "Launch @I"
+@user = ( root )
+@options = ( env )
+
+[start]
+@build = auto
+@execute = ( execl-cmdline -s { agetty ${cmd_args} @I } )
+
+[environment]
+cmd_args=!-J 38400
diff --git a/srcpkgs/66-boot/template b/srcpkgs/66-boot/template
new file mode 100644
index 00000000000..be3fcf90b76
--- /dev/null
+++ b/srcpkgs/66-boot/template
@@ -0,0 +1,24 @@
+# Template file for '66-boot'
+pkgname=66-boot
+_realpkgname=boot-66serv
+version=0.1.2.1
+revision=1
+archs="noarch"
+wrksrc=${_realpkgname}-v${version}
+build_style=gnu-configure
+makedepends="file"
+depends="66 s6-rc 66-tools s6-linux-utils"
+short_desc="Stage 1 boot for 66"
+maintainer="Iskander Zemmouri <iskander.zemmouri@mailbox.org>"
+license="ISC"
+homepage="https://framagit.org/Obarun/boot-66serv"
+distfiles="https://framagit.org/Obarun/${_realpkgname}/-/archive/v${version}/${_realpkgname}-v${version}.tar.gz"
+checksum=508fb91de713664ba5244f5d50a9cde106ce03be63dad24e03bfa813f40af2ea
+conf_files="/etc/66/*.conf
+ /etc/66/rc.local"
+
+post_install() {
+	vinstall ${FILESDIR}/tty@ 644 usr/share/66/service/
+	vinstall ${FILESDIR}/66-bootstart 755 usr/bin
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: 66-boot-0.1.2.1
  2020-04-19  4:44 [PR PATCH] New package: 66-boot-0.1.2.1 zenfailure
@ 2020-04-19 12:08 ` zenfailure
  2020-04-20  5:11 ` zenfailure
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: zenfailure @ 2020-04-19 12:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

There is an updated pull request by zenfailure against master on the void-packages repository

https://github.com/zenfailure/void-packages 66-boot
https://github.com/void-linux/void-packages/pull/21142

New package: 66-boot-0.1.2.1
None

A patch file from https://github.com/void-linux/void-packages/pull/21142.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66-boot-21142.patch --]
[-- Type: text/x-diff, Size: 3459 bytes --]

From b36ded206af90da7ee09204638107044d8102e94 Mon Sep 17 00:00:00 2001
From: Iskander Zemmouri <iskander.zemmouri@mailbox.org>
Date: Mon, 6 Apr 2020 21:27:17 +0200
Subject: [PATCH] New package: 66-boot-0.1.2.1

---
 srcpkgs/66-boot/INSTALL            | 10 ++++++++++
 srcpkgs/66-boot/INSTALL.msg        |  3 +++
 srcpkgs/66-boot/REMOVE             |  6 ++++++
 srcpkgs/66-boot/files/66-bootstart |  2 ++
 srcpkgs/66-boot/files/tty@         | 12 ++++++++++++
 srcpkgs/66-boot/template           | 24 ++++++++++++++++++++++++
 6 files changed, 57 insertions(+)
 create mode 100644 srcpkgs/66-boot/INSTALL
 create mode 100644 srcpkgs/66-boot/INSTALL.msg
 create mode 100644 srcpkgs/66-boot/REMOVE
 create mode 100644 srcpkgs/66-boot/files/66-bootstart
 create mode 100644 srcpkgs/66-boot/files/tty@
 create mode 100644 srcpkgs/66-boot/template

diff --git a/srcpkgs/66-boot/INSTALL b/srcpkgs/66-boot/INSTALL
new file mode 100644
index 00000000000..8dcc4ce024c
--- /dev/null
+++ b/srcpkgs/66-boot/INSTALL
@@ -0,0 +1,10 @@
+if [ "$UPDATE" = "no" ]; then
+	case "${ACTION}" in
+	post)
+		66-tree -n boot
+		66-enable -t boot boot
+		66-tree -ncE default
+		66-enable -t default tty@tty1 tty@tty2 tty@tty3 tty@tty4
+		;;
+	esac
+fi
diff --git a/srcpkgs/66-boot/INSTALL.msg b/srcpkgs/66-boot/INSTALL.msg
new file mode 100644
index 00000000000..d07c97363db
--- /dev/null
+++ b/srcpkgs/66-boot/INSTALL.msg
@@ -0,0 +1,3 @@
+To boot with 66, simply add the argument `init=/usr/bin/66-bootstart' to your kernel commandline.
+
+The available service files are packaged in `66-services'.
diff --git a/srcpkgs/66-boot/REMOVE b/srcpkgs/66-boot/REMOVE
new file mode 100644
index 00000000000..9dc0c4270ba
--- /dev/null
+++ b/srcpkgs/66-boot/REMOVE
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+	post)
+		66-tree -R boot
+		66-tree -R default
+		;;
+esac
diff --git a/srcpkgs/66-boot/files/66-bootstart b/srcpkgs/66-boot/files/66-bootstart
new file mode 100644
index 00000000000..81d37211783
--- /dev/null
+++ b/srcpkgs/66-boot/files/66-bootstart
@@ -0,0 +1,2 @@
+#!/usr/bin/execlineb -P
+66-boot -b "Booting with 66-boot..." -m /run
diff --git a/srcpkgs/66-boot/files/tty@ b/srcpkgs/66-boot/files/tty@
new file mode 100644
index 00000000000..dcb2671922f
--- /dev/null
+++ b/srcpkgs/66-boot/files/tty@
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@description = "Launch @I"
+@user = ( root )
+@options = ( env )
+
+[start]
+@build = auto
+@execute = ( execl-cmdline -s { agetty ${cmd_args} @I } )
+
+[environment]
+cmd_args=!-J 38400
diff --git a/srcpkgs/66-boot/template b/srcpkgs/66-boot/template
new file mode 100644
index 00000000000..6964ea00d61
--- /dev/null
+++ b/srcpkgs/66-boot/template
@@ -0,0 +1,24 @@
+# Template file for '66-boot'
+pkgname=66-boot
+_realpkgname=boot-66serv
+version=0.1.2.1
+revision=1
+archs="noarch"
+wrksrc=${_realpkgname}-v${version}
+build_style=gnu-configure
+makedepends="file"
+depends="66 s6-rc 66-tools s6-linux-utils"
+short_desc="Stage 1 boot for 66"
+maintainer="Iskander Zemmouri <iskander.zemmouri@mailbox.org>"
+license="ISC"
+homepage="https://framagit.org/Obarun/boot-66serv"
+distfiles="https://framagit.org/Obarun/${_realpkgname}/-/archive/v${version}/${_realpkgname}-v${version}.tar.gz"
+checksum=508fb91de713664ba5244f5d50a9cde106ce03be63dad24e03bfa813f40af2ea
+conf_files="/etc/66/*.conf
+ /etc/66/rc.local"
+
+post_install() {
+	vinstall ${FILESDIR}/tty@ 644 usr/share/66/service/
+	vbin ${FILESDIR}/66-bootstart
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: 66-boot-0.1.2.1
  2020-04-19  4:44 [PR PATCH] New package: 66-boot-0.1.2.1 zenfailure
  2020-04-19 12:08 ` [PR PATCH] [Updated] " zenfailure
@ 2020-04-20  5:11 ` zenfailure
  2020-12-20  1:49 ` ericonr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: zenfailure @ 2020-04-20  5:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

There is an updated pull request by zenfailure against master on the void-packages repository

https://github.com/zenfailure/void-packages 66-boot
https://github.com/void-linux/void-packages/pull/21142

New package: 66-boot-0.1.2.1
66-boot packages obarun's boot-66serv, which, as its author puts it, is a portable set of 66 services that can boot unix machines successfully. The packaging just helps with transitioning from runit to s6/66. The package in itself does not replace any of /bin/init, /bin/reboot, /bin/poweroff, etc... It merely installs another shell script that servces as init at /bin/66-bootstart which can be used with an alternative init=/bin/66-bootstart kernel command line argument. The user is left with the responsability to organize its machine as he sees fit and should find the shutdown, reboot and halt scripts in the /etc/66/ directory. Symbolic links to those scripts could be added to the package's INSTALL.
66-boot doesn't offer any service frontend files either (with the exception of tty@ which is necessary and the boot bundle directory which 66-boot's init binary (which is called by the 66-bootstart script) uses.
Another package named 66-services should package a compilation of possible 66 frontend service files for most daemons, as it seems rather difficult to put each daemon's frontend file in its corresponding package.


A patch file from https://github.com/void-linux/void-packages/pull/21142.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66-boot-21142.patch --]
[-- Type: text/x-diff, Size: 3480 bytes --]

From 5a6e7225284a312537a0caf555f840b9818bbef3 Mon Sep 17 00:00:00 2001
From: Iskander Zemmouri <iskander.zemmouri@mailbox.org>
Date: Mon, 6 Apr 2020 21:27:17 +0200
Subject: [PATCH] New package: 66-boot-0.1.2.1

---
 srcpkgs/66-boot/INSTALL            | 10 ++++++++++
 srcpkgs/66-boot/INSTALL.msg        |  3 +++
 srcpkgs/66-boot/REMOVE             |  6 ++++++
 srcpkgs/66-boot/files/66-bootstart |  2 ++
 srcpkgs/66-boot/files/tty@         | 12 ++++++++++++
 srcpkgs/66-boot/template           | 24 ++++++++++++++++++++++++
 6 files changed, 57 insertions(+)
 create mode 100644 srcpkgs/66-boot/INSTALL
 create mode 100644 srcpkgs/66-boot/INSTALL.msg
 create mode 100644 srcpkgs/66-boot/REMOVE
 create mode 100644 srcpkgs/66-boot/files/66-bootstart
 create mode 100644 srcpkgs/66-boot/files/tty@
 create mode 100644 srcpkgs/66-boot/template

diff --git a/srcpkgs/66-boot/INSTALL b/srcpkgs/66-boot/INSTALL
new file mode 100644
index 00000000000..8dcc4ce024c
--- /dev/null
+++ b/srcpkgs/66-boot/INSTALL
@@ -0,0 +1,10 @@
+if [ "$UPDATE" = "no" ]; then
+	case "${ACTION}" in
+	post)
+		66-tree -n boot
+		66-enable -t boot boot
+		66-tree -ncE default
+		66-enable -t default tty@tty1 tty@tty2 tty@tty3 tty@tty4
+		;;
+	esac
+fi
diff --git a/srcpkgs/66-boot/INSTALL.msg b/srcpkgs/66-boot/INSTALL.msg
new file mode 100644
index 00000000000..d07c97363db
--- /dev/null
+++ b/srcpkgs/66-boot/INSTALL.msg
@@ -0,0 +1,3 @@
+To boot with 66, simply add the argument `init=/usr/bin/66-bootstart' to your kernel commandline.
+
+The available service files are packaged in `66-services'.
diff --git a/srcpkgs/66-boot/REMOVE b/srcpkgs/66-boot/REMOVE
new file mode 100644
index 00000000000..9dc0c4270ba
--- /dev/null
+++ b/srcpkgs/66-boot/REMOVE
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+	post)
+		66-tree -R boot
+		66-tree -R default
+		;;
+esac
diff --git a/srcpkgs/66-boot/files/66-bootstart b/srcpkgs/66-boot/files/66-bootstart
new file mode 100644
index 00000000000..81d37211783
--- /dev/null
+++ b/srcpkgs/66-boot/files/66-bootstart
@@ -0,0 +1,2 @@
+#!/usr/bin/execlineb -P
+66-boot -b "Booting with 66-boot..." -m /run
diff --git a/srcpkgs/66-boot/files/tty@ b/srcpkgs/66-boot/files/tty@
new file mode 100644
index 00000000000..dcb2671922f
--- /dev/null
+++ b/srcpkgs/66-boot/files/tty@
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@description = "Launch @I"
+@user = ( root )
+@options = ( env )
+
+[start]
+@build = auto
+@execute = ( execl-cmdline -s { agetty ${cmd_args} @I } )
+
+[environment]
+cmd_args=!-J 38400
diff --git a/srcpkgs/66-boot/template b/srcpkgs/66-boot/template
new file mode 100644
index 00000000000..9b06d5ee767
--- /dev/null
+++ b/srcpkgs/66-boot/template
@@ -0,0 +1,24 @@
+# Template file for '66-boot'
+pkgname=66-boot
+_realpkgname=boot-66serv
+version=0.1.2.1
+revision=1
+archs="noarch"
+wrksrc=${_realpkgname}-v${version}
+build_style=gnu-configure
+makedepends="file"
+depends="s6 s6-rc s6-linux-utils s6-portable-utils 66 66-tools"
+short_desc="Stage 1 boot for 66"
+maintainer="Iskander Zemmouri <iskander.zemmouri@mailbox.org>"
+license="ISC"
+homepage="https://framagit.org/Obarun/boot-66serv"
+distfiles="https://framagit.org/Obarun/${_realpkgname}/-/archive/v${version}/${_realpkgname}-v${version}.tar.gz"
+checksum=508fb91de713664ba5244f5d50a9cde106ce03be63dad24e03bfa813f40af2ea
+conf_files="/etc/66/*.conf
+ /etc/66/rc.local"
+
+post_install() {
+	vinstall ${FILESDIR}/tty@ 644 usr/share/66/service/
+	vbin ${FILESDIR}/66-bootstart
+	vlicense LICENSE
+}

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

* Re: New package: 66-boot-0.1.2.1
  2020-04-19  4:44 [PR PATCH] New package: 66-boot-0.1.2.1 zenfailure
  2020-04-19 12:08 ` [PR PATCH] [Updated] " zenfailure
  2020-04-20  5:11 ` zenfailure
@ 2020-12-20  1:49 ` ericonr
  2021-02-16  6:00 ` ericonr
  2021-02-16  6:00 ` [PR PATCH] [Closed]: " ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2020-12-20  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21142#issuecomment-748551111

Comment:
@zenfailure do you agree with @mobinmob's changes in #25743 ? Would you consider that that PR supersedes this one?

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

* Re: New package: 66-boot-0.1.2.1
  2020-04-19  4:44 [PR PATCH] New package: 66-boot-0.1.2.1 zenfailure
                   ` (2 preceding siblings ...)
  2020-12-20  1:49 ` ericonr
@ 2021-02-16  6:00 ` ericonr
  2021-02-16  6:00 ` [PR PATCH] [Closed]: " ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-02-16  6:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21142#issuecomment-779603419

Comment:
Superseded by #25743 

Feel free to reopen if you disagree a lot with that, otherwise reviewing it would be of great help.

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

* Re: [PR PATCH] [Closed]: New package: 66-boot-0.1.2.1
  2020-04-19  4:44 [PR PATCH] New package: 66-boot-0.1.2.1 zenfailure
                   ` (3 preceding siblings ...)
  2021-02-16  6:00 ` ericonr
@ 2021-02-16  6:00 ` ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-02-16  6:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

There's a closed pull request on the void-packages repository

New package: 66-boot-0.1.2.1
https://github.com/void-linux/void-packages/pull/21142

Description:
66-boot packages obarun's boot-66serv, which, as its author puts it, is a portable set of 66 services that can boot unix machines successfully. The packaging just helps with transitioning from runit to s6/66. The package in itself does not replace any of /bin/init, /bin/reboot, /bin/poweroff, etc... It merely installs another shell script that servces as init at /bin/66-bootstart which can be used with an alternative init=/bin/66-bootstart kernel command line argument. The user is left with the responsability to organize its machine as he sees fit and should find the shutdown, reboot and halt scripts in the /etc/66/ directory. Symbolic links to those scripts could be added to the package's INSTALL.
66-boot doesn't offer any service frontend files either (with the exception of tty@ which is necessary and the boot bundle directory which 66-boot's init binary (which is called by the 66-bootstart script) uses.
Another package named 66-services should package a compilation of possible 66 frontend service files for most daemons, as it seems rather difficult to put each daemon's frontend file in its corresponding package.


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

end of thread, other threads:[~2021-02-16  6:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19  4:44 [PR PATCH] New package: 66-boot-0.1.2.1 zenfailure
2020-04-19 12:08 ` [PR PATCH] [Updated] " zenfailure
2020-04-20  5:11 ` zenfailure
2020-12-20  1:49 ` ericonr
2021-02-16  6:00 ` ericonr
2021-02-16  6:00 ` [PR PATCH] [Closed]: " ericonr

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).