HP-UX software distribution organization

HP/DEC/Compaq workstations/servers and operating systems (HP-UX, Tru64, OpenVMS, NonStop, etc.)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
SAQ
Posts: 5769
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

HP-UX software distribution organization

Unread postby SAQ » Mon Jan 05, 2009 11:55 am

I've been looking at the SD-UX install disks for HP-UX, and I'm a bit flummoxed. I understand the packaging systems used by SGI, Sun, IBM, xBSD, Linux, etc, but I am completely confused by the HP system. Loading up a disk in the install program and it happily goes through init and install scripts, but mount the disk and look at the filesystem and it has a tree for the software that corresponds with where it goes on the filesystem, but no scripts.

I figure there must be some species of multiple-filesystem-overlay setup with the install scripts in a separate partition/slice/whatever, which seems like an odd way to do it, and the HP SD-UX documentation doesn't elaborate much (just says "to build package use this tool and feed this into it" sort of thing).

Next step I suppose is to look at the raw disk with a hex editor, provided that I'm sufficiently interested, but I thought I'd toss it out here first.
Damn the torpedoes, full speed ahead!

Living proof that you can't keep a blithering idiot down.

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

User avatar
uridium
Posts: 104
Joined: Fri Jul 08, 2005 3:05 am
Location: Australia
Contact:

Re: HP-UX software distribution organization

Unread postby uridium » Sat May 02, 2009 6:01 pm

Should be rolled into .depot files? You can swlist -s /path/to/depotfile/package.depot
That should tell you the packages inside. Actually they're just tar files with a post-install script
that updates the package dbase after it's swinstall -s ..rah rah. Tried running sam/smh and pointing
it at the depot? It's a bit gui-ish.
Al Boyanich
adb -w -P "world> " -k /dev/meta/galaxy/ksyms /dev/god/brain

SAQ
Posts: 5769
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: HP-UX software distribution organization

Unread postby SAQ » Sun May 03, 2009 3:30 pm

I can install files just fine, it's just a matter of curiosity. When you insert a HP CD-ROM or DVD-ROM (I've tried it with 11iv1 MCOE, and 10.20 for 700s) and explore the directory structure you get (under the package name) a list of the files and where they go in the system, but there are no preinstall/postinstall scripts either in the product directory or in an obvious scripts directory.

There must be some hidden partition of the disk that holds the scripts, I guess. It's just so different from other system packaging formats, where you do have a file or set of files that have an archive of the installed files and instructions (scripts/permissions/etc).

I haven't looked at .depot files yet, just at the distro CD's. .Depots (how do you capitalize this? Computer discussions always create interesting punctuation quandaries) might be a bit more conventional.
Damn the torpedoes, full speed ahead!

Living proof that you can't keep a blithering idiot down.

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

User avatar
porter
Posts: 2917
Joined: Wed Nov 01, 2006 10:37 pm
Location: NZ

Re: HP-UX software distribution organization

Unread postby porter » Sun May 03, 2009 5:17 pm

Land of the Long White Cloud and no Software Patents.

SAQ
Posts: 5769
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: HP-UX software distribution organization

Unread postby SAQ » Sun May 03, 2009 6:30 pm

I did find some more out about it - it looks like much of that information is stored in the {CD_ROOT}/catalog/{product_name} hierarchy, but it's difficult to figure out. I guess that's because HP mixes their installation programs and their licensing scheme, rather than something like IRIX or OpenVMS where they are separate.

I'm poking into how things are done, though, and slowly figuring them out.
Damn the torpedoes, full speed ahead!

Living proof that you can't keep a blithering idiot down.

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)


Return to “HP/DEC/Compaq”

Who is online

Users browsing this forum: No registered users and 1 guest