diff options
author | Loïc Hoguin <[email protected]> | 2019-06-29 11:00:36 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-06-29 11:00:36 +0200 |
commit | dba0d2df42cc304e54a1f9781f1c5270931754b8 (patch) | |
tree | 29fce7f77729f9cfe1b2b8e3481ec7718a062255 /ci.d | |
parent | 73c263e194574d3d974fae7846a71961e8b4499d (diff) | |
download | ci-dba0d2df42cc304e54a1f9781f1c5270931754b8.tar.gz ci-dba0d2df42cc304e54a1f9781f1c5270931754b8.tar.bz2 ci-dba0d2df42cc304e54a1f9781f1c5270931754b8.zip |
Update alpine packages
I have not tested the apk_install_erlang() function
but it should be doing roughly what we want. Test it
on the next rebuild.
Diffstat (limited to 'ci.d')
-rw-r--r-- | ci.d/apk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -9,3 +9,13 @@ apk_upgrade() { apk_install() { lxc_do apk add "$@" } + +# apk_install_erlang +# +# Necessary because erlang has been split up into +# a zillion silly packages. +apk_install_erlang() { + VSN=`lxc_do apk search -x erlang | cut -d- -f 2-` + ERLANG=`lxc_do apk search erlang | sed s/-$VSN//` + lxc_do apk add $ERLANG +} |