Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386 This is the i386 version of the support for ful...



details:   https://anonhg.NetBSD.org/src/rev/7580b420f96d
branches:  trunk
changeset: 787936:7580b420f96d
user:      khorben <khorben%NetBSD.org@localhost>
date:      Tue Jul 16 02:10:43 2013 +0000

description:
This is the i386 version of the support for full-disk encryption; this commit allows building the ramdisk required as well as the associated kernel module (to be loaded in the kernel by the 
bootloader).

This was tested on my Lenovo ThinkPad X301 just like for the amd64 port.

XXX implement support for full-disk encryption installs in sysinst

diffstat:

 distrib/i386/Makefile                          |   3 +-
 distrib/i386/kmod-cgdroot/Makefile             |   6 ++++
 distrib/i386/ramdisks/Makefile                 |   3 +-
 distrib/i386/ramdisks/ramdisk-cgdroot/Makefile |  19 +++++++++++++++
 distrib/i386/ramdisks/ramdisk-cgdroot/list     |  32 ++++++++++++++++++++++++++
 5 files changed, 61 insertions(+), 2 deletions(-)

diffs (98 lines):

diff -r 49386ee3d10c -r 7580b420f96d distrib/i386/Makefile
--- a/distrib/i386/Makefile     Mon Jul 15 20:33:11 2013 +0000
+++ b/distrib/i386/Makefile     Tue Jul 16 02:10:43 2013 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.9 2012/01/22 03:53:32 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.10 2013/07/16 02:10:43 khorben Exp $
 
 SUBDIR=
 SUBDIR+=       ramdisks
 SUBDIR+=       .WAIT
 SUBDIR+=       instkernel
 SUBDIR+=       kmod
+SUBDIR+=       kmod-cgdroot
 SUBDIR+=       .WAIT
 SUBDIR+=       cdroms
 SUBDIR+=       floppies
diff -r 49386ee3d10c -r 7580b420f96d distrib/i386/kmod-cgdroot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/i386/kmod-cgdroot/Makefile        Tue Jul 16 02:10:43 2013 +0000
@@ -0,0 +1,6 @@
+#      $NetBSD: Makefile,v 1.1 2013/07/16 02:10:43 khorben Exp $
+
+MINIROOT=      cgdroot
+RAMDISK=       ramdisk-cgdroot
+
+.include "../../common/Makefile.minirootkmod"
diff -r 49386ee3d10c -r 7580b420f96d distrib/i386/ramdisks/Makefile
--- a/distrib/i386/ramdisks/Makefile    Mon Jul 15 20:33:11 2013 +0000
+++ b/distrib/i386/ramdisks/Makefile    Tue Jul 16 02:10:43 2013 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.3 2008/05/02 23:13:06 ad Exp $
+#      $NetBSD: Makefile,v 1.4 2013/07/16 02:10:43 khorben Exp $
 
 SUBDIR=
 SUBDIR+=       ramdisk-big
+SUBDIR+=       ramdisk-cgdroot
 
 TARGETS+=      release
 
diff -r 49386ee3d10c -r 7580b420f96d distrib/i386/ramdisks/ramdisk-cgdroot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/i386/ramdisks/ramdisk-cgdroot/Makefile    Tue Jul 16 02:10:43 2013 +0000
@@ -0,0 +1,19 @@
+#      $NetBSD: Makefile,v 1.1 2013/07/16 02:10:43 khorben Exp $
+
+BOOTMODEL=     big
+IMAGE=         ramdisk-cgdroot.fs
+IMAGESIZE=     5000k
+IMAGEDEPENDS=  
+CRUNCHENV=     INIT_CHROOT=1
+SMALLPROG_INET6=1
+
+.include "${.CURDIR}/../common/Makefile.ramdisk"
+
+LISTS+=                ${DISTRIBDIR}/common/list.cgdroot
+MTREECONF+=    ${DISTRIBDIR}/common/mtree.cgdroot
+
+.if ${USE_INET6} != "no"
+LISTS+=                ${DISTRIBDIR}/common/list.inet6
+.endif
+
+MAKEFS_FLAGS+= -f 20
diff -r 49386ee3d10c -r 7580b420f96d distrib/i386/ramdisks/ramdisk-cgdroot/list
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/i386/ramdisks/ramdisk-cgdroot/list        Tue Jul 16 02:10:43 2013 +0000
@@ -0,0 +1,32 @@
+#      $NetBSD: list,v 1.1 2013/07/16 02:10:43 khorben Exp $
+
+PROG   bin/chio
+PROG   bin/dd
+PROG   bin/df
+PROG   bin/ed
+PROG   bin/mt
+PROG   bin/rcmd
+PROG   bin/sync
+
+PROG   libexec/lfs_cleanerd
+
+PROG   sbin/dkctl
+PROG   sbin/fdisk
+PROG   sbin/mbrlabel
+PROG   sbin/mount_ext2fs
+PROG   sbin/mount_lfs
+PROG   sbin/mount_ntfs
+PROG   sbin/newfs_lfs
+PROG   sbin/raidctl
+PROG   sbin/restore    sbin/rrestore
+PROG   sbin/scsictl
+PROG   sbin/shutdown
+PROG   sbin/slattach
+PROG   sbin/sysctl
+
+PROG   usr/bin/less    usr/bin/more
+PROG   usr/bin/tip
+
+PROG   usr/sbin/installboot
+
+PROG   usr/sbin/wiconfig



Home | Main Index | Thread Index | Old Index