WIP: #6 Basic image for a bootable os #13
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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 ))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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 = ""
|
||||||
|
|
||||||
|
|
|
||||||
11
meta-caros/recipes-extended/images/caros-image.bb
Normal file
11
meta-caros/recipes-extended/images/caros-image.bb
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user