Update Alpine to 3.8, installation script to 0.9.0 and resolve pkgxx dependencies
This commit is contained in:
parent
e1b0251a5d
commit
87cc064a76
10
build
10
build
@ -1,14 +1,10 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Install pkgxx dependancies
|
# Install pkgxx dependancies
|
||||||
echo "> Installing Moonscript…"
|
echo "> Installing Lua Split…"
|
||||||
luarocks-5.1 install moonscript || exit 1
|
luarocks-5.1 install split || exit 1
|
||||||
echo "> Installing lua-argparse…"
|
|
||||||
luarocks-5.1 install argparse || exit 1
|
|
||||||
echo "> Installing lua-process"
|
|
||||||
luarocks-5.1 install process --from=http://mah0x211.github.io/rocks/
|
|
||||||
|
|
||||||
# FIXME: need moonscript AND build.zsh
|
# FIXME: need build.zsh
|
||||||
|
|
||||||
# FIXME: install pkgxx
|
# FIXME: install pkgxx
|
||||||
# FIXME: configure pkgxx
|
# FIXME: configure pkgxx
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
alpine_install='alpine-chroot-install'
|
alpine_install=${INSTALL:-'alpine-chroot-install'}
|
||||||
alpine_directory='/alpine'
|
alpine_directory=${DIR:-'/alpine'}
|
||||||
|
|
||||||
# DL alpine install script
|
# DL alpine install script
|
||||||
if ! test -f "$alpine_install"; then
|
if ! test -f "$alpine_install"; then
|
||||||
wget https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.6.0/alpine-chroot-install -O "$alpine_install" \
|
wget https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install -O "$alpine_install" \
|
||||||
&& echo 'a827a4ba3d0817e7c88bae17fe34e50204983d1e alpine-chroot-install' | sha1sum -c \
|
&& echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
chmod +x "$alpine_install"
|
chmod +x "$alpine_install"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install Alpine
|
# Install Alpine
|
||||||
if ! test -d "$alpine_directory"; then
|
if ! test -d "$alpine_directory"; then
|
||||||
sudo sh ./$alpine_install -p build-base -p git -p zsh -p lua-filesystem -p luarocks5.1 -p lua-toml || exit 1
|
sudo sh ./$alpine_install -d $alpine_directory -p build-base -p git -p zsh -p lua-filesystem -p luarocks5.1 -p lua-toml -p moonscript -p abuild -p lua-argparse || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set rc_sys="prefix" to not disturb systemd on current system
|
# Set rc_sys="prefix" to not disturb systemd on current system
|
||||||
|
Loading…
Reference in New Issue
Block a user