AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<Bruce.Edge@lsi.com>,<larry.scheer@lsi.com>,<John.G.Logan@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	4BBB79C2.9040708@lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 7 Apr 2010 13:47:53 -0700
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Edge, Bruce" <Bruce.Edge@lsi.com>
Cc: Larry Scheer <larry.scheer@lsi.com>, "Logan, John G."
 <John.G.Logan@lsi.com>
Subject: Re: Image package details
Message-ID: <20100407134753.43c959b9@ripper.onstor.net>
In-Reply-To: <4BBB79C2.9040708@lsi.com>
References: <4BBB79C2.9040708@lsi.com>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 6 Apr 2010 12:13:22 -0600 "Edge, Bruce" <Bruce.Edge@lsi.com>
wrote:

> Hi Andy,
> I wanted to let you see the mechanism I used to construct the image
> packages that we're using on the DPM OSA. The build mech is pretty
> embedded in the tree, so rather than try give you a set of files I
> setup an account on a build server so that you could look at the
> whole tree.
> 
> The creds are asharp/asharp on a server names kaan.

OK, I'm in.  I'd like to change that passwd, but I'm getting an error:

asharp@kaan:~$ passwd
Enter login(LDAP) password: 
passwd: Authentication information cannot be recovered
passwd: password unchanged
asharp@kaan:~$ 


> You home dir is the root of the build tree.
> 
> Locations of interest are:
> 
> Images/Install/packages/dpm-bm/debian
> This is where a complete installable image is built using
> "dpkg-buildpackage -b". Again, the resultant package is not an
> installable deb, rather it's the entire rootfs as a payload in a .deb.
> 
> Images/Install/packages/common/debian
> These are the maintainer scripts that are common to all image
> packages. Currently the only one we've tested all the way through is
> the dpm-bm (bare-metal) image. This is a non-Xen variant. The dirs
> are there under packages/... for all the VM's we plan to build.
> 
> Literal/osa-cfg/usr/local/bin/osa-install.py
> This is the installer. It takes the .debs built above and unpacks
> them onto a partition on the other bootset.
> 
> It helps to know that the lvm layout we have is:
>   LV        VG     Attr   LSize   Origin Snap%  Move Log Copy%
> Convert common    system -wi-ao 389.29G
>   dom0-swap system -wi-ao 952.00M
>   dom0_0    system -wi-ao   4.66G
>   dom0_1    system -wi-a-   4.66G
>   dpm-swap  system -wi-a- 952.00M
>   dpm_0     system -wi-a-   4.66G
>   dpm_1     system -wi-a-   4.66G
>   svm_0     system -wi-a-  27.94G
>   svm_1     system -wi-a-  27.95G
> 
> Yeah, look at those sizes and weep :-)
> Sorry, our last platform was flash based. I'm happy this one isn't.

Real pros don't need more than 1GB.  I'm just sayin' ~:^)

> OS/Debian
> This is where the pbuilder config lives. This defines the packages
> that are pulled into the default tree.
> 
> There's no place yet for the accompanying Xen config bits. I'll be
> adding those in the next month or so as we're transitioning to Xen as
> the primary dev platform.
> 
> Let me know if you have any questions about any of this, or just want
> to chat about installer options in general.

Thanks.  I'll try to squeeze in some time to look things over.

I'm also cc'ing Larry Scheer, he's the build/make force majeure around
here.

Cheers,

a
