Bug 2810 - pkg archive size not big enough sometimes
: pkg archive size not big enough sometimes
Status: RESOLVED FIXINBUILD
Product: distro-constructor
dc-cli
: unspecified
: Other Solaris
: P1 critical (vote)
: 2008.11
Assigned To: Karen Tung
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-08-06 15:29 UTC by Karen Tung
Modified: 2008-11-24 12:51 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Karen Tung 2008-08-06 15:29:57 UTC
The fix for bug 2716 introduced the pkg.zlib archive.  This archive
is for storing IPS data.  To determine the size of this archive,
"du -sk" is used on the var/pkg directory.  We take the result
of "du" and do a "mkfile".

When building a test image for b95, we found that there is not
enough space if we just do "mkfile" with the output of "du -sk".
We didn't take into account the bookkeeping data that is taking
up small amount of space in the archive.

To fix this, we will create the archive with 1% extra space based
on the output of "du -sk"
Comment 1 Karen Tung 2008-08-12 11:22:04 UTC
Fixed in:

changeset:   102:ef08a25b1d1c