small cleanups for mipse(el) - patch
Here we go again...this time *with* the patch attached...
> The attached patch
> - disables the library reduction for mips(takes ages and is not really
> needed for nfs root installs(which is the only currently supported
> method)
> - adds dvhtool to the root.bin for mips since we want this around to
> make the system bootable from harddisk
> - marks PTYPE_SGI_VOL & PTYPE_SGI_VOLHDR as FSTYPE_UNKNOWN so it
> stops to confuse the installer(the volumehdr was offered as a
> mountable partition).
BTW I'm not subscribed to debian-boot so please cc.
-- Guido
Index: rootdisk.sh
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/rootdisk.sh,v
retrieving revision 1.228
diff -u -u -r1.228 rootdisk.sh
--- rootdisk.sh 2001/07/18 23:50:35 1.228
+++ rootdisk.sh 2001/07/29 21:28:07
@@ -602,7 +602,7 @@
fi
# do library reduction for platforms where it works
-if [ "$arch" != "ia64" ]; then
+if [ "$arch" != "ia64" -a "$arch" != "mips" ] ; then
info "doing library reduction"
rm -f $R/lib/libc-$libcver.so $R/lib/$libcso
rm -f $R/usr/lib/libslang.so.* $R/lib/libslang.so.*
Index: scripts/rootdisk/EXTRACT_LIST_mips
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/scripts/rootdisk/EXTRACT_LIST_mips,v
retrieving revision 1.1
diff -u -u -r1.1 EXTRACT_LIST_mips
--- scripts/rootdisk/EXTRACT_LIST_mips 2001/04/15 00:41:54 1.1
+++ scripts/rootdisk/EXTRACT_LIST_mips 2001/07/29 21:28:11
@@ -1,2 +1,3 @@
libc6
util-linux
+dvhtool
Index: scripts/rootdisk/SMALL_BASE_LIST_mips
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/scripts/rootdisk/SMALL_BASE_LIST_mips,v
retrieving revision 1.1
diff -u -u -r1.1 SMALL_BASE_LIST_mips
--- scripts/rootdisk/SMALL_BASE_LIST_mips 2001/04/15 00:41:54 1.1
+++ scripts/rootdisk/SMALL_BASE_LIST_mips 2001/07/29 21:28:11
@@ -1,2 +1,3 @@
sbin/cfdisk
sbin/fdisk
+usr/sbin/dvhtool
Index: utilities/libfdisk/fdisk.c
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/libfdisk/fdisk.c,v
retrieving revision 1.59
diff -u -u -r1.59 fdisk.c
--- utilities/libfdisk/fdisk.c 2001/07/16 11:28:38 1.59
+++ utilities/libfdisk/fdisk.c 2001/07/29 21:28:25
@@ -131,6 +131,8 @@
#if HAVE_SGI_PARTITION
{ PTYPE_SGI_L_SWAP, FSTYPE_SWAP },
{ PTYPE_SGI_L_NATIVE, FSTYPE_EXT2 },
+ { PTYPE_SGI_VOLHDR, FSTYPE_UNKNOWN },
+ { PTYPE_SGI_VOL, FSTYPE_UNKNOWN },
#endif /* HAVE_SGI_PARTITION */
#if HAVE_LOOP_PARTITION
/* Fake partition types for loop mounts */
Reply to: