This commit is contained in:
2025-07-02 19:14:37 +02:00
parent f30d31a24f
commit 515f8ed36c
5 changed files with 63 additions and 3 deletions

View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINue5q76BNrHp4aFL4SHKxwK0QojS4J4z65kH7HF7iWQ fcb-looper-key

View File

@@ -0,0 +1,20 @@
SUMMARY = "SSH public key installation"
DESCRIPTION = "Installs SSH public key for root user"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit allarch
SRC_URI = "file://authorized_keys"
# Since we're not unpacking source code, just copying files
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
install -d ${D}${ROOT_HOME}/.ssh
install -m 0600 ${UNPACKDIR}/authorized_keys ${D}${ROOT_HOME}/.ssh/authorized_keys
}
FILES:${PN} = "${ROOT_HOME}/.ssh/authorized_keys"
RDEPENDS:${PN} = "openssh"