Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Sat Apr 19, 2014 7:12 pm

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
Unread postPosted: Mon Jan 05, 2009 11:55 am 
Offline

Joined: Wed Jul 19, 2006 7:37 am
Posts: 5735
Location: Renton, WA
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!

There are those who say I'm a bit of a curmudgeon. To them I reply: "GET OFF MY LAWN!"

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


Top
 Profile  
 
Unread postPosted: Sat May 02, 2009 5:01 pm 
Offline
User avatar

Joined: Fri Jul 08, 2005 2:05 am
Posts: 97
Location: Australia
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


Top
 Profile  
 
Unread postPosted: Sun May 03, 2009 2:30 pm 
Offline

Joined: Wed Jul 19, 2006 7:37 am
Posts: 5735
Location: Renton, WA
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!

There are those who say I'm a bit of a curmudgeon. To them I reply: "GET OFF MY LAWN!"

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


Top
 Profile  
 
Unread postPosted: Sun May 03, 2009 4:17 pm 
Offline
User avatar

Joined: Wed Nov 01, 2006 10:37 pm
Posts: 2913
Location: NZ
This gets nitty gritty quite quickly...

http://www.massconfusion.com/tim/notes/hpux_depot_create_howto.txt

_________________
Land of the Long White Cloud and no Software Patents.


Top
 Profile  
 
Unread postPosted: Sun May 03, 2009 5:30 pm 
Offline

Joined: Wed Jul 19, 2006 7:37 am
Posts: 5735
Location: Renton, WA
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!

There are those who say I'm a bit of a curmudgeon. To them I reply: "GET OFF MY LAWN!"

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group