summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-06 09:05:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-06 09:05:21 +0000
commit66f08eb368d7e7dfcd739fb04aae2d0c04482ec2 (patch)
tree5d63ba8a57746fc2ce6fba94d2f0ad7846655d05
parent1a62591fa4176e9068e89f52194c4bac29e529a0 (diff)
downloadalpine-conf-66f08eb368d7e7dfcd739fb04aae2d0c04482ec2.zip
setup-disk: install syslinux when installing on mounted dir
ref #673
-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