mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
340 B
9 lines
340 B
9 years ago
|
test_bootloader_install() {
|
||
|
# Setup the boot loader
|
||
|
run_cmd "mkdir -p ${arch_target_dir}/boot/syslinux; cp -f /root/syslinux.cfg '${arch_target_dir}/boot/syslinux/syslinux.cfg'"
|
||
|
run_cmd "arch-chroot ${arch_target_dir} /usr/bin/syslinux-install_update -i -a -m"
|
||
9 years ago
|
if [[ ${run_cmd_return} -ne 0 ]]; then
|
||
|
exit 1
|
||
|
fi
|
||
9 years ago
|
}
|