Add a manual implementation of building a release.

This commit is contained in:
Tom Alexander 2023-09-01 18:51:23 -04:00
parent 44d3cc61f5
commit 6be5ad6b3d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -5,11 +5,18 @@ IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function main {
build_release
build_release_script
}
function build_release {
function build_release_script {
/usr/src/release/release.sh -c /opt/freebsd_update_server/release.conf
}
function build_release_manually {
make -C /usr/src buildworld buildkernel
make -C /usr/src/release obj
make -C /usr/src/release release
make -C /usr/src/release install DESTDIR=/where/to/put/the/images
}
main "${@}"