Date: Fri, 18 Jan 2013 18:19:37 -0600 From: Brooks Davis <brooks@freebsd.org> To: arch@freebsd.org Subject: non-root installworld/distributeworld coming to current soon Message-ID: <20130119001937.GK56576@lor.one-eyed-alien.net>
next in thread | raw e-mail | index | archive | help
Now that I've merged the required features from NetBSD's install to ours It's time to implement non-root installworld and packaging. The patches found at http://people.freebsd.org/~brooks/patches/noroot accomplish this. I plan to commit them early next week. They are as follows: 00-install.sh.diff Implement the -l option in install.sh to facilitate boostrapping. 01-install_link.diff Replace all known instance of "ln -f" and "ln -fs" with "install -l h" and "install -l s". 02-infodir-644.diff Install the info directory with mode 644 rather than 444 so install-info works when run as non-root. 03-install-U.diff Use install -U in place of install.sh once we've bootstrapped the new install. It will save a few sh invocations and probably speed the build up slightly but I've not bothered to measure. 04-no_root.diff Add support for the -DNO_ROOT and METALOG= variables. Except for one case in the distributeworld path were a layer of indirection is eliminated on the way to calling "make distrib-dirs" in etc and adding variables to a few make invocations, the code leaves the non-NO_ROOT path untouched. Please review or test and provide any feedback you may have. Thanks, Brooks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130119001937.GK56576>