nrelease: Add 'IMGSIZE_MB' to specify file size in units of MB The image file size was specified by the 'IMGSIZE' variable, but it's the number of 512-byte sectors, which isn't intuitive and requires a manual conversion. Add the 'IMGSIZE_MB' variable to directly specify the file size in units of MB, which is more intuitive and friendly.
nrelease: Support to use binary packages Add the new optional target "binpkgs" to allow to use binary packages, i.e., installing them with pkg(8), instead of building them from dports(7). This can be handy for end users who want to quickly build a custom image with custom packages. As pointed out by Sascha Wildner, one port may have multiple binary packages (e.g., Python flavors) or have a different name that may not be found by pkg(8). Therefore, allow to specify the exact binary package name for a port by setting 'PKG_<port>=<pkg-name>'. This feature is disabled by default, as suggested by Sascha Wildner, because the release process should be self-contained as much as possible. Update the help text and man page accordingly.
nrelease: Add back the creation of the /usr/local hierarchy on the LiveCD. Even though nothing in base uses it, it's more convenient to have the hierarchy already in place in case the user wants to install some stuff the traditional way. While doing this, remove the documentation of the 'fetch' target from release.7 since this target no longer exists now that cvsup has been removed from the LiveCD. In-discussion-with: dillon
nrelease: clean up Makefile and sync man pages & Makefile.usr * nrelease/Makefile: fix a few typos, change name of `syssrcs` target to `srcs`, to reflect current use and remove traces of old installer_* targets. * etc/Makefile: update name of src-sys tar file from nrelease and add targets for newly added src-all and pkgsrc-all tar files. * release.7: update to current method: only binary package downloaded is cvsup and add description of a few more variables. * development.7: add short description of /usr/Makefile.