Give each kas repo its own path (all three shared extern/, clobbering each other)
Build RPi image / build (push) Failing after 19m24s
Build RPi image / build (push) Failing after 19m24s
This commit is contained in:
1 parent
a71b188289
commit
5396dd1d7e
2 files changed
+17
-9
No files matched your search
+7
-5
@@ -12,13 +12,13 @@ target: rpilinux-image
|
|||||||
|
|
||||||
repos:
|
repos:
|
||||||
meta-raspberrypi:
|
meta-raspberrypi:
|
||||||
url: http://git.yoctoproject.org/git/meta-raspberrypi
|
url: https://git.yoctoproject.org/git/meta-raspberrypi
|
||||||
path: extern/
|
path: extern/meta-raspberrypi
|
||||||
tag: scarthgap
|
tag: scarthgap
|
||||||
poky:
|
poky:
|
||||||
url: http://git.yoctoproject.org/git/poky
|
url: https://git.yoctoproject.org/git/poky
|
||||||
tag: scarthgap
|
tag: scarthgap
|
||||||
path: extern/
|
path: extern/poky
|
||||||
layers:
|
layers:
|
||||||
meta:
|
meta:
|
||||||
meta-poky:
|
meta-poky:
|
||||||
@@ -26,7 +26,7 @@ repos:
|
|||||||
meta-openembedded:
|
meta-openembedded:
|
||||||
url: https://git.openembedded.org/meta-openembedded
|
url: https://git.openembedded.org/meta-openembedded
|
||||||
tag: scarthgap
|
tag: scarthgap
|
||||||
path: extern/
|
path: extern/meta-openembedded
|
||||||
layers:
|
layers:
|
||||||
meta-oe:
|
meta-oe:
|
||||||
meta-multimedia:
|
meta-multimedia:
|
||||||
@@ -34,6 +34,8 @@ repos:
|
|||||||
meta-python:
|
meta-python:
|
||||||
local:
|
local:
|
||||||
path: meta-rpilinux
|
path: meta-rpilinux
|
||||||
|
local:
|
||||||
|
path: meta-rpilinux
|
||||||
|
|
||||||
local_conf_header:
|
local_conf_header:
|
||||||
ipk: |
|
ipk: |
|
||||||
|
|||||||
@@ -92,15 +92,21 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
export YOCTO_HOME="${YOCTO_HOME:-$HOME/yocto-build}"
|
export YOCTO_HOME="${YOCTO_HOME:-$HOME/yocto-build}"
|
||||||
cd "$YOCTO_HOME/yocto_rpi"
|
cd "$YOCTO_HOME/yocto_rpi"
|
||||||
IMG_DIR="build/*/tmp/deploy/images/raspberrypi4-64"
|
IMG_DIR="$(find build -type d -path '*/tmp/deploy/images/raspberrypi4-64' | head -1)"
|
||||||
ls -lh $IMG_DIR
|
if [ -z "$IMG_DIR" ]; then
|
||||||
|
echo "::error::no deploy dir found under build/"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "images in: $IMG_DIR"
|
||||||
|
ls -lh "$IMG_DIR"
|
||||||
mkdir -p "$GITEA_WORKSPACE/dist"
|
mkdir -p "$GITEA_WORKSPACE/dist"
|
||||||
cp $IMG_DIR/* "$GITEA_WORKSPACE/dist/"
|
# only the image artefacts, not the million symlinks/cache dirs
|
||||||
|
find "$IMG_DIR" -maxdepth 1 -type f \( -name '*.wic*' -o -name '*.ext4*' -o -name '*.rootfs*' -o -name '*.tar.bz2' -o -name '*.dtb' -o -name 'Image*' -o -name 'modules*' \) -exec cp -av {} "$GITEA_WORKSPACE/dist/" \;
|
||||||
{
|
{
|
||||||
echo "## RPi4 image built"
|
echo "## RPi4 image built"
|
||||||
echo
|
echo
|
||||||
echo "- commit: ${GITEA_SHA}"
|
echo "- commit: ${GITEA_SHA}"
|
||||||
echo "- images also on the runner host at: \`$YOCTO_HOME/yocto_rpi/$IMG_DIR\`"
|
echo "- build tree on runner host: \`$YOCTO_HOME/yocto_rpi/$IMG_DIR\`"
|
||||||
} >> "$GITEA_STEP_SUMMARY"
|
} >> "$GITEA_STEP_SUMMARY"
|
||||||
|
|
||||||
- name: Upload images
|
- name: Upload images
|
||||||
|
|||||||
Reference in new issue
Block a user