This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, core122 has been updated via c645bac12b753d9b8d95d61cff9b828ccbe3d391 (commit) from 3694296e56ad3e3698f3c0a68d36226eb917794a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c645bac12b753d9b8d95d61cff9b828ccbe3d391 Author: Arne Fitzenreiter Date: Sun Jul 8 18:11:58 2018 +0200 core121: add diskspace check for /boot Signed-off-by: Arne Fitzenreiter ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/121/update.sh | 7 +++++++ 1 file changed, 7 insertions(+) Difference in files: diff --git a/config/rootfiles/core/121/update.sh b/config/rootfiles/core/121/update.sh index 18019c1d7..bee8fd24f 100644 --- a/config/rootfiles/core/121/update.sh +++ b/config/rootfiles/core/121/update.sh @@ -59,6 +59,13 @@ if [ $ROOTSPACE -lt 220000 ]; then exit 2 fi +BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1` + +if [ $BOOTSPACE -lt 22000 ]; then + exit_with_error "ERROR cannot update because not enough free space on /boot." 3 + exit 3 +fi + # Stop services # Extract files hooks/post-receive -- IPFire 2.x development tree