From c0c383cee8005a7851aabe120a638cca2c071b61 Mon Sep 17 00:00:00 2001
From: Ben Collins <bcollins@debian.org>
Date: Thu, 30 Mar 2000 13:53:54 +0000
Subject: [PATCH] sparc updates

---
 tools/boot/potato/boot-sparc          | 4 ----
 tools/boot/potato/sparc-etc/silo.conf | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/boot/potato/boot-sparc b/tools/boot/potato/boot-sparc
index 60f6c8fd..3b4d31f2 100755
--- a/tools/boot/potato/boot-sparc
+++ b/tools/boot/potato/boot-sparc
@@ -62,9 +62,6 @@ cp -a $tmp/debian-sparc-root/* $inst/.
 # no longer need this
 rm -rf $tmp
 
-# make this a cdrom root, this gives dbootstrap a heads up
-echo $CODENAME > $inst/cdrom_image
-
 # Get rid of some junk
 rm -f $inst/{boot_message,type.txt}
 
@@ -75,7 +72,6 @@ ln -s ../tmp/run $inst/var/run
 
 # Hack...need a better way
 ln -s ../tmp/resolv.conf $inst/etc/resolv.conf
-ln -s ../target/etc/modules.conf $inst/etc/modules.conf
 ln -s ../../target/usr/bin/whiptail $inst/usr/bin/whiptail
 rmdir $inst/lib/modules
 ln -s ../target/lib/modules $inst/lib/modules
diff --git a/tools/boot/potato/sparc-etc/silo.conf b/tools/boot/potato/sparc-etc/silo.conf
index 444b8e22..0115f16a 100644
--- a/tools/boot/potato/sparc-etc/silo.conf
+++ b/tools/boot/potato/sparc-etc/silo.conf
@@ -3,6 +3,7 @@ timeout=600
 read-only
 message=/etc/debian.txt
 default=welcome
+append="cdrom"
 image[sun4c,sun4d,sun4m]=/boot/sun4cdm/linux
    label=s
    alias=scsi