mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Adding version to a file in p1
This commit is contained in:
parent
43a3264c8d
commit
e8f26460d1
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -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"
|
||||
|
1
files/board/arpl/p1/ARPL-VERSION
Normal file
1
files/board/arpl/p1/ARPL-VERSION
Normal file
@ -0,0 +1 @@
|
||||
1.0-beta7
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user