mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Small cleanup
This commit is contained in:
@@ -58,7 +58,3 @@ if [[ $BUILD_ALL == yes || $BUILD_ALL == demo ]]; then
|
||||
else
|
||||
source $SRC/lib/main.sh
|
||||
fi
|
||||
|
||||
# hook for function to run after build, i.e. to change owner of $SRC
|
||||
# NOTE: this will run only if there were no errors during build process
|
||||
[[ $(type -t run_after_build) == function ]] && run_after_build || true
|
||||
|
||||
@@ -477,7 +477,7 @@ prepare_host()
|
||||
# packages list for host
|
||||
# NOTE: please sync any changes here with the Dockerfile and Vagrantfile
|
||||
local hostdeps="wget ca-certificates device-tree-compiler pv bc lzop zip binfmt-support build-essential ccache debootstrap ntpdate \
|
||||
gawk gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi qemu-user-static u-boot-tools uuid-dev zlib1g-dev unzip libusb-1.0-0-dev ntpdate \
|
||||
gawk gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi qemu-user-static u-boot-tools uuid-dev zlib1g-dev unzip libusb-1.0-0-dev \
|
||||
parted pkg-config libncurses5-dev whiptail debian-keyring debian-archive-keyring f2fs-tools libfile-fcntllock-perl rsync libssl-dev \
|
||||
nfs-kernel-server btrfs-tools gcc-aarch64-linux-gnu ncurses-term p7zip-full dos2unix dosfstools libc6-dev-armhf-cross libc6-dev-armel-cross \
|
||||
libc6-dev-arm64-cross curl gcc-arm-none-eabi libnewlib-arm-none-eabi patchutils python liblz4-tool libpython2.7-dev linux-base swig libpython-dev \
|
||||
|
||||
@@ -303,6 +303,10 @@ else
|
||||
display_alert "File name" "${CHOSEN_KERNEL}_${REVISION}_${ARCH}.deb" "info"
|
||||
fi
|
||||
|
||||
# hook for function to run after build, i.e. to change owner of $SRC
|
||||
# NOTE: this will run only if there were no errors during build process
|
||||
[[ $(type -t run_after_build) == function ]] && run_after_build || true
|
||||
|
||||
end=`date +%s`
|
||||
runtime=$(((end-start)/60))
|
||||
display_alert "Runtime" "$runtime min" "info"
|
||||
|
||||
Reference in New Issue
Block a user