Your message dated Wed, 01 Jan 2025 21:50:44 +0000
with message-id <e1tt6c0-00d73i...@fasolo.debian.org>
and subject line Bug#570410: fixed in partman-base 231
has caused the Debian Bug report #570410,
regarding partman-base: Please default to GB
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
570410: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570410
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: partman-base
Version: 137
Severity: wishlist
Tags: patch

if one partitions and neglects to add a suffix partman falls back
to use megabytes. noticed on a goofed installed where debootstrap
failed due to full disk. better default to gigabytes these days.

said root had 34 MB instead of 34 GB.

Signed-off-by: maximilian attems <m...@stro.at>

diff --git a/packages/partman/partman-base/lib/base.sh 
b/packages/partman/partman-base/lib/base.sh
index bce0e65..4cce227 100644
--- a/packages/partman/partman-base/lib/base.sh
+++ b/packages/partman/partman-base/lib/base.sh
@@ -363,8 +363,8 @@ human2longint () {
                # bytes
                #longint=${longint%????}
                #[ "$longint" ] || longint=0
-               # megabytes
-               longint=${longint}00
+               # gigabytes
+               longint=${longint}00000
                ;;
        esac
        echo $longint

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: partman-base
Source-Version: 231
Done: Holger Wansing <hwans...@mailbox.org>

We believe that the bug you reported is fixed in the latest version of
partman-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 570...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Wansing <hwans...@mailbox.org> (supplier of updated partman-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 01 Jan 2025 22:17:22 +0100
Source: partman-base
Architecture: source
Version: 231
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Holger Wansing <hwans...@mailbox.org>
Closes: 570410
Changes:
 partman-base (231) unstable; urgency=medium
 .
   * Team upload.
 .
   * Change default unit from MB to GB. Closes: #570410
 .
   [ Updated translations ]
   * Persian (fa.po) by Danial Behzadi
   * Romanian (ro.po) by Remus-Gabriel Chelu
   * Tamil (ta.po) by TamilNeram
Checksums-Sha1:
 27cddc1289a848068082a996aec000003ae50c3f 1856 partman-base_231.dsc
 427fc847e5ee4defd9d710c7cf95681fe0fd9be5 179252 partman-base_231.tar.xz
 7a76b7eadac99b80d6c4c68d375df4057bb9003e 6845 partman-base_231_amd64.buildinfo
Checksums-Sha256:
 b621064590120eaac0f010fb3dd37eeeb161ee3bf889a6159f296920ab110aec 1856 
partman-base_231.dsc
 1765fbbcacbd5e9c714db6c8914274cd87e27265f5c7a50b9e158670907dc787 179252 
partman-base_231.tar.xz
 57c52c958b82964ff9b089558b813035b8dffb8ab7edac2108ed43d6a5d82dbd 6845 
partman-base_231_amd64.buildinfo
Files:
 7893876fe8e95fe526abef25ab81f760 1856 debian-installer standard 
partman-base_231.dsc
 5c14492a0a05006a37e1d3dcaabde9b5 179252 debian-installer standard 
partman-base_231.tar.xz
 9aec7612018c933881cb8724e6ee8aac 6845 debian-installer standard 
partman-base_231_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCgAzFiEESWrG6BRCSzSFCDUpWfGHyhVusHYFAmd1ss8VHGh3YW5zaW5n
QG1haWxib3gub3JnAAoJEFnxh8oVbrB2plUP/19REa2g98lC1j1KTfSTxo5LlWLs
CAAQspMju13J1LI1okihmxsKanfJv3FPmjBMAA6JsRVPRsY9PqV8sv8el1QptZHR
pZNKjTpkMqA3MkQRxYiguPGCgd1ZDoSvyA69g/qY9XTgFrN2JlqTXiH2sT1DuyXx
DBwgf5VEZewgMmXgB2YGlZVieSa+5NDLra5EgzE4pgsS+6OSXL6l36wurZbyWDGS
5piTFFOTewX0BkC3WCBEeR5ev2owPIrVf7bVd9z6gYm6CBVzi8LTEA5og4Q9Bs7X
h/A1VFZzXo1m5tLR508Jqo6OPb1OMfPC689lkT+fycboKii/pcvT+yxVkhVS0poc
LRoYdkQ5jWyI2OCCqtzJAFk0PNp4V/7SvAmePPu+Inv3xP+EYaPjsINV4HYOB35n
Pj0pNshwp4sWdyQKilXdrUGHULDdqFe6VqtCB/JXeJ2JeHomubcsrrmvSOwXLnUE
Mr0wbI0HKS158vUnoon+Slu3Lkki4Eg2MnHCn4GMgEADIBPKvXnF+4pFzq9+9aCR
RAumHsn7FztMRf0dmdjpV8WJ+I68NBf/MQTec9JBNjT613ZD7EjxZLDo3Vtn6YA4
2ZCWWeCfwggoyCU/lBk0rmWpWtaGr0wBat/7M7TQdQgfpjtZN/czJbSk4F4UMSo+
W1KDPzoAsTuoU6SM
=IxuM
-----END PGP SIGNATURE-----

Attachment: pgp88vj0sXNT6.pgp
Description: PGP signature


--- End Message ---

Reply via email to