SUMMARY = "Yerba Linux image" LICENSE = "MIT" inherit core-image extrausers IMAGE_FEATURES += "ssh-server-dropbear" # Add doas to the list later when i feel like making a recipe IMAGE_INSTALL = "\ packagegroup-core-boot \ packagegroup-core-base-utils \ ${CORE_IMAGE_EXTRA_INSTALL} \ runit \ runit-serialgetty \ runit-config \ bash \ zsh \ " EXTRA_USERS_PARAMS = "\ groupadd storage; \ useradd -p '' -s /bin/zsh yerba; \ usermod -aG wheel,audio,video,storage yerba; \ " do_image_post:append() { install -d ${IMAGE_ROOTFS}/home/yerba chown 1000:1000 ${IMAGE_ROOTFS}/home/yerba # Do this later because i cant be bothered to make a doas recipe atm # echo "permit :wheel" > ${IMAGE_ROOTFS}/etc/doas.conf # chmod 0640 ${IMAGE_ROOTFS}/etc/doas.conf echo "Welcome to Yerba Linux" > ${IMAGE_ROOTFS}/etc/motd }