I've managed to create a Mandrake 8.0 + xfs install CD
I'm waiting for the kernel to rebuild with the nfsd_ops patch included.
Once this is done I will change out the kernel rpm's and toss the iso
image
on my ftp server
ftp.thebarn.com
I would put it on oss but since it contains crypto code it's not allowed
there.
I'm sure there will be a lot of rough edges but it the basic
functionality is there.
I'll include the current set of changes to the installer, some of them
are
just local path changes.
Note I had change all the strings of "xfs" to lower case, mixing the
cases does
not work.
--
Russell Cattelan
--
Digital Elves inc. -- Currently on loan to SGI
Linux XFS core developer.
? .main
? patch
? patch2
Index: Makefile
===================================================================
RCS file: /cooker/gi/Makefile,v
retrieving revision 1.115
diff -u -r1.115 Makefile
--- Makefile 2001/04/15 18:01:44 1.115
+++ Makefile 2001/05/17 21:15:33
@@ -25,7 +25,7 @@
endif
DIRS = tools mdk-stage1 perl-install
-ROOTDEST = /export
+ROOTDEST = /export/bounce/xfscook
UPLOAD_DEST_ = ~/cooker
UPLOAD_DEST = $(UPLOAD_DEST_)/cooker
UPLOAD_DEST_CONTRIB = $(UPLOAD_DEST_)/contrib
Index: make_boot_img
===================================================================
RCS file: /cooker/gi/make_boot_img,v
retrieving revision 1.75
diff -u -r1.75 make_boot_img
--- make_boot_img 2001/05/01 12:54:46 1.75
+++ make_boot_img 2001/05/17 21:15:33
@@ -67,11 +67,12 @@
sub initrd {
my ($mnt, $img) = @_;
my ($ltype, $I) = $type =~ /(.*?)(64)/; $ltype ||= $type;
- my $tmp = "$ENV{HOME}/tmp/initrd";
+ # my $tmp = "$ENV{HOME}/tmp/initrd";
+ my $tmp = "/tmp/initrd";
my $tar = "$instdir/stage1-data/stage1.tar.bz2";
__ "$sudo umount $tmp $mnt 2>/dev/null";
- _ "dd if=/dev/zero of=$tmp bs=1k count=" . ($type eq "all" ? 4000 : 2000);
+ _ "dd if=/dev/zero of=$tmp bs=1k count=" . ($type eq "all" ? 16000 : 8000);
_ "$mke2fs $tmp";
_ "$sudo mount -t ext2 $tmp $mnt -o loop";
Index: update_kernel
===================================================================
RCS file: /cooker/gi/update_kernel,v
retrieving revision 1.67
diff -u -r1.67 update_kernel
--- update_kernel 2001/04/11 11:51:40 1.67
+++ update_kernel 2001/05/17 21:15:33
@@ -71,7 +71,8 @@
HD_MODULES=" $DOSMODULES $SCSI_DRIVERS $DISK_DRIVERS loop.o isofs.o
reiserfs.o"
PCMCIA_MODULES=" $DOSMODULES $PCMCIA_DRIVERS"
BIG_MODULES=" $BIG_DRIVERS"
-ALL_MODULES=" $DOSMODULES $ALL_DRIVERS loop.o isofs.o reiserfs.o"
+#ALL_MODULES=" $DOSMODULES $ALL_DRIVERS loop.o isofs.o reiserfs.o"
+ALL_MODULES=" $DOSMODULES $ALL_DRIVERS loop.o isofs.o reiserfs.o
pagebuf.o xfs_support.o xfs.o"
NOT_USEFULL_IN_STAGE1="nls_*.o parport_probe.o raid*.o serial.o smbfs.o
usb-*.o"
GENERIC_MODULES="isa-pnp.o floppy.o"
Index: perl-install/Makefile.config
===================================================================
RCS file: /cooker/gi/perl-install/Makefile.config,v
retrieving revision 1.22
diff -u -r1.22 Makefile.config
--- perl-install/Makefile.config 2001/04/07 23:00:23 1.22
+++ perl-install/Makefile.config 2001/05/17 21:15:35
@@ -8,7 +8,7 @@
STANDALONEPMS= diskdrake XFdrake mousedrake printerdrake keyboarddrake draknet
net_monitor tinyfirewall drakxconf drakxservices draksec drakboot adduserdrake
drakgw livedrake
PMS += $(STANDALONEPMS:%=standalone/%)
REP4PMS = /usr/bin/perl-install
-ROOTDEST = /export
+ROOTDEST = /export/bounce/xfscook
DEST = $(ROOTDEST)/Mandrake/mdkinst
STAGE2 = $(ROOTDEST)/Mandrake/base/mdkinst_stage2
BASE = $(ROOTDEST)/Mandrake/base
Index: perl-install/partition_table.pm
===================================================================
RCS file: /cooker/gi/perl-install/partition_table.pm,v
retrieving revision 1.98
diff -u -r1.98 partition_table.pm
--- perl-install/partition_table.pm 2001/05/16 16:02:06 1.98
+++ perl-install/partition_table.pm 2001/05/17 21:15:35
@@ -18,7 +18,7 @@
if (arch() =~ /ppc/) {
@important_types = ('Linux native', 'Linux swap', 'Apple HFS Partition',
'Apple Bootstrap');
} else {
- @important_types = ('Linux native', 'Linux swap', if_(arch() =~ /i.86/,
'ReiserFS', 'DOS FAT16', 'Win98 FAT32'));
+ @important_types = ('Linux native', 'Linux swap', if_(arch() =~ /i.86/,
'ReiserFS', 'xfs', 'DOS FAT16', 'Win98 FAT32'));
}
@important_types2 = ('Linux RAID', 'Linux Logical Volume Manager partition');
@@ -34,7 +34,7 @@
0x402 => 'Apple HFS Partition',
) : arch() =~ /^i.86/ ? (
0x183 => 'ReiserFS',
- 0x283 => 'XFS',
+ 0x283 => 'xfs',
) : arch() =~ /^sparc/ ? (
0x1 => 'SunOS boot',
0x2 => 'SunOS root',
@@ -187,7 +187,7 @@
0x1e => 'vfat',
0x82 => 'swap',
0x83 => 'ext2',
- 0x183=> 'reiserfs',
+ 0x183=> 'ReiserFS',
0x283=> 'xfs',
0x401 => 'apple',
0x402 => 'hfs',
@@ -221,7 +221,7 @@
sub isLVMBased { $_[0]{LVMname} }
sub isSwap($) { $type2fs{$_[0]{type}} eq 'swap' }
sub isExt2($) { $type2fs{$_[0]{type}} eq 'ext2' }
-sub isReiserfs($) { $type2fs{$_[0]{type}} eq 'reiserfs' }
+sub isReiserfs($) { $type2fs{$_[0]{type}} eq 'ReiserFS' }
sub isXfs($) { $type2fs{$_[0]{type}} eq 'xfs' }
sub isDos($) { arch() !~ /^sparc/ && $ {{ 1=>1, 4=>1, 6=>1 }}{$_[0]{type}} }
sub isWin($) { $ {{ 0xb=>1, 0xc=>1, 0xe=>1, 0x1b=>1, 0x1c=>1, 0x1e=>1
}}{$_[0]{type}} }
Index: perl-install/share/list
===================================================================
RCS file: /cooker/gi/perl-install/share/list,v
retrieving revision 1.71
diff -u -r1.71 list
--- perl-install/share/list 2001/04/14 12:42:42 1.71
+++ perl-install/share/list 2001/05/17 21:15:35
@@ -14,6 +14,7 @@
/sbin/fdisk
/sbin/insmod
/sbin/mkraid
+/sbin/mkfs.xfs
/sbin/mkreiserfs
/sbin/mke2fs
/sbin/raidstart
Index: rescue/Makefile
===================================================================
RCS file: /cooker/gi/rescue/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- rescue/Makefile 2001/02/22 21:10:58 1.4
+++ rescue/Makefile 2001/05/17 21:15:36
@@ -1,4 +1,4 @@
-ROOTDEST = /export
+ROOTDEST = /export/bounce/xfscook
install: rescue_stage2.bz2
cp -f $< $(ROOTDEST)/Mandrake/base
Index: tools/Makefile
===================================================================
RCS file: /cooker/gi/tools/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- tools/Makefile 2001/04/02 20:59:26 1.40
+++ tools/Makefile 2001/05/17 21:15:36
@@ -1,4 +1,4 @@
-ROOTDEST = /export
+ROOTDEST = /export/bounce/xfscook
DEST = $(ROOTDEST)/Mandrake/mdkinst
RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm)
DIRS = ddcprobe serial_probe
|