diff options
| author | khorben <khorben@NetBSD.org> | 2013-07-15 00:18:03 +0000 |
|---|---|---|
| committer | khorben <khorben@NetBSD.org> | 2013-07-15 00:18:03 +0000 |
| commit | 0ed9ee680dfa7db1bd4a0020b20d8a047b18694f (patch) | |
| tree | 9f0043157500bfcef7916547ebd650f5436c4c59 /sbin/init/Makefile | |
| parent | f5028416f104b622a38a062c52e8e01a106d7517 (diff) | |
Let init be built easily with the CHROOT capability enabled.
This allows the ramdisk used in the incoming support for full-disk encryption to contain crunched binaries (much like sysinst) while booting a regular system (unlike sysinst).
Diffstat (limited to 'sbin/init/Makefile')
| -rw-r--r-- | sbin/init/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile index b1a55ef4abb..602b5e07a30 100644 --- a/sbin/init/Makefile +++ b/sbin/init/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2009/04/11 07:58:12 lukem Exp $ +# $NetBSD: Makefile,v 1.39 2013/07/15 00:18:03 khorben Exp $ # @(#)Makefile 8.1 (Berkeley) 7/19/93 PROG= init @@ -7,7 +7,9 @@ DPADD= ${LIBUTIL} LDADD= -lutil CPPFLAGS+= -DMFS_DEV_IF_NO_CONSOLE -DSUPPORT_UTMP -DSUPPORT_UTMPX -.ifdef SMALLPROG +.ifdef INIT_CHROOT +CPPFLAGS+= -DCHROOT +.elifdef SMALLPROG CPPFLAGS+= -DLETS_GET_SMALL .else CPPFLAGS+= -DALTSHELL -DSECURE -DCHROOT |
