Build the cgdroot ramdisk by default (for full-disk encryption support). It currently contains the same utilities found in an amd64 sysinst ramdisk, which should be useful in case of emergency.

This commit is contained in:
khorben 2013-07-15 00:22:10 +00:00
parent 257dd81b98
commit 57ee0cb14c
3 changed files with 50 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.1 2006/06/02 22:11:52 hubertf Exp $
# $NetBSD: Makefile,v 1.2 2013/07/15 00:22:10 khorben Exp $
SUBDIR=
SUBDIR+= ramdisk
SUBDIR+= ramdisk-cgdroot
TARGETS+= release

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/07/15 00:22:10 khorben Exp $
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

View File

@ -0,0 +1,32 @@
# $NetBSD: list,v 1.1 2013/07/15 00:22:10 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