Chmouel Boudjnah <[EMAIL PROTECTED]> writes: > Pixel <[EMAIL PROTECTED]> writes: > > > chmouel, maybe we can let installkernel do the initrd. After building the > > initrd, installkernel could check the existence of lilo.conf or menu.lst and > > leave if none exist (meaning we're at install time). ? > > Something like that is ok for you ?
[...] > [[ -n $AUTODETECT ]] && [[ -z $LOADER ]] && [[ -f /usr/sbin/detectloader ]] && >LOADER=$(/usr/sbin/detectloader -q) humf, i would better not have detectloader called during install. But it could do > > [[ $LOADER != "LILO" && $LOADER != "GRUB" && $LOADER != "YABOOT" ]] && { > + [[ -n $DURING_INSTALL ]] && exit 0 #DURING_INSTALL it could be > + #possible that there is no loader > cat <<EOF 1>&2