mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-07-28 03:00:16 +01:00
remove dirty from the filename
This commit is contained in:
parent
d755794ecf
commit
0b3a34cec5
4
build.sh
4
build.sh
@ -51,7 +51,7 @@ sed -i 's/ext4 defaults/ext4 ro,defaults/g' "${BUILD_DIR}/etc/fstab"
|
|||||||
|
|
||||||
# Include git repo version info
|
# Include git repo version info
|
||||||
echo -n "N-AnotterKiosk Raspberry Pi version: " > "${BUILD_DIR}/version-info"
|
echo -n "N-AnotterKiosk Raspberry Pi version: " > "${BUILD_DIR}/version-info"
|
||||||
git describe --abbrev=4 --dirty --always --tags >> "${BUILD_DIR}/version-info"
|
git describe --abbrev=4 --always --tags >> "${BUILD_DIR}/version-info"
|
||||||
|
|
||||||
# Mount system partitions (from the build host)
|
# Mount system partitions (from the build host)
|
||||||
sudo mount proc -t proc -o nosuid,noexec,nodev "${BUILD_DIR}/proc/"
|
sudo mount proc -t proc -o nosuid,noexec,nodev "${BUILD_DIR}/proc/"
|
||||||
@ -83,6 +83,6 @@ sudo umount "${BUILD_DIR}"
|
|||||||
|
|
||||||
sudo losetup -D /dev/loop0
|
sudo losetup -D /dev/loop0
|
||||||
|
|
||||||
tag=$(git describe --abbrev=4 --dirty --always --tags)
|
tag=$(git describe --abbrev=4 --always --tags)
|
||||||
mv raspikiosk.img n-anotterkiosk-${tag}-arm64-raspberrypi.img
|
mv raspikiosk.img n-anotterkiosk-${tag}-arm64-raspberrypi.img
|
||||||
pigz -4 n-anotterkiosk-${tag}-arm64-raspberrypi.img
|
pigz -4 n-anotterkiosk-${tag}-arm64-raspberrypi.img
|
Loading…
x
Reference in New Issue
Block a user