From c0fa3e46da788196c6de2c1cf6bde91c19e27c32 Mon Sep 17 00:00:00 2001 From: Guilhem Baccialone Date: Tue, 15 Oct 2024 23:37:18 +0200 Subject: [PATCH] chip: Fix post-build.sh that used a git Buildroot --- board/nextthing/chip/post-build.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) mode change 100644 => 100755 board/nextthing/chip/post-build.sh diff --git a/board/nextthing/chip/post-build.sh b/board/nextthing/chip/post-build.sh old mode 100644 new mode 100755 index 95810cc..cf8ff2f --- a/board/nextthing/chip/post-build.sh +++ b/board/nextthing/chip/post-build.sh @@ -1,22 +1,8 @@ #!/bin/bash -TARGET_DIR=$1 - -BRANCH=$(git symbolic-ref -q HEAD) -BRANCH=${BRANCH##refs/heads/chip/} -BRANCH=${BRANCH##refs/heads/nextthing/*/} - -BUILDROOT_GITHASH="$(cat buildroot_githash)" -BUILDROOT_GITHASH="${BUILDROOT_GITHASH:0:8}" - -BUILD="$(cat build)" - cat <${TARGET_DIR}/etc/issue -Welcome to CHIP Buildroot-${BRANCH} build ${BUILD} rev ${BUILDROOT_GITHASH} +Welcome to CHIP Buildroot-2024.08 CHIP Buildroot contains various open source software. -The source code can be downloaded from: -http://opensource.nextthing.co/chip/buildroot/${BRANCH}/${BUILD}/build${BUILD}.tar.gz - EOF