mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: firmware: don't build -full firmware if not on CI/noninteractive and board's not going to use it
- move `fakeroot_dpkg_deb_build()` from runners.sh to new utils-dpkgdeb.sh - and make it debug show the size of the source - clean off `.git` directory earlier for full build - @TODO: get rid of the "hardlinks" funky biz in there and not-copy `.git` to begin with
This commit is contained in:
@@ -122,12 +122,6 @@ function chroot_custom() {
|
||||
raw_command="$*" raw_extra="chroot_custom" TMPDIR="" run_host_command_logged_raw chroot "${target}" /bin/bash -e -o pipefail -c "$*"
|
||||
}
|
||||
|
||||
# for deb building.
|
||||
function fakeroot_dpkg_deb_build() {
|
||||
display_alert "Building .deb package" "$(basename "${3:-${2:-${1}}}" || true)" "debug"
|
||||
run_host_command_logged_raw fakeroot dpkg-deb -b "-Z${DEB_COMPRESS}" "$@"
|
||||
}
|
||||
|
||||
# for long-running, host-side expanded bash invocations.
|
||||
# the user gets a pv-based spinner based on the number of lines that flows to stdout (log messages).
|
||||
# the raw version is already redirect stderr to stdout, and we'll be running under do_with_logging,
|
||||
|
||||
Reference in New Issue
Block a user