[Midnightbsd-cvs] src: Makefile: Add some comments.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu May 22 16:47:40 EDT 2008

Log Message:
Add some comments.

Delete /var/empty as it's created automagically and causing a tar extract error when we boot up.

Modified Files:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
RCS file: /home/cvs/src/nrelease/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -L nrelease/Makefile -L nrelease/Makefile -u -r1.4 -r1.5
--- nrelease/Makefile
+++ nrelease/Makefile
@@ -42,6 +42,10 @@
 	mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.var.dist -p ${ISOROOT}/var
 	cp /usr/local/bin/mkisofs ${ISOROOT}/usr/local/bin
 	cp /usr/local/man/man8/mkisofs.8.gz ${ISOROOT}/usr/local/man/man8
+	# Remove /var/empty
+	chflags -R noschg ${ISOROOT}/var/empty
+	rm ${ISOROOT/var/empty
+	# tar up /var, /root, and /usr/local/etc for md
 	( cd ${ISOROOT}; tar czf var.tgz var )
 	( cd ${ISOROOT}; tar czf root.tgz root )
 	( cd ${ISOROOT}; tar czf ule.tgz usr/local/etc )

More information about the Midnightbsd-cvs mailing list