Index: conf/distro/ely.conf =================================================================== diff -u -ra5f1faf2210d76c329a7b5330fec973f5a38c821 -r4a5e4f589daf7be8828cc50ce1eb5826989c5b7c --- conf/distro/ely.conf (.../ely.conf) (revision a5f1faf2210d76c329a7b5330fec973f5a38c821) +++ conf/distro/ely.conf (.../ely.conf) (revision 4a5e4f589daf7be8828cc50ce1eb5826989c5b7c) @@ -53,11 +53,6 @@ FEATURE_PACKAGES_dey-webkit = "packagegroup-dey-webkit" FEATURE_PACKAGES_dey-wireless = "packagegroup-dey-wireless" -# Our layer only provides version 5.41, which we want to keep because -# it was used for Bluetooth certification. However by default the newer -# 5.65 version should be used, which is provided by the poky layer. -PREFERRED_VERSION_bluez5 ?= "5.65" - # There's a generic opencl-headers recipe in the thud branch of # meta-openembedded, but we should use the package provided by the imx-gpu-viv # recipe in case there are NXP-specific changes in it Index: recipes-core/psplash/psplash_git.bbappend =================================================================== diff -u --- recipes-core/psplash/psplash_git.bbappend (revision 0) +++ recipes-core/psplash/psplash_git.bbappend (revision 4a5e4f589daf7be8828cc50ce1eb5826989c5b7c) @@ -0,0 +1,16 @@ +# ================================ +# meta-leahi override for psplash +# ================================ +# This bbappend disables vendor logo lookups that cause checksum errors. +# It ensures psplash won't look for missing logo.png variants (ely, ccimx8mm, mx8m, etc.) + +# Remove all possible logo files from SRC_URI +SRC_URI:remove = "file://logo.png" +SRC_URI:remove = "file://*/logo.png" + +# Disable automatic splash image substitution logic +SPLASH_IMAGES = "" + +# Prevent build from trying to use psplash if you already removed it from IMAGE_INSTALL +# (optional but harmless) +PACKAGECONFIG:remove = "psplash" Index: sdk/mkproject.sh =================================================================== diff -u -rb77ae319e886a775d728839eec8366dcd03c3124 -r4a5e4f589daf7be8828cc50ce1eb5826989c5b7c --- sdk/mkproject.sh (.../mkproject.sh) (revision b77ae319e886a775d728839eec8366dcd03c3124) +++ sdk/mkproject.sh (.../mkproject.sh) (revision 4a5e4f589daf7be8828cc50ce1eb5826989c5b7c) @@ -223,3 +223,6 @@ MKP_SCRIPTNAME \ MKP_SCRIPTPATH \ MKP_SETUP_ENVIRONMENT + +sudo apt install bzip2 binutils chrpath cpp diffstat file g++ gawk lz4 make zstd + Index: sdk/repo-refresh.sh =================================================================== diff -u --- sdk/repo-refresh.sh (revision 0) +++ sdk/repo-refresh.sh (revision 4a5e4f589daf7be8828cc50ce1eb5826989c5b7c) @@ -0,0 +1,46 @@ +#!/bin/bash +# ------------------------------------------------------------------ +# Yocto Repo Refresh & Rebuild Script +# Safely re-syncs all repositories to the latest manifest version +# while preserving downloads and removing stale build outputs. +# ------------------------------------------------------------------ + +set -e + +# --- CONFIGURATION ------------------------------------------------- +# Adjust these if needed +BUILD_DIR="leahi-distro" # your build directory +IMAGE="ely-image-qt" # your main image name +NUM_JOBS=$(nproc) # number of parallel jobs + +# --- STEP 1: Confirm manifest is initialized ----------------------- +echo "๐Ÿ”น Ensuring repo manifest is initialized..." +if [ ! -d .repo ]; then + echo "โŒ No .repo directory found. Run 'repo init -u -b ' first." + exit 1 +fi + +# --- STEP 2: Sync all sources ------------------------------------- +echo "๐Ÿ”น Syncing all repositories..." +repo sync -j${NUM_JOBS} --force-sync --fetch-submodules --prune + +# --- STEP 3: Clean stale build output but keep downloads ---------- +if [ -d "${BUILD_DIR}/tmp" ]; then + echo "๐Ÿงน Cleaning tmp directory (but keeping downloads/ and sstate-cache/)..." + rm -rf "${BUILD_DIR}/tmp" +fi + +# Optional: uncomment this if you want to clean sstate too +# rm -rf "${BUILD_DIR}/sstate-cache" + +# --- STEP 4: Reset all repos to manifest HEAD --------------------- +echo "๐Ÿ”น Resetting repos to manifest HEAD..." +repo forall -c 'echo "โ†’ $REPO_PATH"; git reset --hard HEAD; git clean -fdx' + +# --- STEP 5: Rebuild image ---------------------------------------- +echo "๐Ÿš€ Starting new build..." +source ely-setup-environment ${BUILD_DIR} +bitbake -c cleansstate virtual/kernel +bitbake ${IMAGE} + +echo "โœ… Build complete: ${IMAGE}"