1 |
Signed-off-by: William Hubbs <williamh@g.o> |
2 |
--- |
3 |
eclass/go-module.eclass | 17 +---------------- |
4 |
1 file changed, 1 insertion(+), 16 deletions(-) |
5 |
|
6 |
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass |
7 |
index 053861a1a18..3f6e07fad2f 100644 |
8 |
--- a/eclass/go-module.eclass |
9 |
+++ b/eclass/go-module.eclass |
10 |
@@ -85,7 +85,7 @@ QA_FLAGS_IGNORED='.*' |
11 |
# Go packages should not be stripped with strip(1). |
12 |
RESTRICT+=" strip" |
13 |
|
14 |
-EXPORT_FUNCTIONS src_unpack pkg_postinst |
15 |
+EXPORT_FUNCTIONS src_unpack |
16 |
|
17 |
# @ECLASS-VARIABLE: EGO_SUM |
18 |
# @DESCRIPTION: |
19 |
@@ -417,21 +417,6 @@ go-module_live_vendor() { |
20 |
popd >& /dev/null || die |
21 |
} |
22 |
|
23 |
-# @FUNCTION: go-module_pkg_postinst |
24 |
-# @DESCRIPTION: |
25 |
-# Display a warning about security updates for Go programs. |
26 |
-go-module_pkg_postinst() { |
27 |
- debug-print-function "${FUNCNAME}" "$@" |
28 |
- [[ -n ${REPLACING_VERSIONS} ]] && return 0 |
29 |
- ewarn "${PN} is written in the Go programming language." |
30 |
- ewarn "Since this language is statically linked, security" |
31 |
- ewarn "updates will be handled in individual packages and will be" |
32 |
- ewarn "difficult for us to track as a distribution." |
33 |
- ewarn "For this reason, please update any go packages asap when new" |
34 |
- ewarn "versions enter the tree or go stable if you are running the" |
35 |
- ewarn "stable tree." |
36 |
-} |
37 |
- |
38 |
# @FUNCTION: _go-module_gomod_encode |
39 |
# @DESCRIPTION: |
40 |
# Encode the name(path) of a Golang module in the format expected by Goproxy. |
41 |
-- |
42 |
2.31.1 |