mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
app-emulation/containerd: Fix GOARCH build problem
A call to coreos-go_src_prepare in src_prepare will get go_export called, which exports the correct GOARCH value. Fixes https://github.com/coreos/bugs/issues/2366 (torcx store has archives of wrong arch). Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
37a9734690
commit
663b883809
@ -40,7 +40,7 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
coreos-go_src_prepare
|
||||||
if [[ ${PV} != *9999* ]]; then
|
if [[ ${PV} != *9999* ]]; then
|
||||||
sed -i -e "s/git describe --match.*$/echo ${PV})/"\
|
sed -i -e "s/git describe --match.*$/echo ${PV})/"\
|
||||||
-e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\
|
-e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user