Skip to content

Commit 7ad44eb

Browse files
author
teldra
committed
New package: boot-66serv-2.1.0
based on #21142
1 parent 90ca91d commit 7ad44eb

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

srcpkgs/boot-66serv/files/66

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/execlineb -P
2+
66-boot -b "Booting with 66-boot..." -m /run

srcpkgs/boot-66serv/files/tty@

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[main]
2+
@type = classic
3+
@version = @vers@
4+
@description = "Launch @I"
5+
@user = ( root )
6+
@options = ( env )
7+
8+
[start]
9+
@execute = (execl-cmdline -s { agetty ${cmd_args} @I })
10+
11+
[environment]
12+
cmd_args=!-J 38400

srcpkgs/boot-66serv/template

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Template file for 'boot-66serv'
2+
pkgname=boot-66serv
3+
version=2.1.0
4+
revision=1
5+
archs="noarch"
6+
wrksrc=${pkgname}-v${version}
7+
build_style=gnu-configure
8+
makedepends="file"
9+
depends="s6 s6-rc s6-linux-utils s6-portable-utils 66 66-tools"
10+
short_desc="Stage 1 boot for 66"
11+
maintainer="teldra <teldra@rotce.de>"
12+
license="ISC"
13+
homepage="https://framagit.org/Obarun/boot-66serv"
14+
distfiles="https://framagit.org/Obarun/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
15+
checksum=6cf417a7eb5bcac152480f9a76711b06289ae672d1da7d36dc8186a6eef04235
16+
conf_files="/etc/66/rc.local"
17+
18+
post_install() {
19+
vsed -i "s/@vers@/${version}/" ${FILESDIR}/tty@
20+
vinstall ${FILESDIR}/tty@ 644 usr/share/66/service/
21+
vbin ${FILESDIR}/66
22+
vlicense LICENSE
23+
}

0 commit comments

Comments
 (0)