Skip to content

Commit f2d6456

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

6 files changed

Lines changed: 55 additions & 0 deletions

File tree

srcpkgs/66-boot/INSTALL

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
if [ "$UPDATE" = "no" ]; then
2+
case "${ACTION}" in
3+
post)
4+
66-tree -n boot
5+
66-enable -t boot boot@system
6+
66-tree -ncE default
7+
66-enable -t default tty@tty1 tty@tty2 tty@tty3 tty@tty4
8+
;;
9+
esac
10+
fi

srcpkgs/66-boot/INSTALL.msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
To boot with 66, simply add the argument `init=/usr/bin/66' to your kernel commandline.

srcpkgs/66-boot/REMOVE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
case "${ACTION}" in
2+
post)
3+
66-tree -R boot
4+
66-tree -R default
5+
;;
6+
esac

srcpkgs/66-boot/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/66-boot/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 = 2.1.0
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/66-boot/template

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

0 commit comments

Comments
 (0)