summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index b27f76b..947ba40 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -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