Commit 66f08eb3 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-disk: install syslinux when installing on mounted dir

ref #673
parent 1a62591f
...@@ -369,7 +369,7 @@ stop_all_raid() { ...@@ -369,7 +369,7 @@ stop_all_raid() {
init_progs() { init_progs() {
local raidpkg= local raidpkg=
[ -n "$USE_RAID" ] && raidpkg="mdadm" [ -n "$USE_RAID" ] && raidpkg="mdadm"
apk_add -q sfdisk e2fsprogs lvm2 $raidpkg syslinux $@ apk add -q sfdisk e2fsprogs lvm2 $raidpkg syslinux $@
} }
show_disk_info() { show_disk_info() {
...@@ -856,6 +856,7 @@ shift $(( $OPTIND - 1)) ...@@ -856,6 +856,7 @@ shift $(( $OPTIND - 1))
if [ -d "$1" ]; then if [ -d "$1" ]; then
# install to given mounted root # install to given mounted root
apk add -q syslinux
install_mounted_root "${1%/}" install_mounted_root "${1%/}"
exit $? exit $?
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment