Subject: install to lfs
To: port-amd64@NetBSD.org, Frank van der Linden <fvdl@NetBSD.org>
From: Stephen Degler <sdegler@degler.net>
List: port-amd64
Date: 08/20/2007 11:56:42
This is a multi-part message in MIME format.
--------------010801060700050409040708
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I'm cleaning out the patch closet :-).
This set of patches should enable one to install to LFS using sysinstall.
At least, this is how the laptop I'm using was created.

Shall I commit them?
skd




--------------010801060700050409040708
Content-Type: text/x-patch;
 name="amd64.lfs-install.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="amd64.lfs-install.patch"

Index: distrib/common/mtree.common
===================================================================
RCS file: /cvsroot/src/distrib/common/mtree.common,v
retrieving revision 1.6
diff -u -u -r1.6 mtree.common
--- distrib/common/mtree.common	11 Nov 2006 14:47:27 -0000	1.6
+++ distrib/common/mtree.common	20 Aug 2007 05:12:56 -0000
@@ -15,6 +15,7 @@
 ./tmp				mode=01777
 ./usr
 ./usr/bin
+./usr/libexec
 ./usr/mdec
 ./usr/sbin
 ./usr/share
Index: distrib/amd64/ramdisks/ramdisk/list
===================================================================
RCS file: /cvsroot/src/distrib/amd64/ramdisks/ramdisk/list,v
retrieving revision 1.2
diff -u -u -r1.2 list
--- distrib/amd64/ramdisks/ramdisk/list	17 Jan 2007 20:42:53 -0000	1.2
+++ distrib/amd64/ramdisks/ramdisk/list	20 Aug 2007 05:12:56 -0000
@@ -36,10 +36,12 @@
 PROG	sbin/mount_ext2fs
 PROG	sbin/mount_ffs
 PROG	sbin/mount_kernfs
+PROG	sbin/mount_lfs
 PROG	sbin/mount_msdos
 PROG	sbin/mount_nfs
 PROG	sbin/mount_ntfs
 PROG	sbin/newfs	sbin/mount_mfs
+PROG	sbin/newfs_lfs
 PROG	sbin/ping
 PROG	sbin/raidctl
 PROG	sbin/reboot	sbin/halt
@@ -54,6 +56,8 @@
 PROG	usr/bin/less	usr/bin/more
 PROG	usr/bin/sed
 
+PROG	usr/libexec/lfs_cleanerd
+
 PROG	usr/sbin/installboot
 
 PROG	usr/sbin/chown	usr/bin/chgrp
Index: distrib/amd64/ramdisks/common/list.ramdisk
===================================================================
RCS file: /cvsroot/src/distrib/amd64/ramdisks/common/list.ramdisk,v
retrieving revision 1.2
diff -u -u -r1.2 list.ramdisk
--- distrib/amd64/ramdisks/common/list.ramdisk	10 May 2007 23:22:28 -0000	1.2
+++ distrib/amd64/ramdisks/common/list.ramdisk	20 Aug 2007 05:12:56 -0000
@@ -19,6 +19,7 @@
 COPY	${DESTDIR}/usr/mdec/boot		usr/mdec/boot
 COPY	${DESTDIR}/usr/mdec/bootxx_ffsv1	usr/mdec/bootxx_ffsv1
 COPY	${DESTDIR}/usr/mdec/bootxx_ffsv2	usr/mdec/bootxx_ffsv2
+COPY	${DESTDIR}/usr/mdec/bootxx_lfsv2	usr/mdec/bootxx_lfsv2
 COPY	${DESTDIR}/usr/mdec/mbr			usr/mdec/mbr
 COPY	${DESTDIR}/usr/mdec/mbr_ext		usr/mdec/mbr_ext
 COPY	${DESTDIR}/usr/mdec/mbr_bootsel		usr/mdec/mbr_bootsel

--------------010801060700050409040708--