Browse Source

hwinfo: fix hardcoded version in patch

Fixes: 7dc7e46d48 ("hwinfo: update to
version 21.71")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
lilik-openwrt-22.03
Josef Schlehofer 4 years ago
parent
commit
f562b46c54
No known key found for this signature in database GPG Key ID: B950216FE4329F4C
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/hwinfo/Makefile
  2. +1
    -1
      utils/hwinfo/patches/0-hardcoding-version

+ 1
- 1
utils/hwinfo/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hwinfo
PKG_VERSION:=21.71
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/openSUSE/hwinfo/tar.gz/$(PKG_VERSION)?


+ 1
- 1
utils/hwinfo/patches/0-hardcoding-version View File

@ -13,7 +13,7 @@ with hwinfo version changes when updating the package
-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
-endif
+BRANCH := master
+VERSION := $(shell echo 21.7 > VERSION; cat VERSION)
+VERSION := $(shell echo 21.71 > VERSION; cat VERSION)
PREFIX := hwinfo-$(VERSION)
include Makefile.common

Loading…
Cancel
Save