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

setup-disk: install syslinux when installing on mounted dir

ref #673
parent 1a62591f
......@@ -369,7 +369,7 @@ stop_all_raid() {
init_progs() {
local raidpkg=
[ -n "$USE_RAID" ] && raidpkg="mdadm"
apk_add -q sfdisk e2fsprogs lvm2 $raidpkg syslinux $@
apk add -q sfdisk e2fsprogs lvm2 $raidpkg syslinux $@
}
show_disk_info() {
......@@ -856,6 +856,7 @@ shift $(( $OPTIND - 1))
if [ -d "$1" ]; then
# install to given mounted root
apk add -q syslinux
install_mounted_root "${1%/}"
exit $?
fi
......
Markdown is supported
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