Compare commits

...

9 Commits

Author SHA1 Message Date
d3f99a1753
base image on fullcmd line 2023-09-23 20:50:13 +02:00
0280cc012f
Fix rebase 2023-09-23 20:39:11 +02:00
9c0575e3d0
add distro features and disable busybox 2023-09-23 20:39:11 +02:00
28bb810892
fix spelling 2023-09-23 20:39:11 +02:00
5ec6b8fc4b
first basic image idea 2023-09-23 20:39:11 +02:00
a3b12636e5
Implement basic yocto build setup based on protos from jhnc-oss 2023-09-23 20:39:11 +02:00
d46a247d57
Implement basic yocto build setup based on protos from jhnc-oss 2023-09-23 20:39:09 +02:00
d6084f2ed8 !21 Change repos to fixed srcrev
This commit changes the repository from HEAD to a fixed commit
hash to prevent accidental updates when a meta-* layer changes.
2023-09-23 15:45:08 +00:00
bd2e7c5319
!26 Add upstream changes to UID and GID
The container upstream changed the internal UID and GID
which causes the boostrap script to create wrong mappings
2023-09-23 17:40:08 +02:00
5 changed files with 29 additions and 9 deletions

View File

@ -5,28 +5,28 @@
<default sync-j="4" />
<!-- remotes -->
<remote name="caros" fetch="https://git.larsniesen.de/caros" />
<remote name="caros" fetch="https://git.larsniesen.de/CaROS" />
<!-- layers -->
<project remote="caros"
name="poky"
path="poky"
revision="kirkstone" />
revision="5c556073ac6e54314aa3fc210db040f3ab55105a" />
<project remote="caros"
name="meta-openembedded"
path="meta-oe"
revision="kirkstone" />
revision="a88cb922f91fda95e8a584cee3092083d5ad3e98" />
<project remote="caros"
name="meta-qt6"
path="meta-qt6"
revision="lts-6.2.9" />
revision="81a8947b8da3f0fbe03974d6b29e6205a76c3c42" />
<project remote="caros"
name="meta-selinux"
path="meta-selinux"
revision="kirkstone" />
revision="a401f4b2816a0b41ce8d9351542658c721935bcd" />
</manifest>

View File

@ -5,8 +5,8 @@ set -o pipefail
MANIFEST_BRANCH="${1:-main}"
YOCTO_GID="4040"
YOCTO_UID="2000"
YOCTO_GID="1000"
YOCTO_UID="1000"
YOCTO_USER="yocto"
YOCTO_WORKDIR="/opt/${YOCTO_USER}"
@ -14,7 +14,6 @@ YOCTO_WORKDIR="/opt/${YOCTO_USER}"
[[ -d "$PWD"/sstate-cache ]] || mkdir "$PWD"/sstate-cache
subgidSize=$(( $(podman info --format "{{ range .Host.IDMappings.GIDMap }}+{{.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"
DISTRO_FEATURES ?= ""
DISTRO_FEATURES += "wayland systemd usbgadget usbhost"

View File

@ -3,3 +3,12 @@
#########################
PREFERRED_VERSION_linux-yocto ?= "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,12 @@
DESCRIPTION = "A console-only image with more full-featured Linux system \
functionality installed."
IMAGE_FEATURES += "splash ssh-server-openssh"
IMAGE_INSTALL = "\
packagegroup-core-boot \
packagegroup-core-full-cmdline \
${CORE_IMAGE_EXTRA_INSTALL} \
"
inherit core-image