Browse Source

* Increase the minimum free disk for automatic selection of the desktop task

to 3 gb. Needed since the desktop task has grown somewhat, to around 2.5
  gb, and since several hundred megabytes are needed for debs in /var
  (which might be on the same partition).
  2.5 gb free is tested to currently work in a standard single-partition
  layout when installing standard+desktop+laptop, so this leaves some room
  for future bloat, and for localisation and other tasks. Closes: #405129
tags/2.61
Joey Hess 14 years ago
parent
commit
7648f17bc2
2 changed files with 17 additions and 4 deletions
  1. +14
    -2
      debian/changelog
  2. +3
    -2
      tests/desktop

+ 14
- 2
debian/changelog View File

@@ -1,4 +1,16 @@
tasksel (2.60) UNRELEASED; urgency=low
tasksel (2.61) unstable; urgency=low

* Increase the minimum free disk for automatic selection of the desktop task
to 3 gb. Needed since the desktop task has grown somewhat, to around 2.5
gb, and since several hundred megabytes are needed for debs in /var
(which might be on the same partition).
2.5 gb free is tested to currently work in a standard single-partition
layout when installing standard+desktop+laptop, so this leaves some room
for future bloat, and for localisation and other tasks. Closes: #405129

-- Joey Hess <joeyh@debian.org> Tue, 2 Jan 2007 15:49:11 -0500

tasksel (2.60) unstable; urgency=low

[ Rene Engelhard ]
* add openoffice.org-{l10n,help}-dz to dzonghka-desktop
@@ -31,7 +43,7 @@ tasksel (2.60) UNRELEASED; urgency=low
[ Translations of debconf templates ]
- Slovenian updated

-- Joey Hess <joeyh@debian.org> Thu, 28 Dec 2006 21:25:40 -0500
-- Joey Hess <joeyh@debian.org> Thu, 28 Dec 2006 21:31:12 -0500

tasksel (2.59) unstable; urgency=low



+ 3
- 2
tests/desktop View File

@@ -54,11 +54,12 @@ enough_ram () {
fi
}

# The desktop task requires 2 gb or so of disk in /usr.
# The desktop task requires 2 gb or so of disk in /usr, and .5 in /var for
# the debs.
# FIXME: this should really be generalised and used for tasksel to not
# suggest any task for which there is not enough disk.
enough_disk () {
min_disk=2
min_disk=3
disk=$(df -P /usr | tail -1 | awk '{print $4}')
if [ "$disk" ] && [ "$disk" -ge "$(expr $min_disk \* 1024 \* 1024)" ]; then
return 0


Loading…
Cancel
Save