1. Remove comments about broken procfs, it has been fixed.
2. Remove comments about exit status of 2 from mtree, that won't
happen any more.
3. Update mtree commands to use new -U option.
This commit is contained in:
+7
-13
@@ -1,20 +1,14 @@
|
||||
# $Id: Makefile,v 1.1 1994/09/23 08:28:25 rgrimes Exp $
|
||||
# $Id: Makefile,v 1.2 1994/09/23 09:01:20 rgrimes Exp $
|
||||
#
|
||||
|
||||
MTREE_DIR= ${.CURDIR}/../etc/mtree
|
||||
|
||||
hierarchy:
|
||||
# If this exits with an error code of 2 your file hieriarchy was
|
||||
# modified for some reason, please read the mtree output to understand
|
||||
# what was changed, then run the command again.
|
||||
#
|
||||
# XXX This will currently error out if you have a procfs mounted,
|
||||
# unmount it to get past this problem until procfs is fixed.
|
||||
#
|
||||
mtree -deu -f ${MTREE_DIR}/BSD.root.dist -p ${DESTDIR}/
|
||||
mtree -deu -f ${MTREE_DIR}/BSD.var.dist -p ${DESTDIR}/var
|
||||
mtree -deu -f ${MTREE_DIR}/BSD.usr.dist -p ${DESTDIR}/usr
|
||||
mtree -deU -f ${MTREE_DIR}/BSD.root.dist -p ${DESTDIR}/
|
||||
mtree -deU -f ${MTREE_DIR}/BSD.var.dist -p ${DESTDIR}/var
|
||||
mtree -deU -f ${MTREE_DIR}/BSD.usr.dist -p ${DESTDIR}/usr
|
||||
.if defined(MAKE_LOCAL)
|
||||
mtree -deu -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
|
||||
mtree -deU -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
|
||||
.endif
|
||||
cd ${DESTDIR}/ && rm -f ${DESTDIR}/sys && ln -s usr/src/sys sys
|
||||
rm -f ${DESTDIR}/sys
|
||||
ln -s usr/src/sys ${DESTDIR}/sys
|
||||
|
||||
Reference in New Issue
Block a user