From mboxrd@z Thu Jan  1 00:00:00 1970
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, core122,
 updated. c645bac12b753d9b8d95d61cff9b828ccbe3d391
Date: Sun, 08 Jul 2018 18:05:14 +0100
Message-ID: <20180708170515.25AD21081BD8@git01.ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7403016146847787513=="
List-Id: <ipfire-scm.lists.ipfire.org>

--===============7403016146847787513==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

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 <arne_f(a)ipfire.org>
Date:   Sun Jul 8 18:11:58 2018 +0200

    core121: add diskspace check for /boot
   =20
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

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
=20
+BOOTSPACE=3D`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
=20
 # Extract files


hooks/post-receive
--
IPFire 2.x development tree

--===============7403016146847787513==--