[debian-edu-commits] debian-edu/ 01/01: Improve output from minimum-diskreq makefile target.

Petter Reinholdtsen pere at moszumanska.debian.org
Fri Oct 10 06:04:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository debian-edu-install.

commit c7a302e0259ac7d1b2c57f20015694149d68b9d5
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Fri Oct 10 08:04:22 2014 +0200

    Improve output from minimum-diskreq makefile target.
---
 Makefile         | 4 ++--
 debian/changelog | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index b380f3c..03e5d93 100644
--- a/Makefile
+++ b/Makefile
@@ -83,8 +83,8 @@ install-partman-recipes: update-partman-recipes
 minimum-diskreq:
 	@echo "Minimum disk requirements, in MiB:"
 	@for profile in lib/partman/recipes*/* ; do \
-	  echo -n "$$profile	" ; \
-	  grep '^[0-9]' $$profile |awk '{ sum=sum+$$1} END { print sum }' ; \
+	  req=$$(grep '^[0-9]' $$profile |awk '{ sum=sum+$$1} END { print sum }') ; \
+	  echo "$$req	$$profile" ; \
 	done
 
 status:
diff --git a/debian/changelog b/debian/changelog
index 0b78928..5d9a1f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ debian-edu-install (1.809) UNRELEASED; urgency=low
     kernels at the same time.
   * Adjust minimum size for /usr on workstation from 11072 to 11712
     MiB and /usr/ on main+workstation from 11584 to 11904 MiB.
+  * Improve output from minimum-diskreq makefile target.
 
  -- Petter Reinholdtsen <pere at debian.org>  Thu, 09 Oct 2014 10:56:54 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-install.git



More information about the debian-edu-commits mailing list