Re: [osol-discuss] Offline install of IPS packages (not a joke)

2009-04-01 Thread C.

Shawn Walker wrote:

C. wrote:
I'm not sure when I'll get to this, but I've started to brainstorm on 
how to solve the offline install problem for IPS..  I've had a 
wrapper shell script that is capable of  pulling packages directly 
from pkg.osol.o for a while.  Yesterday I took that and updated it to 
handle the current manifest format and integrated it into our 
packaging system.  I must say there's a lot of inconsistencies in the 
manifest which I'm not sure where are coming from and had to work 
around.  (Mostly to do with symlink creation)


Off-line capability is being discussed, but it isn't as simple as 
putting the existing package files into a tarball.


As for inconsistencies in the manifest, that's pretty vague.  Care to 
discuss the specifics on pkg-discuss?
Look at the manifest.. You'll see that that some target= are trying to 
create a symlink against a file which isn't there.  (I confirmed against 
the pkg.osol.o database that it's *supposed* to be in that manifest as 
well)  I also noticed you're combining sparc/i386 stuff in the same 
manifest and beyond two arches I don't really see this being so 
scalable.  (ok. that works for now since osol isn't so portable..)


In terms of performance I doubt that it'll be "fast" with 2k packages.. 
or "fast" around update time every couple weeks or under various other 
conditions.  If you had read what I wrote clearly I never said anything 
about a tarball.. I said deb (which yes is technically an archive with a 
payload in it), but the other step was scanning for runtime 
dependencies.. (Why do I feel I'm repeating myself)


There's no need to defend IPS.. It's clear the project is still under 
heavy development and just not ready for anything except a casual 
desktop user.  If you'd like to discuss it further feel free to pm me 
and drop the list on reply.. (I'm not subbed to pkg-discuss, but if you 
cc me on any interesting discussions I'll help out where I can.)


Cheers,

./C

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Offline install of IPS packages (not a joke)

2009-04-01 Thread Shawn Walker

C. wrote:
I'm not sure when I'll get to this, but I've started to brainstorm on 
how to solve the offline install problem for IPS..  I've had a wrapper 
shell script that is capable of  pulling packages directly from 
pkg.osol.o for a while.  Yesterday I took that and updated it to handle 
the current manifest format and integrated it into our packaging 
system.  I must say there's a lot of inconsistencies in the manifest 
which I'm not sure where are coming from and had to work around.  
(Mostly to do with symlink creation)


Off-line capability is being discussed, but it isn't as simple as 
putting the existing package files into a tarball.


As for inconsistencies in the manifest, that's pretty vague.  Care to 
discuss the specifics on pkg-discuss?


all the others using debs and various other benefits.  IPS is really 
still a pre-alpha tool with lots of features missing, slow and under 
heavy development.   With minimal effort I'm pretty sure I could plug in 
almost any package format so if you prefer SuSE flavor rpms that's fine 
as well.  This is of course missing out on source packages, but I handle 
that in another way.


If you have performance concerns, you need to file bugs at 
http://defect.opensolaris.org or discuss them on pkg-discuss.


I believe you'll find the build 111a version of pkg (or the one 
currently in the gate) to be significantly faster than the build 109 and 
prior versions.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Offline install of IPS packages (not a joke)

2009-04-01 Thread C.


Hi everyone,

I'm not sure when I'll get to this, but I've started to brainstorm on 
how to solve the offline install problem for IPS..  I've had a wrapper 
shell script that is capable of  pulling packages directly from 
pkg.osol.o for a while.  Yesterday I took that and updated it to handle 
the current manifest format and integrated it into our packaging 
system.  I must say there's a lot of inconsistencies in the manifest 
which I'm not sure where are coming from and had to work around.  
(Mostly to do with symlink creation)


Here's the result of the package..

http://pkg.osunix.org/packages/dump-dangerous/sys-devel/sunstudioexpress-5.11.106.oxe  
~86M


Right now this is using my experimental oxe format (RPM5-like).  
However, last week I updated our build system to also make debs.  From 
here there's only four steps missing to support offline install.


1) Bulk mirror of pkg.osol.o (could use the sun repo, but it's so slow.. 
throttled?)

2) Bulk integration of manifest into our packaging system
3) Build packages and scan all files for runtime dependencies
4) Update the runtime dependencies for the package

With this in theory we build debs and take advantage of all the nice 
appliance and package management tools.  This could lead to a more smart 
install process allowing the selection of packages, reuse of code from 
all the others using debs and various other benefits.  IPS is really 
still a pre-alpha tool with lots of features missing, slow and under 
heavy development.   With minimal effort I'm pretty sure I could plug in 
almost any package format so if you prefer SuSE flavor rpms that's fine 
as well.  This is of course missing out on source packages, but I handle 
that in another way.


Ok.. flame away.. :)


./Christopher


(please ask more technical questions on http://sl.osunix.org/osunix-dev )
---
Community driven OpenSolaris Technology - http://www.osunix.org
blog: http://www.codestrom.com

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org