summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-06-19 18:34:49 +0000
committermarcel <marcel@FreeBSD.org>2011-06-19 18:34:49 +0000
commit20c059f23d5a3b162be17082e5b8821bf732b51e (patch)
tree37460b1b2feaf7ef18a34182cc01112b349d7ae8 /usr.sbin/makefs/Makefile
parent6842f5f27fa5682989254819297be4d8c24cf281 (diff)
downloadFreeBSD-src-20c059f23d5a3b162be17082e5b8821bf732b51e.zip
FreeBSD-src-20c059f23d5a3b162be17082e5b8821bf732b51e.tar.gz
Add support for using mtree(5) manifest files to define the image
to be created. The support is based on mtree version 2.0, as used in libarchive, but adds new features on top of it. The current implementation is fully functional, but is envisioned to grow at least the following additional features over time: o Add support for the /include special command so that manifest files can be constructed using includable fragments. o Add support specifying a search path to locate content files. o Content file filters: commands that provide file contents on stdout. The manifest file eliminates the need to first construct a tree as root in order to create an image and allows images (releases) to be created directly from object trees and/or source trees. Reviewed by: deo Sponsored by: Juniper Networks, Inc
Diffstat (limited to 'usr.sbin/makefs/Makefile')
-rw-r--r--usr.sbin/makefs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/makefs/Makefile b/usr.sbin/makefs/Makefile
index 37eeb38..6fa0679 100644
--- a/usr.sbin/makefs/Makefile
+++ b/usr.sbin/makefs/Makefile
@@ -7,6 +7,7 @@ CFLAGS+=-I${.CURDIR}
SRCS= cd9660.c ffs.c \
getid.c \
makefs.c \
+ mtree.c \
walk.c
MAN= makefs.8
@@ -26,4 +27,7 @@ SRCS+= misc.c spec.c
.PATH: ${.CURDIR}/../../sys/ufs/ffs
SRCS+= ffs_tables.c
+DPADD= ${LIBSBUF}
+LDADD= -lsbuf
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud