diff --git a/compile.sh b/compile.sh index 4febf8171b..1f72ba823f 100755 --- a/compile.sh +++ b/compile.sh @@ -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 diff --git a/lib/general.sh b/lib/general.sh index f00211e227..21cb47ca95 100644 --- a/lib/general.sh +++ b/lib/general.sh @@ -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 \ diff --git a/lib/main.sh b/lib/main.sh index 969c1a65fe..8a89f927d4 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -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"