Remove mongodb installation.
This commit is contained in:
parent
ed3a68c375
commit
cd5636ba2d
7
config
7
config
|
|
@ -19,13 +19,6 @@ musl_url="git://git.musl-libc.org/musl"
|
|||
netdata_version="1.7.0"
|
||||
netdata_url="https://github.com/firehol/netdata/releases/download/v${netdata_version}/netdata-${netdata_version}.tar.gz"
|
||||
|
||||
# mongodb source build
|
||||
#mongodb_version="3.4.6"
|
||||
#mongodb_url="https://fastdl.mongodb.org/src/mongodb-src-r${mongodb_version}.tar.gz"
|
||||
# mongodb binary build
|
||||
mongodb_version="3.4.9"
|
||||
mongodb_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian81-${mongodb_version}.tgz"
|
||||
|
||||
# XXX: multichain currently installed from compiled binaries, needs db4.8 (devuan pkg)
|
||||
multichain_version="1.0.1"
|
||||
multichain_url="https://www.multichain.com/download/multichain-${multichain_version}.tar.gz"
|
||||
|
|
|
|||
23
decode.blend
23
decode.blend
|
|
@ -37,7 +37,7 @@ blend_postinst() {
|
|||
|
||||
notice "executing $blend_name postinst"
|
||||
|
||||
nopackage=(musl tomb golang netdata mongodb multichain)
|
||||
nopackage=(musl tomb golang netdata multichain)
|
||||
for app in $nopackage; do
|
||||
blend_install_${app} || zerr
|
||||
done || zerr
|
||||
|
|
@ -149,27 +149,6 @@ EOF
|
|||
chroot-script install-netdata || zerr
|
||||
}
|
||||
## }}}
|
||||
## {{{ blend_install_mongodb()
|
||||
blend_install_mongodb() {
|
||||
# XXX: should be a from-source build at a later point
|
||||
fn blend_install_mongodb
|
||||
req=(strapdir mongodb_version mongodb_url)
|
||||
ckreq || return 1
|
||||
|
||||
notice "downloading mongodb tarball"
|
||||
sudo wget -O "$strapdir/root/mongodb.tgz" "$mongodb_url" || zerr
|
||||
|
||||
notice "installing mongodb in $strapdir"
|
||||
cat <<EOF | sudo tee ${strapdir}/install-mongodb >/dev/null
|
||||
#!/bin/sh
|
||||
cd /root
|
||||
tar xvf mongodb.tgz || exit 1
|
||||
mv -v $(basename -s .tgz $mongodb_url)/bin/* /usr/local/bin/
|
||||
rm -rf mongodb.tgz $(basename -s .tgz $mongodb_url)
|
||||
EOF
|
||||
chroot-script install-mongodb || zerr
|
||||
}
|
||||
## }}}
|
||||
## {{{ blend_install_multichain()
|
||||
blend_install_multichain() {
|
||||
fn blend_install_multichain
|
||||
|
|
|
|||
Loading…
Reference in New Issue