mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'fixed chrooting'
This commit is contained in:
parent
393b4ae579
commit
50dd91718f
1 changed files with 1 additions and 1 deletions
|
@ -2129,7 +2129,7 @@ dosyslinux() {
|
||||||
cp ${TEMPDIR}/syslinux.cfg ${DESTDIR}/boot/syslinux.cfg
|
cp ${TEMPDIR}/syslinux.cfg ${DESTDIR}/boot/syslinux.cfg
|
||||||
cat ${MBR} > ${ROOTDEV}
|
cat ${MBR} > ${ROOTDEV}
|
||||||
chroot_mount
|
chroot_mount
|
||||||
chroot /usr/bin/syslinux -o offset $bootdev >$LOG 2>&1
|
chroot $DESTDIR /usr/bin/syslinux -o offset $bootdev >$LOG 2>&1
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
chroot_umount
|
chroot_umount
|
||||||
DIALOG --msgbox "Error installing SYSLINUX. (see $LOG for output)" 0 0
|
DIALOG --msgbox "Error installing SYSLINUX. (see $LOG for output)" 0 0
|
||||||
|
|
Loading…
Reference in a new issue