File tree 4 files changed +12
-7
lines changed
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 3
3
# Build a custom UEFI linux based PBA image
4
4
# # define releases for tools
5
5
. conf
6
- VERSIONINFO=` git describe --dirty` || VERSIONINFO=downloaded
6
+ VERSIONINFO=` git describe --dirty` || VERSIONINFO=tarball
7
7
BUILDTYPE=UEFI64
8
8
BUILDIMG=${BUILDTYPE} -${VERSIONINFO} .img
9
9
@@ -34,4 +34,4 @@ sudo cp ../scratch/buildroot/64bit/images/rootfs.cpio.xz image/EFI/boot/
34
34
sudo cp ../buildroot/syslinux.cfg image/EFI/boot/
35
35
sudo umount image
36
36
sudo losetup -d $LOOPDEV
37
- gzip ${BUILDIMG}
37
+ gzip ${BUILDIMG}
Original file line number Diff line number Diff line change 3
3
# Build a custom bootable image for BIOS machines
4
4
# # define releases for tools
5
5
. conf
6
- VERSIONINFO=` git describe --dirty`
6
+ VERSIONINFO=` git describe --dirty` || VERSIONINFO=tarball
7
7
BUILDTYPE=BIOS32
8
8
BUILDIMG=${BUILDTYPE} -${VERSIONINFO} .img
9
9
Original file line number Diff line number Diff line change 3
3
# Build the bios PBA
4
4
# # define releases for tools
5
5
. conf
6
-
7
- VERSIONINFO=` git describe --dirty`
6
+ VERSIONINFO=` git describe --dirty` || VERSIONINFO=tarball
8
7
SYSLINUX_PBA=../../../syslinux
9
8
BUILDTYPE=biospba
10
9
BUILDIMG=${BUILDTYPE} -${VERSIONINFO} .img
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- GITVER=` git describe --dirty`
3
- echo " #define GIT_VERSION " \" $GITVER \"
2
+ set -x
3
+ GIT=` which git`
4
+ if [ " x" ${GIT} == " x" ]; then
5
+ echo " #define GIT_VERSION \" tarball\" "
6
+ else
7
+ GITVER=` git describe --dirty`
8
+ echo " #define GIT_VERSION " \" $GITVER \"
9
+ fi
You can’t perform that action at this time.
0 commit comments