WIP: #6 Basic image for a bootable os #13

Draft
Tripple_Trabble wants to merge 9 commits from ln/6-minimal-yocto-image into master
5 changed files with 22 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<default sync-j="4" /> <default sync-j="4" />
<!-- remotes --> <!-- remotes -->
<remote name="caros" fetch="https://git.larsniesen.de/caros" /> <remote name="caros" fetch="https://git.larsniesen.de/CaROS" />
<!-- layers --> <!-- layers -->
<project remote="caros" <project remote="caros"

View File

@ -14,7 +14,6 @@ YOCTO_WORKDIR="/opt/${YOCTO_USER}"
[[ -d "$PWD"/sstate-cache ]] || mkdir "$PWD"/sstate-cache [[ -d "$PWD"/sstate-cache ]] || mkdir "$PWD"/sstate-cache
subgidSize=$(( $(podman info --format "{{ range .Host.IDMappings.GIDMap }}+{{.Size }}{{end }}" ) - 1 )) subgidSize=$(( $(podman info --format "{{ range .Host.IDMappings.GIDMap }}+{{.Size }}{{end }}" ) - 1 ))
subuidSize=$(( $(podman info --format "{{ range .Host.IDMappings.UIDMap }}+{{.Size }}{{end }}" ) - 1 )) subuidSize=$(( $(podman info --format "{{ range .Host.IDMappings.UIDMap }}+{{.Size }}{{end }}" ) - 1 ))

View File

@ -15,4 +15,4 @@ MAINTAINER = "Lars Niesen <lars.niesen@gmx.de>"
TARGET_VENDOR = "-caros" TARGET_VENDOR = "-caros"
DISTRO_FEATURES ?= "" DISTRO_FEATURES += "wayland systemd usbgadget usbhost selinux"

View File

@ -3,3 +3,12 @@
######################### #########################
PREFERRED_VERSION_linux-yocto ?= "5.15%" PREFERRED_VERSION_linux-yocto ?= "5.15%"
PREFERRED_VERSION_linux-yocto-rt ?= "5.15%" PREFERRED_VERSION_linux-yocto-rt ?= "5.15%"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_dev_manager = "udev"
VIRTUAL-RUNTIME_base-utils = "coreutils"
VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
VIRTUAL-RUNTIME_base-utils-syslog = "util-linux-syslog"
VIRTUAL-RUNTIME_login_manager = "shadow-base"
VIRTUAL-RUNTIME_initscripts = ""

View File

@ -0,0 +1,11 @@
DESCRIPTION = "CaROS full image"
IMAGE_FEATURES += "splash ssh-server-openssh"
IMAGE_INSTALL = "\
packagegroup-core-boot \
packagegroup-core-full-cmdline \
${CORE_IMAGE_EXTRA_INSTALL} \
"
inherit core-image