Linux Audio

Check our new training course

Loading...
v6.8
 1#!/bin/sh
 2#
 3# This file is subject to the terms and conditions of the GNU General Public
 4# License.  See the file "COPYING" in the main directory of this archive
 5# for more details.
 6#
 7# Copyright (C) 1995 by Linus Torvalds
 8#
 9# Blatantly stolen from in arch/i386/boot/install.sh by Dave Hansen 
10#
11# "make install" script for ppc64 architecture
12#
13# Arguments:
14#   $1 - kernel version
15#   $2 - kernel image file
16#   $3 - kernel map file
17#   $4 - default install path (blank if root directory)
18
19set -e
20
21# this should work for both the pSeries zImage and the iSeries vmlinux.sm
22image_name=`basename $2`
23
24
25echo "Warning: '${INSTALLKERNEL}' command not available... Copying" \
26     "directly to $4/$image_name-$1" >&2
27
28if [ -f $4/$image_name-$1 ]; then
29	mv $4/$image_name-$1 $4/$image_name-$1.old
30fi
31
32if [ -f $4/System.map-$1 ]; then
33	mv $4/System.map-$1 $4/System-$1.old
34fi
35
36cat $2 > $4/$image_name-$1
37cp $3 $4/System.map-$1
v6.13.7
 1#!/bin/sh
 2#
 3# This file is subject to the terms and conditions of the GNU General Public
 4# License.  See the file "COPYING" in the main directory of this archive
 5# for more details.
 6#
 7# Copyright (C) 1995 by Linus Torvalds
 8#
 9# Blatantly stolen from in arch/i386/boot/install.sh by Dave Hansen 
10#
11# "make install" script for ppc64 architecture
12#
13# Arguments:
14#   $1 - kernel version
15#   $2 - kernel image file
16#   $3 - kernel map file
17#   $4 - default install path (blank if root directory)
18
19set -e
20
21# this should work for both the pSeries zImage and the iSeries vmlinux.sm
22image_name=`basename $2`
23
24
25echo "Warning: '${INSTALLKERNEL}' command not available... Copying" \
26     "directly to $4/$image_name-$1" >&2
27
28if [ -f $4/$image_name-$1 ]; then
29	mv $4/$image_name-$1 $4/$image_name-$1.old
30fi
31
32if [ -f $4/System.map-$1 ]; then
33	mv $4/System.map-$1 $4/System-$1.old
34fi
35
36cat $2 > $4/$image_name-$1
37cp $3 $4/System.map-$1