diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3dfeeb56..78030ab2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,6 +77,7 @@ jobs: # Copy files echo "Copying files" sed 's/^ARPL_VERSION=.*/ARPL_VERSION="'${VERSION}'"/' -i files/board/arpl/overlayfs/opt/arpl/include/consts.sh + echo "${VERSION}" > files/board/arpl/p1/ARPL-VERSION cp -Ru files/* .buildroot/ cd .buildroot echo "Generating default config" diff --git a/files/board/arpl/p1/ARPL-VERSION b/files/board/arpl/p1/ARPL-VERSION new file mode 100644 index 00000000..e60bb9e8 --- /dev/null +++ b/files/board/arpl/p1/ARPL-VERSION @@ -0,0 +1 @@ +1.0-beta7 diff --git a/img-gen.sh b/img-gen.sh index ed13e442..d79b569d 100755 --- a/img-gen.sh +++ b/img-gen.sh @@ -71,6 +71,7 @@ fi echo "Copying files" VERSION=`cat VERSION` sed 's/^ARPL_VERSION=.*/ARPL_VERSION="'${VERSION}'"/' -i files/board/arpl/overlayfs/opt/arpl/include/consts.sh +echo "${VERSION}" > files/board/arpl/p1/ARPL-VERSION cp -Ru files/* .buildroot/ cd .buildroot diff --git a/update-list.yml b/update-list.yml index 01b2bc5d..141178d5 100644 --- a/update-list.yml +++ b/update-list.yml @@ -2,4 +2,5 @@ replace: ".buildroot/output/images/bzImage": "/mnt/p3/bzImage-arpl" ".buildroot/output/images/rootfs.cpio.xz": "/mnt/p3/initrd-arpl" "files/board/arpl/p1/grub/grub.cfg": "/mnt/p1/grub/grub.cfg" + "files/board/arpl/p1/ARPL-VERSION" : "/mnt/p1/ARPL-VERSION" remove: