Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions srcpkgs/66-boot/INSTALL
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions srcpkgs/66-boot/INSTALL.msg
Original file line number Diff line number Diff line change
@@ -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'.
6 changes: 6 additions & 0 deletions srcpkgs/66-boot/REMOVE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
case "${ACTION}" in
post)
66-tree -R boot
66-tree -R default
;;
esac
2 changes: 2 additions & 0 deletions srcpkgs/66-boot/files/66-bootstart
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/execlineb -P
66-boot -b "Booting with 66-boot..." -m /run
12 changes: 12 additions & 0 deletions srcpkgs/66-boot/files/tty@
Original file line number Diff line number Diff line change
@@ -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
24 changes: 24 additions & 0 deletions srcpkgs/66-boot/template
Original file line number Diff line number Diff line change
@@ -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
}