mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: add build_package to build packages
sometime we only want to build package so we can just ./make.sh build_package and skip other build processes. Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
12
make.sh
12
make.sh
@@ -2511,6 +2511,18 @@ build)
|
||||
|
||||
print_build_summary $(( SECONDS - START_TIME ))
|
||||
;;
|
||||
build_package)
|
||||
START_TIME="${SECONDS}"
|
||||
|
||||
# Launch in a new namespace
|
||||
exec_in_namespace "$@"
|
||||
|
||||
# Prepare the environment
|
||||
prepareenv --required-space=8192
|
||||
|
||||
# Build all packages
|
||||
build_packages
|
||||
;;
|
||||
tail)
|
||||
tail -F \
|
||||
"${LOG_DIR}/_build.preparation.log" \
|
||||
|
||||
Reference in New Issue
Block a user