Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services
@ 2019-10-21 20:13 voidlinux-github
  2019-10-21 20:50 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-21 20:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc/void-packages runit-void
https://github.com/void-linux/void-packages/pull/15680

runit-void: add hvc0 and hvsi0 agetty services
This backports from the `void-runit` repo. It just adds these two default services to scratch my (and other people's) itches.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-runit-void-15680.patch --]
[-- Type: text/x-diff, Size: 4422 bytes --]

From a85468e9078442ed8479c7461c80b651ce0490b6 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 22:11:53 +0200
Subject: [PATCH] runit-void: add hvc0 and hvsi0 agetty services

---
 ...410e3381937f5b42a609884666c44a63d269.patch | 99 +++++++++++++++++++
 srcpkgs/runit-void/template                   |  2 +-
 2 files changed, 100 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch

diff --git a/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
new file mode 100644
index 00000000000..46f23cfc341
--- /dev/null
+++ b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
@@ -0,0 +1,99 @@
+From 7082410e3381937f5b42a609884666c44a63d269 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Sun, 20 Oct 2019 22:27:01 +0200
+Subject: [PATCH] services: add agetty services for hvc0 and hvsi0
+
+These are used for virtual terminal/serial console on some
+hypervisors (Xen) as well as many POWER based machines (the
+OPAL firmware emulates these for serial as the OS has no
+physical access to that).
+---
+ services/agetty-hvc0/conf       | 3 +++
+ services/agetty-hvc0/finish     | 1 +
+ services/agetty-hvc0/run        | 1 +
+ services/agetty-hvc0/supervise  | 1 +
+ services/agetty-hvsi0/conf      | 8 ++++++++
+ services/agetty-hvsi0/finish    | 1 +
+ services/agetty-hvsi0/run       | 1 +
+ services/agetty-hvsi0/supervise | 1 +
+ 8 files changed, 17 insertions(+)
+ create mode 100644 services/agetty-hvc0/conf
+ create mode 120000 services/agetty-hvc0/finish
+ create mode 120000 services/agetty-hvc0/run
+ create mode 120000 services/agetty-hvc0/supervise
+ create mode 100644 services/agetty-hvsi0/conf
+ create mode 120000 services/agetty-hvsi0/finish
+ create mode 120000 services/agetty-hvsi0/run
+ create mode 120000 services/agetty-hvsi0/supervise
+
+diff --git a/services/agetty-hvc0/conf b/services/agetty-hvc0/conf
+new file mode 100644
+index 0000000..ecf4f1e
+--- /dev/null
++++ services/agetty-hvc0/conf
+@@ -0,0 +1,3 @@
++GETTY_ARGS="-L"
++BAUD_RATE=9600
++TERM_NAME=vt100
+diff --git a/services/agetty-hvc0/finish b/services/agetty-hvc0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvc0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/run b/services/agetty-hvc0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvc0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/supervise b/services/agetty-hvc0/supervise
+new file mode 120000
+index 0000000..665ccf0
+--- /dev/null
++++ services/agetty-hvc0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvc0
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/conf b/services/agetty-hvsi0/conf
+new file mode 100644
+index 0000000..ec61b5f
+--- /dev/null
++++ services/agetty-hvsi0/conf
+@@ -0,0 +1,8 @@
++GETTY_ARGS="-L"
++if [ -x /sbin/agetty -o -x /bin/agetty ]; then
++	# util-linux specific settings
++	GETTY_ARGS="${GETTY_ARGS} -8"
++fi
++
++BAUD_RATE=19200
++TERM_NAME=vt100
+diff --git a/services/agetty-hvsi0/finish b/services/agetty-hvsi0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvsi0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/run b/services/agetty-hvsi0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvsi0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/supervise b/services/agetty-hvsi0/supervise
+new file mode 120000
+index 0000000..7dd4fb6
+--- /dev/null
++++ services/agetty-hvsi0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvsi0
+\ No newline at end of file
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 52199f0f912..aaf3d13624c 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,7 +1,7 @@
 # Template file for 'runit-void'
 pkgname=runit-void
 version=20190906
-revision=1
+revision=2
 wrksrc="void-runit-${version}"
 build_style=gnu-makefile
 homepage="https://github.com/void-linux/void-runit"

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

* Re: [PR PATCH] [Updated] runit-void: add hvc0 and hvsi0 agetty services
  2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
  2019-10-21 20:50 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-21 20:50 ` voidlinux-github
  2019-10-21 22:51 ` voidlinux-github
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-21 20:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc/void-packages runit-void
https://github.com/void-linux/void-packages/pull/15680

runit-void: add hvc0 and hvsi0 agetty services
This backports from the `void-runit` repo. It just adds these two default services to scratch my (and other people's) itches.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-runit-void-15680.patch --]
[-- Type: text/x-diff, Size: 4748 bytes --]

From c08f0b51238bf26ac77986bd4ee988c4ed1422cf Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 22:11:53 +0200
Subject: [PATCH] runit-void: add hvc0 and hvsi0 agetty services

---
 ...410e3381937f5b42a609884666c44a63d269.patch | 99 +++++++++++++++++++
 srcpkgs/runit-void/template                   |  4 +-
 2 files changed, 101 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch

diff --git a/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
new file mode 100644
index 00000000000..46f23cfc341
--- /dev/null
+++ b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
@@ -0,0 +1,99 @@
+From 7082410e3381937f5b42a609884666c44a63d269 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Sun, 20 Oct 2019 22:27:01 +0200
+Subject: [PATCH] services: add agetty services for hvc0 and hvsi0
+
+These are used for virtual terminal/serial console on some
+hypervisors (Xen) as well as many POWER based machines (the
+OPAL firmware emulates these for serial as the OS has no
+physical access to that).
+---
+ services/agetty-hvc0/conf       | 3 +++
+ services/agetty-hvc0/finish     | 1 +
+ services/agetty-hvc0/run        | 1 +
+ services/agetty-hvc0/supervise  | 1 +
+ services/agetty-hvsi0/conf      | 8 ++++++++
+ services/agetty-hvsi0/finish    | 1 +
+ services/agetty-hvsi0/run       | 1 +
+ services/agetty-hvsi0/supervise | 1 +
+ 8 files changed, 17 insertions(+)
+ create mode 100644 services/agetty-hvc0/conf
+ create mode 120000 services/agetty-hvc0/finish
+ create mode 120000 services/agetty-hvc0/run
+ create mode 120000 services/agetty-hvc0/supervise
+ create mode 100644 services/agetty-hvsi0/conf
+ create mode 120000 services/agetty-hvsi0/finish
+ create mode 120000 services/agetty-hvsi0/run
+ create mode 120000 services/agetty-hvsi0/supervise
+
+diff --git a/services/agetty-hvc0/conf b/services/agetty-hvc0/conf
+new file mode 100644
+index 0000000..ecf4f1e
+--- /dev/null
++++ services/agetty-hvc0/conf
+@@ -0,0 +1,3 @@
++GETTY_ARGS="-L"
++BAUD_RATE=9600
++TERM_NAME=vt100
+diff --git a/services/agetty-hvc0/finish b/services/agetty-hvc0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvc0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/run b/services/agetty-hvc0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvc0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/supervise b/services/agetty-hvc0/supervise
+new file mode 120000
+index 0000000..665ccf0
+--- /dev/null
++++ services/agetty-hvc0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvc0
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/conf b/services/agetty-hvsi0/conf
+new file mode 100644
+index 0000000..ec61b5f
+--- /dev/null
++++ services/agetty-hvsi0/conf
+@@ -0,0 +1,8 @@
++GETTY_ARGS="-L"
++if [ -x /sbin/agetty -o -x /bin/agetty ]; then
++	# util-linux specific settings
++	GETTY_ARGS="${GETTY_ARGS} -8"
++fi
++
++BAUD_RATE=19200
++TERM_NAME=vt100
+diff --git a/services/agetty-hvsi0/finish b/services/agetty-hvsi0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvsi0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/run b/services/agetty-hvsi0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvsi0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/supervise b/services/agetty-hvsi0/supervise
+new file mode 120000
+index 0000000..7dd4fb6
+--- /dev/null
++++ services/agetty-hvsi0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvsi0
+\ No newline at end of file
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 52199f0f912..c137696e703 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,13 +1,13 @@
 # Template file for 'runit-void'
 pkgname=runit-void
 version=20190906
-revision=1
+revision=2
 wrksrc="void-runit-${version}"
 build_style=gnu-makefile
-homepage="https://github.com/void-linux/void-runit"
 short_desc="Void Linux runit scripts"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Public Domain"
+homepage="https://github.com/void-linux/void-runit"
 distfiles="https://github.com/void-linux/void-runit/archive/${version}.tar.gz"
 checksum=9e1027c07124ff4efad63bef74b9f1ae0659e43f9d4e7cfde996be271706570c
 

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

* Re: [PR PATCH] [Updated] runit-void: add hvc0 and hvsi0 agetty services
  2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
@ 2019-10-21 20:50 ` voidlinux-github
  2019-10-21 20:50 ` voidlinux-github
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-21 20:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc/void-packages runit-void
https://github.com/void-linux/void-packages/pull/15680

runit-void: add hvc0 and hvsi0 agetty services
This backports from the `void-runit` repo. It just adds these two default services to scratch my (and other people's) itches.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-runit-void-15680.patch --]
[-- Type: text/x-diff, Size: 4748 bytes --]

From c08f0b51238bf26ac77986bd4ee988c4ed1422cf Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 22:11:53 +0200
Subject: [PATCH] runit-void: add hvc0 and hvsi0 agetty services

---
 ...410e3381937f5b42a609884666c44a63d269.patch | 99 +++++++++++++++++++
 srcpkgs/runit-void/template                   |  4 +-
 2 files changed, 101 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch

diff --git a/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
new file mode 100644
index 00000000000..46f23cfc341
--- /dev/null
+++ b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
@@ -0,0 +1,99 @@
+From 7082410e3381937f5b42a609884666c44a63d269 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Sun, 20 Oct 2019 22:27:01 +0200
+Subject: [PATCH] services: add agetty services for hvc0 and hvsi0
+
+These are used for virtual terminal/serial console on some
+hypervisors (Xen) as well as many POWER based machines (the
+OPAL firmware emulates these for serial as the OS has no
+physical access to that).
+---
+ services/agetty-hvc0/conf       | 3 +++
+ services/agetty-hvc0/finish     | 1 +
+ services/agetty-hvc0/run        | 1 +
+ services/agetty-hvc0/supervise  | 1 +
+ services/agetty-hvsi0/conf      | 8 ++++++++
+ services/agetty-hvsi0/finish    | 1 +
+ services/agetty-hvsi0/run       | 1 +
+ services/agetty-hvsi0/supervise | 1 +
+ 8 files changed, 17 insertions(+)
+ create mode 100644 services/agetty-hvc0/conf
+ create mode 120000 services/agetty-hvc0/finish
+ create mode 120000 services/agetty-hvc0/run
+ create mode 120000 services/agetty-hvc0/supervise
+ create mode 100644 services/agetty-hvsi0/conf
+ create mode 120000 services/agetty-hvsi0/finish
+ create mode 120000 services/agetty-hvsi0/run
+ create mode 120000 services/agetty-hvsi0/supervise
+
+diff --git a/services/agetty-hvc0/conf b/services/agetty-hvc0/conf
+new file mode 100644
+index 0000000..ecf4f1e
+--- /dev/null
++++ services/agetty-hvc0/conf
+@@ -0,0 +1,3 @@
++GETTY_ARGS="-L"
++BAUD_RATE=9600
++TERM_NAME=vt100
+diff --git a/services/agetty-hvc0/finish b/services/agetty-hvc0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvc0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/run b/services/agetty-hvc0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvc0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/supervise b/services/agetty-hvc0/supervise
+new file mode 120000
+index 0000000..665ccf0
+--- /dev/null
++++ services/agetty-hvc0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvc0
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/conf b/services/agetty-hvsi0/conf
+new file mode 100644
+index 0000000..ec61b5f
+--- /dev/null
++++ services/agetty-hvsi0/conf
+@@ -0,0 +1,8 @@
++GETTY_ARGS="-L"
++if [ -x /sbin/agetty -o -x /bin/agetty ]; then
++	# util-linux specific settings
++	GETTY_ARGS="${GETTY_ARGS} -8"
++fi
++
++BAUD_RATE=19200
++TERM_NAME=vt100
+diff --git a/services/agetty-hvsi0/finish b/services/agetty-hvsi0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvsi0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/run b/services/agetty-hvsi0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvsi0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/supervise b/services/agetty-hvsi0/supervise
+new file mode 120000
+index 0000000..7dd4fb6
+--- /dev/null
++++ services/agetty-hvsi0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvsi0
+\ No newline at end of file
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 52199f0f912..c137696e703 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,13 +1,13 @@
 # Template file for 'runit-void'
 pkgname=runit-void
 version=20190906
-revision=1
+revision=2
 wrksrc="void-runit-${version}"
 build_style=gnu-makefile
-homepage="https://github.com/void-linux/void-runit"
 short_desc="Void Linux runit scripts"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Public Domain"
+homepage="https://github.com/void-linux/void-runit"
 distfiles="https://github.com/void-linux/void-runit/archive/${version}.tar.gz"
 checksum=9e1027c07124ff4efad63bef74b9f1ae0659e43f9d4e7cfde996be271706570c
 

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

* Re: [PR PATCH] [Updated] runit-void: add hvc0 and hvsi0 agetty services
  2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
  2019-10-21 20:50 ` [PR PATCH] [Updated] " voidlinux-github
  2019-10-21 20:50 ` voidlinux-github
@ 2019-10-21 22:51 ` voidlinux-github
  2019-10-21 22:51 ` voidlinux-github
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-21 22:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc/void-packages runit-void
https://github.com/void-linux/void-packages/pull/15680

runit-void: add hvc0 and hvsi0 agetty services
This backports from the `void-runit` repo. It just adds these two default services to scratch my (and other people's) itches.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-runit-void-15680.patch --]
[-- Type: text/x-diff, Size: 4767 bytes --]

From c4b1aec9cccb3cdb8bf0c3a82e97f755dd67a31d Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 22:11:53 +0200
Subject: [PATCH] runit-void: add hvc0 and hvsi0 agetty services

---
 ...410e3381937f5b42a609884666c44a63d269.patch | 99 +++++++++++++++++++
 srcpkgs/runit-void/template                   |  6 +-
 2 files changed, 102 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch

diff --git a/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
new file mode 100644
index 00000000000..46f23cfc341
--- /dev/null
+++ b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
@@ -0,0 +1,99 @@
+From 7082410e3381937f5b42a609884666c44a63d269 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Sun, 20 Oct 2019 22:27:01 +0200
+Subject: [PATCH] services: add agetty services for hvc0 and hvsi0
+
+These are used for virtual terminal/serial console on some
+hypervisors (Xen) as well as many POWER based machines (the
+OPAL firmware emulates these for serial as the OS has no
+physical access to that).
+---
+ services/agetty-hvc0/conf       | 3 +++
+ services/agetty-hvc0/finish     | 1 +
+ services/agetty-hvc0/run        | 1 +
+ services/agetty-hvc0/supervise  | 1 +
+ services/agetty-hvsi0/conf      | 8 ++++++++
+ services/agetty-hvsi0/finish    | 1 +
+ services/agetty-hvsi0/run       | 1 +
+ services/agetty-hvsi0/supervise | 1 +
+ 8 files changed, 17 insertions(+)
+ create mode 100644 services/agetty-hvc0/conf
+ create mode 120000 services/agetty-hvc0/finish
+ create mode 120000 services/agetty-hvc0/run
+ create mode 120000 services/agetty-hvc0/supervise
+ create mode 100644 services/agetty-hvsi0/conf
+ create mode 120000 services/agetty-hvsi0/finish
+ create mode 120000 services/agetty-hvsi0/run
+ create mode 120000 services/agetty-hvsi0/supervise
+
+diff --git a/services/agetty-hvc0/conf b/services/agetty-hvc0/conf
+new file mode 100644
+index 0000000..ecf4f1e
+--- /dev/null
++++ services/agetty-hvc0/conf
+@@ -0,0 +1,3 @@
++GETTY_ARGS="-L"
++BAUD_RATE=9600
++TERM_NAME=vt100
+diff --git a/services/agetty-hvc0/finish b/services/agetty-hvc0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvc0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/run b/services/agetty-hvc0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvc0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/supervise b/services/agetty-hvc0/supervise
+new file mode 120000
+index 0000000..665ccf0
+--- /dev/null
++++ services/agetty-hvc0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvc0
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/conf b/services/agetty-hvsi0/conf
+new file mode 100644
+index 0000000..ec61b5f
+--- /dev/null
++++ services/agetty-hvsi0/conf
+@@ -0,0 +1,8 @@
++GETTY_ARGS="-L"
++if [ -x /sbin/agetty -o -x /bin/agetty ]; then
++	# util-linux specific settings
++	GETTY_ARGS="${GETTY_ARGS} -8"
++fi
++
++BAUD_RATE=19200
++TERM_NAME=vt100
+diff --git a/services/agetty-hvsi0/finish b/services/agetty-hvsi0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvsi0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/run b/services/agetty-hvsi0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvsi0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/supervise b/services/agetty-hvsi0/supervise
+new file mode 120000
+index 0000000..7dd4fb6
+--- /dev/null
++++ services/agetty-hvsi0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvsi0
+\ No newline at end of file
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 52199f0f912..3d834128658 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,13 +1,13 @@
 # Template file for 'runit-void'
 pkgname=runit-void
 version=20190906
-revision=1
+revision=2
 wrksrc="void-runit-${version}"
 build_style=gnu-makefile
-homepage="https://github.com/void-linux/void-runit"
 short_desc="Void Linux runit scripts"
 maintainer="Enno Boland <gottox@voidlinux.org>"
-license="Public Domain"
+license="CC0-1.0"
+homepage="https://github.com/void-linux/void-runit"
 distfiles="https://github.com/void-linux/void-runit/archive/${version}.tar.gz"
 checksum=9e1027c07124ff4efad63bef74b9f1ae0659e43f9d4e7cfde996be271706570c
 

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

* Re: [PR PATCH] [Updated] runit-void: add hvc0 and hvsi0 agetty services
  2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-21 22:51 ` voidlinux-github
@ 2019-10-21 22:51 ` voidlinux-github
  2019-10-21 22:51 ` voidlinux-github
  2019-10-24 12:02 ` [PR PATCH] [Merged]: runit-void: add hvc0 and hvsi0 agetty services + fix license voidlinux-github
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-21 22:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc/void-packages runit-void
https://github.com/void-linux/void-packages/pull/15680

runit-void: add hvc0 and hvsi0 agetty services
This backports from the `void-runit` repo. It just adds these two default services to scratch my (and other people's) itches.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-runit-void-15680.patch --]
[-- Type: text/x-diff, Size: 4767 bytes --]

From c4b1aec9cccb3cdb8bf0c3a82e97f755dd67a31d Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 22:11:53 +0200
Subject: [PATCH] runit-void: add hvc0 and hvsi0 agetty services

---
 ...410e3381937f5b42a609884666c44a63d269.patch | 99 +++++++++++++++++++
 srcpkgs/runit-void/template                   |  6 +-
 2 files changed, 102 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch

diff --git a/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
new file mode 100644
index 00000000000..46f23cfc341
--- /dev/null
+++ b/srcpkgs/runit-void/patches/7082410e3381937f5b42a609884666c44a63d269.patch
@@ -0,0 +1,99 @@
+From 7082410e3381937f5b42a609884666c44a63d269 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Sun, 20 Oct 2019 22:27:01 +0200
+Subject: [PATCH] services: add agetty services for hvc0 and hvsi0
+
+These are used for virtual terminal/serial console on some
+hypervisors (Xen) as well as many POWER based machines (the
+OPAL firmware emulates these for serial as the OS has no
+physical access to that).
+---
+ services/agetty-hvc0/conf       | 3 +++
+ services/agetty-hvc0/finish     | 1 +
+ services/agetty-hvc0/run        | 1 +
+ services/agetty-hvc0/supervise  | 1 +
+ services/agetty-hvsi0/conf      | 8 ++++++++
+ services/agetty-hvsi0/finish    | 1 +
+ services/agetty-hvsi0/run       | 1 +
+ services/agetty-hvsi0/supervise | 1 +
+ 8 files changed, 17 insertions(+)
+ create mode 100644 services/agetty-hvc0/conf
+ create mode 120000 services/agetty-hvc0/finish
+ create mode 120000 services/agetty-hvc0/run
+ create mode 120000 services/agetty-hvc0/supervise
+ create mode 100644 services/agetty-hvsi0/conf
+ create mode 120000 services/agetty-hvsi0/finish
+ create mode 120000 services/agetty-hvsi0/run
+ create mode 120000 services/agetty-hvsi0/supervise
+
+diff --git a/services/agetty-hvc0/conf b/services/agetty-hvc0/conf
+new file mode 100644
+index 0000000..ecf4f1e
+--- /dev/null
++++ services/agetty-hvc0/conf
+@@ -0,0 +1,3 @@
++GETTY_ARGS="-L"
++BAUD_RATE=9600
++TERM_NAME=vt100
+diff --git a/services/agetty-hvc0/finish b/services/agetty-hvc0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvc0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/run b/services/agetty-hvc0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvc0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvc0/supervise b/services/agetty-hvc0/supervise
+new file mode 120000
+index 0000000..665ccf0
+--- /dev/null
++++ services/agetty-hvc0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvc0
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/conf b/services/agetty-hvsi0/conf
+new file mode 100644
+index 0000000..ec61b5f
+--- /dev/null
++++ services/agetty-hvsi0/conf
+@@ -0,0 +1,8 @@
++GETTY_ARGS="-L"
++if [ -x /sbin/agetty -o -x /bin/agetty ]; then
++	# util-linux specific settings
++	GETTY_ARGS="${GETTY_ARGS} -8"
++fi
++
++BAUD_RATE=19200
++TERM_NAME=vt100
+diff --git a/services/agetty-hvsi0/finish b/services/agetty-hvsi0/finish
+new file mode 120000
+index 0000000..ad464cb
+--- /dev/null
++++ services/agetty-hvsi0/finish
+@@ -0,0 +1 @@
++../agetty-generic/finish
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/run b/services/agetty-hvsi0/run
+new file mode 120000
+index 0000000..ffa62a5
+--- /dev/null
++++ services/agetty-hvsi0/run
+@@ -0,0 +1 @@
++../agetty-serial/run
+\ No newline at end of file
+diff --git a/services/agetty-hvsi0/supervise b/services/agetty-hvsi0/supervise
+new file mode 120000
+index 0000000..7dd4fb6
+--- /dev/null
++++ services/agetty-hvsi0/supervise
+@@ -0,0 +1 @@
++/run/runit/supervise.agetty-hvsi0
+\ No newline at end of file
diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template
index 52199f0f912..3d834128658 100644
--- a/srcpkgs/runit-void/template
+++ b/srcpkgs/runit-void/template
@@ -1,13 +1,13 @@
 # Template file for 'runit-void'
 pkgname=runit-void
 version=20190906
-revision=1
+revision=2
 wrksrc="void-runit-${version}"
 build_style=gnu-makefile
-homepage="https://github.com/void-linux/void-runit"
 short_desc="Void Linux runit scripts"
 maintainer="Enno Boland <gottox@voidlinux.org>"
-license="Public Domain"
+license="CC0-1.0"
+homepage="https://github.com/void-linux/void-runit"
 distfiles="https://github.com/void-linux/void-runit/archive/${version}.tar.gz"
 checksum=9e1027c07124ff4efad63bef74b9f1ae0659e43f9d4e7cfde996be271706570c
 

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

* Re: runit-void: add hvc0 and hvsi0 agetty services
  2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-21 22:51 ` voidlinux-github
@ 2019-10-21 22:51 ` voidlinux-github
  2019-10-24 12:02 ` [PR PATCH] [Merged]: runit-void: add hvc0 and hvsi0 agetty services + fix license voidlinux-github
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-21 22:51 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15680#issuecomment-544741237

Comment:
Also fixed the license. The README states http://creativecommons.org/publicdomain/zero/1.0/ so I set it to CC0-1.0.

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

* Re: [PR PATCH] [Merged]: runit-void: add hvc0 and hvsi0 agetty services + fix license
  2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
                   ` (4 preceding siblings ...)
  2019-10-21 22:51 ` voidlinux-github
@ 2019-10-24 12:02 ` voidlinux-github
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-10-24 12:02 UTC (permalink / raw)
  To: ml

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

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

runit-void: add hvc0 and hvsi0 agetty services + fix license
https://github.com/void-linux/void-packages/pull/15680

Description:
This backports from the `void-runit` repo. It just adds these two default services to scratch my (and other people's) itches.

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

end of thread, other threads:[~2019-10-24 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 20:13 [PR PATCH] runit-void: add hvc0 and hvsi0 agetty services voidlinux-github
2019-10-21 20:50 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-21 20:50 ` voidlinux-github
2019-10-21 22:51 ` voidlinux-github
2019-10-21 22:51 ` voidlinux-github
2019-10-21 22:51 ` voidlinux-github
2019-10-24 12:02 ` [PR PATCH] [Merged]: runit-void: add hvc0 and hvsi0 agetty services + fix license voidlinux-github

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