[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#468855: live-helper: make image large enough



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20080301/807496a4/attachment-0001.pgp 


Reply to: