Last change
on this file since 1964 was 204, checked in by bcornec, 19 years ago |
mindi-kernel now handled correctly with the new mindi layout.
mkrpm knows how to build a mindi-kernel package
PXE doc improved
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
1.0 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | if [ ! -f "install.sh" ] ; then
|
---|
4 | echo "Please 'cd' to the directory you have just untarred." >> /dev/stderr
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | if [ "_$PREFIX" != "_" ]; then
|
---|
9 | local=$PREFIX/usr
|
---|
10 | if [ -f /usr/local/sbin/mindi ]; then
|
---|
11 | echo "WARNING: /usr/local/sbin/mindi exists. You should probably
|
---|
12 | remove it !"
|
---|
13 | fi
|
---|
14 | echo $PATH | grep /usr/sbin > /dev/null || echo "Warning - your PATH env
|
---|
15 | ironmental variable is BROKEN. Please add /usr/sbin to your PATH."
|
---|
16 | else
|
---|
17 | local=/usr/local
|
---|
18 | if [ -f /usr/sbin/mindi ]; then
|
---|
19 | echo "WARNING: /usr/sbin/mindi exists. You should probably remov
|
---|
20 | e the mindi package !"
|
---|
21 | fi
|
---|
22 | echo $PATH | grep $local/sbin > /dev/null || echo "Warning - your PATH e
|
---|
23 | nvironmental variable is BROKEN. Please add $local/sbin to your PATH."
|
---|
24 |
|
---|
25 | fi
|
---|
26 |
|
---|
27 | echo "mindi-failsafe-kernel will be installed under $local"
|
---|
28 |
|
---|
29 | echo "Creating target directories ..."
|
---|
30 | mkdir -p $local/lib/mindi
|
---|
31 |
|
---|
32 | echo "Copying files ..."
|
---|
33 | cp -a lib.tar.bz2 vmlinuz $local/lib/mindi/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.