Fix immutable flag handling in our mtree(8) invocations.
authorSascha Wildner <saw@online.de>
Sun, 6 Oct 2019 13:33:04 +0000 (15:33 +0200)
committerSascha Wildner <saw@online.de>
Sun, 6 Oct 2019 13:33:04 +0000 (15:33 +0200)
commit9758d73afa45aa6436355bee66f24d490ea5b84a
treefc9c00f69a2827218851eee394ecefdafa265ee5
parentf1c74e6b6661ec6f167dcce3e238e6ac3df6d28e
Fix immutable flag handling in our mtree(8) invocations.

All of this only affects /var/empty so far.

* If NOSCHG isn't set (which is the default), pass -i to mtree(8) when
  installing the system or building an installer img.

* Pass -i always when we install a system from the installer. This
  installer usage of mtree(8) should not be needed. Expand the comment
  a bit.

Reported-by: zrj
etc/Makefile
nrelease/Makefile
usr.sbin/installer/dfuibe_installer/fn_install.c