summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-images.sparc64')
-rw-r--r--scripts/mk-images.sparc647
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/mk-images.sparc64 b/scripts/mk-images.sparc64
index e0a826f18..ebc855e4b 100644
--- a/scripts/mk-images.sparc64
+++ b/scripts/mk-images.sparc64
@@ -3,6 +3,13 @@ TILO=$IMGPATH/usr/bin/tilo
SILO=$IMGPATH/usr/sbin/silo
FAKEARCH=sparc64
+# EVIL HACK HACK
+cat $MODINFO | sed 's|ncr53c8xx|sym53c8xx|g' > $MODINFO-
+mv -f $MODINFO- $MODINFO
+
+cat $PCITABLE | sed 's|ncr53c8xx|sym53c8xx|g' > $PCITABLE-
+mv -f $PCITABLE- $PCITABLE
+
prepareBootImage() {
stagedir=/tmp/sparcboot.$$
rm -rf $stagedir