File: 001-use-debian-package-version.patch

package info (click to toggle)
jh7100-bootloader-recovery 0~2021.07.14~git2b268a1c-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,416 kB
  • sloc: ansic: 117,766; makefile: 157; asm: 84
file content (19 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,8 @@ EMPTY  :=
 SPACE  := $(EMPTY) $(EMPTY)
 PROGRAM = jh7100_recovery_boot
 
-GIT_VERSION=$(shell git show -s --pretty=format:%h)
-VERSION=$(GIT_VERSION)
+DEB_VERSION=$(shell dpkg-parsechangelog --show-field Version)
+VERSION=$(DEB_VERSION)
 
 #############################################################
 # Makefile Arguments