An lx-branded Centos v3.8 zone

I’ve been casting around for a photo organisation app much like Google’s Picasa which I can run in Solaris, but haven’t found anything that really matches up. So I figured I’d fire up a Centos v3.8 branded Container, install Picasa and see what I could do.

In order to get this to happen, I needed to pull down Centos v3.8 (my isp’s free mirror is great) and then install the zone. As it happens, I needed to make a few changes under /usr/lib/brand/lx to make this happen.

Firstly I needed to create a /usr/lib/brand/lx/distros/centos38 file, where the major change from the centos37 file was to change the distro_serial line to read

System Message: ERROR/3 (<string>, line 9)

Content block expected for the "code-block" directive; none found.

.. code-block::
    distro_serial=1155307611.42



and remove the openoffice.org-style-gnome entry in that file, like this:

$ diff centos37.distro centos38.distro
24c24
< # ident       "@(#)centos37.distro    1.1     06/09/11 SMI"
---
> # ident       "@(#)centos36.distro    1.1     06/09/11 SMI"
28c28
< # Elementary configuration information for the Centos 3.7 distribution disc set:
---
> # Elementary configuration information for the Centos 3.8 distribution disc set:
35c35
< distro_serial=1144177644.47
---
> distro_serial=1155307611.42
47c47
< unset distro_dev_rpms
---
> unset distro_developer_rpms
51c51
< . ${distro_dir}/rhel_centos_common
---
> . ${distro_dir}/rhel_centos_common_38
53c53
< # Define the CentOS 3.7 deltas from the common cluster lists
---
> # Define the CentOS 3.8 deltas from the common cluster lists
56,58c56,58
< delta_server_rpms="$delta_core_rpms nss_db-compat sendmail-doc qt-config"
< delta_desktop_rpms="$delta_server_rpms"
< delta_developer_rpms="$delta_desktop_rpms gd-progs ruby-docs irb ruby-tcltk"
---
> delta_server_rpms="$delta_core_rpms"
> delta_desktop_rpms="$delta_server_rpm"
> delta_developer_rpms="$delta_desktop_rpms gd-progs"

Then I removed the gaim and mozilla* targets:

$ diff rhel_centos_common rhel_centos_common_38
549d548
<       gaim \
628,635d626
<       mozilla \
<       mozilla-chat \
<       mozilla-dom-inspector \
<       mozilla-js-debugger \
<       mozilla-mail \
<       mozilla-nspr \
<       mozilla-nss \

Which then allowed me to create the zone and run a flawless install.I then installed YUM after resolving this message**Error: Could not find the GPG Key necessary to validate pkg (packagename)**So I followed the instructions in this mailing list response: http://lists.centos.org/pipermail/centos/2004-December/043515.htmlI’d love to be able to say that Picasa worked just fine after I’d done that but unfortunately I get SEGVs and no joy. So I’m back looking for a suitable application to use to manage my photo collection.

Files: centos38.distro rhel_centos_common_38

Technorati Tags: Solaris, OpenSolaris, BrandZ, lx, container, zone, Centos, Picasa