Install some pkgxx dependancies
This commit is contained in:
parent
210d36e5f4
commit
e9cdaddf8d
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
alpine_install='alpine-chroot-install'
|
alpine_install='alpine-chroot-install'
|
||||||
alpine_directory='alpine'
|
alpine_directory='/alpine'
|
||||||
|
|
||||||
# DL alpine install script
|
# DL alpine install script
|
||||||
if ! test -f "$alpine_install"; then
|
if ! test -f "$alpine_install"; then
|
||||||
@ -12,12 +12,12 @@ if ! test -f "$alpine_install"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install Alpine
|
# Install Alpine
|
||||||
if ! test -d "./alpine"; then
|
if ! test -d "$alpine_directory"; then
|
||||||
sh ./$alpine_install
|
sudo sh ./$alpine_install -p "build-base git zsh lua-filesystem luarocks lua-toml" || 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
|
||||||
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$alpine_directory/etc/rc.conf"
|
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$alpine_directory/etc/rc.conf"
|
||||||
|
|
||||||
# Launch chroot
|
# Launch chroot
|
||||||
sh ./$alpine_directory/enter-chroot
|
sh $alpine_directory/enter-chroot
|
||||||
|
Loading…
Reference in New Issue
Block a user