Use cron daily job to rebuild number of updates

Show number of security updates too
This commit is contained in:
zador-blood-stained 2017-03-24 18:12:40 +03:00
parent c811cb2ed0
commit bc3269877a
4 changed files with 142 additions and 151 deletions

View file

@ -248,8 +248,7 @@ VER=$(dpkg --info $DEST/debs/${CHOSEN_KERNEL}_${REVISION}_${ARCH}.deb | grep Des
VER="${VER/-$LINUXFAMILY/}"
# create board support package
# TODO: check and remove last part of the condition (! -d)
[[ -n $RELEASE && ! -f $DEST/debs/$RELEASE/${CHOSEN_ROOTFS}_${REVISION}_${ARCH}.deb && ! -d $DEST/debs/$RELEASE/${CHOSEN_ROOTFS}_${REVISION}_${ARCH} ]] && create_board_package
[[ -n $RELEASE && ! -f $DEST/debs/$RELEASE/${CHOSEN_ROOTFS}_${REVISION}_${ARCH}.deb ]] && create_board_package
# build additional packages
[[ $EXTERNAL_NEW == compile ]] && chroot_build_packages