gui running in qemu
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "FCB1010 Looper System Image"
|
||||
DESCRIPTION = "Minimal embedded Linux system with GUI for audio looper"
|
||||
|
||||
require recipes-core/images/core-image-base.bb
|
||||
|
||||
IMAGE_INSTALL += "\
|
||||
packagegroup-core-boot \
|
||||
gui-app \
|
||||
weston \
|
||||
weston-init \
|
||||
liberation-fonts \
|
||||
systemd \
|
||||
openssh \
|
||||
ssh-keys \
|
||||
${CORE_IMAGE_EXTRA_INSTALL} \
|
||||
"
|
||||
|
||||
# Optimize for embedded use
|
||||
IMAGE_FEATURES += "read-only-rootfs ssh-server-openssh"
|
||||
SYSTEMD_DEFAULT_TARGET = "graphical.target"
|
||||
|
||||
# Size optimization
|
||||
IMAGE_ROOTFS_SIZE ?= "1048576"
|
||||
IMAGE_OVERHEAD_FACTOR = "1.1"
|
||||
|
||||
# Image formats
|
||||
IMAGE_FSTYPES += "ext4 tar.bz2"
|
||||
|
||||
LICENSE = "MIT"
|
||||
@@ -13,7 +13,7 @@ do_compile[noexec] = "1"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${ROOT_HOME}/.ssh
|
||||
install -m 0600 ${UNPACKDIR}/authorized_keys ${D}${ROOT_HOME}/.ssh/authorized_keys
|
||||
install -m 0600 ${WORKDIR}/authorized_keys ${D}${ROOT_HOME}/.ssh/authorized_keys
|
||||
}
|
||||
|
||||
FILES:${PN} = "${ROOT_HOME}/.ssh/authorized_keys"
|
||||
|
||||
Reference in New Issue
Block a user