Skip to content

Commit

Permalink
build(vm): bullseye
Browse files Browse the repository at this point in the history
  • Loading branch information
2moe committed Apr 9, 2024
1 parent f893a4c commit b2e6b99
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 35 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/vm-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ env:
new_task: "tmux new-session -d"
#
# sid:
RELEASE_TAG: unstable
CODENAME: sid
ROOTFS_REPO: "debian-sid:"
# RELEASE_TAG: unstable
# CODENAME: sid
# ROOTFS_REPO: "debian-sid:"
#
# bookworm:
# RELEASE_TAG: 12
# CODENAME: "bookworm"
# ROOTFS_REPO: "debian:bookworm-"
RELEASE_TAG: 12
CODENAME: "bookworm"
ROOTFS_REPO: "debian:bookworm-"
on:
# schedule:
# - cron: "0 11 28 */2 *"
Expand All @@ -43,16 +43,10 @@ jobs:
tty: ttyS0
net: enp0s2

# - arch: rv64gc
# deb_arch: riscv64
# qemu_pkg_arch: misc
# tty: ttyS0
# net: eth0

runs-on: ubuntu-latest
env:
# non_x86: ${{ !contains(fromJSON('["x64", "x86"]'), matrix.arch) }}
enable_efi: ${{ contains(fromJSON('["arm64", "loong64"]'), matrix.arch) }}
enable_efi: ${{ contains(fromJSON('["arm64", "loong64", "rv64gc"]'), matrix.arch) }}

defaults:
run:
Expand Down
45 changes: 23 additions & 22 deletions .github/workflows/vm-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ env:
SSH_VM: "ssh -F ssh/vm.sshconf vm"
#
#
RELEASE_TAG: unstable
CODENAME: sid
ROOTFS_REPO: "debian-sid:"
# RELEASE_TAG: unstable
# CODENAME: sid
# ROOTFS_REPO: "debian-sid:"

#
# RELEASE_TAG: 12
# CODENAME: "bookworm"
# ROOTFS_REPO: "debian:bookworm-"
#
# #
# RELEASE_TAG: 11
# CODENAME: "bullseye"
# ROOTFS_REPO: "debian:bullseye-"
RELEASE_TAG: 11
CODENAME: "bullseye"
ROOTFS_REPO: "debian:bullseye-"
#
#
# RELEASE_TAG: 10
Expand All @@ -43,17 +43,17 @@ jobs:
matrix:
include:
# SID:
- arch: rv64gc
deb_arch: riscv64
qemu_pkg_arch: misc
tty: ttyS0
net: eth0
# - arch: rv64gc
# deb_arch: riscv64
# qemu_pkg_arch: misc
# tty: ttyS0
# net: eth0

- arch: loong64
deb_arch: loong64
qemu_pkg_arch: misc
tty: ttyS0
net: enp0s1
# - arch: loong64
# deb_arch: loong64
# qemu_pkg_arch: misc
# tty: ttyS0
# net: enp0s1
# # ------------------
- arch: arm64
deb_arch: arm64
Expand Down Expand Up @@ -99,11 +99,11 @@ jobs:
net: enp0s3
# ------------------------
# BOOKWORM
# - arch: mipsle
# deb_arch: mipsel
# qemu_pkg_arch: mips
# tty: ttyS0
# net: enp0s18
- arch: mipsle
deb_arch: mipsel
qemu_pkg_arch: mips
tty: ttyS0
net: enp0s18

runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -403,7 +403,8 @@ jobs:
tty_service=/etc/systemd/system/serial-getty@${tty_serial}.service
cp $tty_tmpl $tty_service
sed -E '/ExecStart=/ s@(\%I|-) \$TERM$@--autologin root --local-line \1 xterm@' $tty_service
sed -E '/ExecStart=/ s@(%I|-) \$TERM$@--autologin root --local-line \1 xterm@' -i $tty_service
cat $tty_service
systemctl disable systemd-networkd-wait-online.service
systemctl set-default multi-user.target
Expand Down

0 comments on commit b2e6b99

Please sign in to comment.