­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ # 300_create_isolinux.sh # # create yaboot.cfg for Relax-and-Recover # # This file is part of Relax-and-Recover, licensed under the GNU General # Public License. Refer to the included COPYING for full text of license. ## other bootloader distro case if [[ ! -r /etc/yaboot.conf ]] && [[ ! -r /etc/lilo.conf ]] ; then return fi SUSE_STYLE= # create yaboot directory structure mkdir -p $v $TMP_DIR/ppc/chrp ISO_YABOOT_BIN=$(find_yaboot_file yaboot) if [[ $ISO_YABOOT_BIN == *"/lib/lilo/pmac"* ]] ; then ISO_YABOOT_BIN="/lib/lilo/chrp/yaboot.chrp" SUSE_STYLE=1 fi if [[ "$SUSE_STYLE" ]] ; then #SUSE type distos cp $v $ISO_YABOOT_BIN $TMP_DIR/yaboot # SUSE ppc64 use /yaboot, need to add it to ISO_FILES see #1407 ISO_FILES+=( yaboot ) cat >"$TMP_DIR/ppc/bootinfo.txt" < Relax-and-Recover Linux boot &device;:\yaboot EOF else #Red Hat type distros cp $v $ISO_YABOOT_BIN $TMP_DIR/ppc/chrp cat >"$TMP_DIR/ppc/bootinfo.txt" < Relax-and-Recover Linux boot &device;:\ppc\chrp\yaboot EOF fi mkdir -p $v $TMP_DIR/etc cat >"$TMP_DIR/etc/yaboot.conf" <