Created new fcb-looper-image.bb

This commit is contained in:
2025-07-31 19:29:34 +02:00
parent 40ae7a8412
commit d64fb0a511
4 changed files with 54 additions and 41 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 ${WORKDIR}/authorized_keys ${D}${ROOT_HOME}/.ssh/authorized_keys
}
FILES:${PN} = "${ROOT_HOME}/.ssh/authorized_keys"
RDEPENDS:${PN} = "openssh"