# Yaboot-&yaboot-version;

The Yaboot package contains a PowerPC Boot Loader for machines using Open Firmware such as NewWorld Macintoshes.

## Installation of Yaboot

The following patch adds stub functions for newer e2fsprogs releases.

    patch -Np1 -i ../&yaboot-stubfuncs-patch;

The supplied man pages have `/usr/local` in the text. This sed will correct that:

    sed -i 's%/usr/local%/usr%' man/*

Prevent the build from failing due to warnings with the following sed:

    sed -i 's%-Werror%%' Makefile

Compile the package:

    make PREFIX=/usr

Install the package:

    make PREFIX=/usr install

## Contents of Yaboot

Installed programs Installed files
- addnote, mkofboot (link to ybin), ofboot, ofpath, yaboot, yabootconfig, ybin yaboot.conf

Short Descriptions

`addnote`

- For IBM CHRP machines, add a PT_NOTE program header entry to an elf file so that it can be booted.

`mkofboot`

- Format the bootstrap partition and install the yaboot boot loader.

`ofboot`

- Script to format the boot menu using yaboot.conf and write the resulting Open Firmware code to the bootstrap.

`ofpath`

- Determine Open Firmware path corresponding to a device node.

`yaboot`

- Open Firmware boot loader.

`yabootconfig`

- Generate and install a simple yaboot.conf.

`ybin`

- Shell script to update or install the boot loader on a bootstrap partition.

`yaboot.conf`

- Configuration file used by `ybin` to determine how to install `yaboot` on the bootstrap partition.