diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-extended/shadow | |
parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
download | poky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz |
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 414bf467ba..a87e23569b 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c9a450b7be84eac23e6353efecb60b5b \ | |||
10 | 10 | ||
11 | DEPENDS = "virtual/crypt" | 11 | DEPENDS = "virtual/crypt" |
12 | 12 | ||
13 | UPSTREAM_CHECK_URI = "https://github.com/shadow-maint/shadow/releases" | 13 | GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases" |
14 | SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.tar.gz \ | 14 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \ |
15 | file://0001-shadow-use-relaxed-usernames.patch \ | 15 | file://0001-shadow-use-relaxed-usernames.patch \ |
16 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ | 16 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ |
17 | file://useradd \ | 17 | file://useradd \ |
@@ -42,7 +42,7 @@ PAM_SRC_URI = "file://pam.d/chfn \ | |||
42 | file://pam.d/passwd \ | 42 | file://pam.d/passwd \ |
43 | file://pam.d/su" | 43 | file://pam.d/su" |
44 | 44 | ||
45 | inherit autotools gettext | 45 | inherit autotools gettext github-releases |
46 | 46 | ||
47 | export CONFIG_SHELL="/bin/sh" | 47 | export CONFIG_SHELL="/bin/sh" |
48 | 48 | ||