| 1 |
luther |
2558 |
# This is a shell script fragment that is sourced by mkvmlinuz(8) in |
| 2 |
|
|
# order to determine the output file for the compressed kernel image. |
| 3 |
|
|
# if the output file is not specified on the command line. Therefore, |
| 4 |
|
|
# it should set the shell variable "output" at some point. |
| 5 |
|
|
|
| 6 |
|
|
# When this fragment is sourced, the following shell variables are set |
| 7 |
|
|
# and may be used to construct the filename: |
| 8 |
|
|
# |
| 9 |
|
|
# arch - PowerPC sub-architecture |
| 10 |
|
|
# kernel - path to kernel image file in uncompressed ELF format |
| 11 |
|
|
# sysmap - path to System.map file |
| 12 |
|
|
# initrd - path to ramdisk (initrd) image file |
| 13 |
|
|
# objdir - path to directory with additional object files |
| 14 |
|
|
# release - kernel release number |
| 15 |
|
|
|
| 16 |
|
|
# Example: |
| 17 |
|
|
output=/boot/vmlinuz-$release |
| 18 |
|
|
|
| 19 |
|
|
# Simple example: |
| 20 |
|
|
#output=/vmlinuz |
| 21 |
|
|
|
| 22 |
|
|
# Sophisticated example: |
| 23 |
|
|
#if test -z "$initrd"; then |
| 24 |
|
|
#output=/boot/vmlinuz-$release.$arch |
| 25 |
|
|
#else |
| 26 |
|
|
#output=/boot/vmlinuz-initrd-$release.$arch |
| 27 |
|
|
#fi |
| 28 |
luther |
6946 |
|
| 29 |
|
|
# Let's define also the name of the symlink here. |
| 30 |
|
|
# An empty $linkname means no symlink created. |
| 31 |
|
|
linkname=/boot/vmlinuz |