Skip to content

Commit 99f4562

Browse files
committed
upgrade to armbian v25.11.1; drop kernal patch; faster build
1 parent 778ca19 commit 99f4562

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

scripts/build-armbian.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,14 @@ if [[ "$(uname)" == "Darwin" ]]; then
7474
else
7575
BUILD_DIR="$BUILDTMP/build"
7676
fi
77-
git clone --depth=1 --branch v25.8.1 https://github.com/armbian/build.git "$BUILD_DIR"
77+
git clone --depth=1 --branch v25.11.1 https://github.com/armbian/build.git "$BUILD_DIR"
7878

7979
# Place our userpatches into the build tree
8080
rm -rf "$BUILD_DIR/userpatches"
8181
cp -a "$BUILDTMP/userpatches" "$BUILD_DIR/userpatches"
8282

8383
echo "Starting build for board=${BOARD} release=bookworm release_name=${RELEASE_NAME} using Armbian build"
8484

85-
# Remove problematic video decoding patches that aren't needed for evcc
86-
echo "Removing problematic rkvdec patches..."
87-
find "$BUILD_DIR/patch" -name "*general-v4l2-rkvdec*" -type f -exec rm -v {} \; 2>/dev/null || true
88-
8985
pushd "$BUILD_DIR" >/dev/null
9086
EXPERT=yes \
9187
SKIP_LOG_ARCHIVE=yes \

userpatches/customize-image.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ echo "[customize-image] setting up system"
3838

3939
# Update system packages
4040
apt-get update
41-
apt-get -y full-upgrade
41+
apt-get -y upgrade
4242

4343
# Install base utils and mdns (avahi)
4444
apt-get install -y --no-install-recommends \
@@ -354,6 +354,15 @@ echo 'APT::Periodic::Unattended-Upgrade "1";' > /etc/apt/apt.conf.d/20auto-upgra
354354

355355
echo "[customize-image] unattended security updates enabled"
356356

357+
# ============================================================================
358+
# BRANDING
359+
# ============================================================================
360+
echo "[customize-image] customizing branding"
361+
362+
if [[ -f /etc/os-release ]]; then
363+
sed -i 's/Armbian-unofficial/Armbian/g' /etc/os-release
364+
fi
365+
357366
# ============================================================================
358367
# CLEANUP
359368
# ============================================================================

0 commit comments

Comments
 (0)