7.14. Powerpc-Utils_1.1.3

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc1-PowerPC

### Chapter 7. If You Are Going to Boot

- Prev

  Mktemp-1.5

- Next

  Yaboot-1.3.13

- Up.
- Home

# 7.14. Powerpc-Utils_1.1.3

The Powerpc-Utils package contains a number of utilities for Power Macintoshes and other similar machines. Most of these utilities are now obsolete, but nvsetenv is needed by ybin to install the bootloader on an hfs partition.

## 7.14.1. Installation of Powerpc-Utils

This package, originally pmac-utils, has issues with NewWorld Macintoshes. The following patch fixes these issues and generally updates the package:

    patch -Np1 -i ../powerpc-utils_1.1.3-fixes-1.patch

This package's Makefile has issues with cross-compiling. Fortunately, we only need one program and it is a simple task to compile it.

    CC="${CC}" -o nvsetenv nvsetenv.c nwnvsetenv.c

Install the program:

    install -v -m755 nvsetenv /tools/sbin

Details on this package are located in Section 10.56.2, “Contents of Powerpc-Utils.”

- Prev

  Mktemp-1.5

- Next

  Yaboot-1.3.13

- Up.
- Home.