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 \
    wifi-config \
    ${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 wic"

# Custom WIC file without swap
WKS_FILE = "fcb-looper-noswap.wks"

LICENSE = "MIT"