diff --git a/img-gen-all.sh b/img-gen-all.sh index 863891bc7..449439a63 100755 --- a/img-gen-all.sh +++ b/img-gen-all.sh @@ -40,6 +40,7 @@ sudo mount ${LOOPX}p3 "/tmp/p3" VERSION=$(date +'%y.%-m.dev') echo "${VERSION}" >files/p1/ARC-VERSION echo "${VERSION}" >VERSION +echo "stable" >files/p1/ARC-BRANCH sed 's/^ARC_VERSION=.*/ARC_VERSION="'${VERSION}'"/' -i files/initrd/opt/arc/include/consts.sh echo "Repack initrd" diff --git a/img-gen.sh b/img-gen.sh index f74bb640c..1aa70a69e 100755 --- a/img-gen.sh +++ b/img-gen.sh @@ -39,6 +39,7 @@ sudo mount ${LOOPX}p3 "/tmp/p3" VERSION=$(date +'%y.%-m.dev') echo "${VERSION}" >files/p1/ARC-VERSION echo "${VERSION}" >VERSION +echo "stable" >files/p1/ARC-BRANCH sed 's/^ARC_VERSION=.*/ARC_VERSION="'${VERSION}'"/' -i files/initrd/opt/arc/include/consts.sh echo "Repack initrd"