Shawn Walker wrote:
> Karen Tung wrote:
>> Jack Schwartz wrote:
>>> Hi everyone.
>>>
>>> With the latest IPS changes, it appears that the slim CD's root
>>> filesystem needs an additional ~96 Mb. "pkg install" needs the
>>> space when installing additional packages. I believe this is due to
>>> the push for 12409 and 12340.
>>>
>>> The 96 Mb breaks down to ~46Mb needed to read the /var/pkg/state/...
>>> tree into memory so it is changeable, and another ~50Mb* used to
>>> copy it as part of the pkg install operation. The slim CD manifest
>>> needs the following changes:
>>> - specify the /var/pkg/state tree as bootroot-resident
>>> ("ramdisk-resident")
>>> - specify an additional 50Mb space via
>>> img_params/output_image/boot_archive/size_pad_mb
>> If you specify /var/pkg/state in the "boot_archive_contents" list.
>> All the files that need to
>> be included should be brought in automatically, and the
>> boot_archive_archive.py finalizer script
>> should dynamically calculate the needed space. Why do you need to
>> specify an additional 50mb space
>> in size_pad_mb?
>>
>> Of course we still have the problem of the boot_archive increasing so
>> much in size as a result
>> of including /var/pkg/state.
>
> Is the boot archive not compressed?
>
The boot archive is compressed on the Live CD. However, during run
time, the whole
boot archive need to be loaded into memory.
--Karen