Package: live-helper
Version: 1.0~a38-1
Severity: Normal
Tags: Patch

When building a very minimal live system on a usb-hdd target, the
generated image is too small.  The problem is in lh_binary_usb-hdd, line
85:

REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 50)"

A very minimal system is smaller than 50MB, and so this is the same as
DU_DIM for such a system.  This is too small.  Unconditionally adding
one, making it:

REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 50 + 1)"

Solves the problem.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature

_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to