feat: configure SSH access

This commit is contained in:
2026-11-07 00:22:54 +01:00
parent c4659eba8a
commit e3a313b0d7
6 changed files with 27 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
PermitRootLogin yes
PasswordAuthentication no

View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILd0QCw/4QPUFU9GISk7y/l+qJ6NSuHf5CQANj928idJ mikee@Mikee

View File

@@ -1,3 +0,0 @@
#!/bin/bash
SLINT_BACKEND=linuxkms RUST_BACKTRACE=full /usr/bin/winf-photobooth-app 2>log

View File

@@ -0,0 +1,20 @@
#!/bin/sh
# BEGIN: board/pc/post-build.sh
set -e
BOARD_DIR=$(dirname "$0")
# Detect boot strategy, EFI or BIOS
if [ -d "$BINARIES_DIR/efi-part/" ]; then
cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
else
cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg"
# Copy grub 1st stage to binaries, required for genimage
cp -f "$TARGET_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR"
fi
# END: board/pc/post-build.sh
sed -i '1s;^;Include /etc/ssh/sshd_config.d/*.conf\n;' $TARGET_DIR/etc/ssh/sshd_config