13 Commits

Author SHA1 Message Date
9011b22175 Change image description 2023-09-24 23:48:26 +02:00
df46a3eed8 Add selinux to distro feature 2023-09-24 20:21:13 +02:00
aea9924fd7 base image on fullcmd line 2023-09-24 20:20:48 +02:00
62167a5dfe Fix rebase 2023-09-24 20:20:48 +02:00
cdf6ddad4e add distro features and disable busybox 2023-09-24 20:20:48 +02:00
11e6f058ea fix spelling 2023-09-24 20:20:48 +02:00
801c2388d3 first basic image idea 2023-09-24 20:20:48 +02:00
a3d5206abf Implement basic yocto build setup based on protos from jhnc-oss 2023-09-24 20:20:48 +02:00
84a106926e Implement basic yocto build setup based on protos from jhnc-oss 2023-09-24 20:20:45 +02:00
cc28ffce35 !29 Add meta-intel layer
Add meta-intel intel layer to build for the intel cpu
board configuration.
2023-09-23 23:39:41 +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
126e39c583 !14 Add Authors into the licensefile 2023-09-21 18:46:02 +02:00
8 changed files with 26 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) [year] [fullname]
Copyright (c) 2023 - Lars Niesen, Emre Gülçino, Tilman Sattler, David Sattler
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -11,22 +11,27 @@
<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" />
<project remote="caros"
name="meta-intel"
path="meta-intel"
revision="1342bcdc5bfc6620737e7d195e7d9bd744348577" />
</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}"
@@ -55,18 +55,11 @@ if $DO_SSTATE ; then
fi
if $DO_DEPLOY ; then
<<<<<<< HEAD
DEPLOY_PATH="deploy"
mkdir -p $DEPLOY_PATH
rm -rf "$DEPLOY_PATH"/*
deploy_param1="-v"
deploy_param2="${PWD}"/"${DEPLOY_PATH}":"${YOCTO_WORKDIR}"/"${DEPLOY_PATH}"
=======
DEPLOY_PATH="deploy-rpms"
mkdir -p $DEPLOAY_PATH
deploy_param1="-v"
deploy_param2="${PWD}"/"${DEPOLY_PATH}":"${YOCTO_WORKDIR}"/"${DEPLOY_PATH}"
>>>>>>> b6d3ef2 (Implement basic yocto build setup based on protos from jhnc-oss)
fi
@@ -88,18 +81,9 @@ podman run \
-v "${PWD}"/default.xml:"${YOCTO_WORKDIR}"/default.xml \
-v "${PWD}"/meta-caros:"${YOCTO_WORKDIR}"/meta-caros:Z \
-v "${PWD}"/dev:"${YOCTO_WORKDIR}"/dev:Z \
<<<<<<< HEAD
-v "${PWD}"/downloads:"${YOCTO_WORKDIR}"/downloads:Z \
--env TEMPLATECONF="${YOCTO_WORKDIR}"/meta-caros/conf/templates \
--env SSTATE_PATH="${SSTATE_PATH}" \
${CONTAINER_NAME} \
ghcr.io/jhnc-oss/yocto-image/yocto:37 \
=======
-v "${PWD}"/download:"${YOCTO_WORKDIR}"/download:Z \
-v "${PWD}"/sstate:"${YOCTO_WORKDIR}"/sstate:Z \
--env TEMPLATECONF="${YOCTO_WORKDIR}"/meta-caros/conf/templates \
--env SSTATE_PATH="${SSTATE_PATH}" \
${CONTAINER_NAME} \
ghcr.io/jhnc-oss/yocto-image/yocto:38 \
>>>>>>> b6d3ef2 (Implement basic yocto build setup based on protos from jhnc-oss)
bash -c "dev/init_env.sh "

View File

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

View File

@@ -21,6 +21,7 @@ BBLAYERS ?= " \
${TOPDIR}/../meta-oe/meta-python \
${TOPDIR}/../meta-oe/meta-webserver \
${TOPDIR}/../meta-oe/meta-xfce \
${TOPDIR}/../meta-intel \
${TOPDIR}/../meta-caros \
"

View File

@@ -1,4 +1,4 @@
MACHINE ?= "genericx86-64"
MACHINE ?= "intel-corei7-64"
DL_DIR ?= "${TOPDIR}/../downloads"

View File

@@ -1,10 +0,0 @@
SUMMARY = "Minimal bootable image for CaROS develoment"
IMAGE_FEATURES = "nfs-server ssh-server-openssh"
# packagegroup-core-boot expandent to remove busybox
# PACKAGES_CORE_BOOT =
IMAGE_INSTALL = "packagegroup-core-boot"
inherit core-image
LICENSE = "MIT"

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