Previous Thread
Next Thread
Print Thread
regular .bin full installs #11484 01 Nov 18 11:53 AM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
Would it be easy to add .bin installs as a part normal part of A-Shell releases, or would it add a lot of manual effort?

I ask because we have a scripted process to update customer's A-Shell version from a custom created .tar.gz

The process that builds the .tar.gz does the following
1. it starts by downloading the latest .bin file
2. installs it to a temporary director via cpio/ash_install
3. adds the latest version of .so files to the bin directory
4. creates .tar.gz

The current problem that it doesn't contain the latest .LIT files. I was going to try to use UPDCUR (before compressing the /vm directory) to handle this. In practice, when manually running UPDCUR, I have to run it multiple times to get all files to update. There are usually network issues with individual files, and running it multiple times eventually gets them downloaded (usually). This is same experience we had when using SOSUPD or ASHUPD in the past. This process just instant reliable enough to add to the .tar.gz build. This leaves our servers without the latest .LIT.

If we there were regularly posted .bin installs there would be far fewer out of date .LIT files to begin with.


Stephen Funkhouser
Diversified Data Solutions
Re: regular .bin full installs #11485 01 Nov 18 12:39 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I just need to up my build/scripting game.

Re: regular .bin full installs #11486 01 Nov 18 06:54 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
That would be much appreciated


Stephen Funkhouser
Diversified Data Solutions
Re: regular .bin full installs #11487 11 Nov 18 06:38 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I posted an el7 complete bin release if you want to try it...

ash-6.5.1650.1-el7.bin

Note that the bin no longer includes the 90x,* sample directories.

Also, it is now possible to execute the ash_install via sudo, i.e.

Code
$ cpio -iuB ash_install < /tmp/ash-6.5.1650.1-el7.bin
$ sudo ./ash_install

Re: regular .bin full installs #11488 13 Nov 18 01:58 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
I had to make an adjustment to the ash_install processing script to revert back to USERID=$LOGNAME, but other than that it seems to work just fine.


Stephen Funkhouser
Diversified Data Solutions
Re: regular .bin full installs #11489 02 May 19 11:08 AM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
Is there a historical or some other reason for .run/.lit/.sbx files to be in the /vm/miame directory after a new .bin install?


Stephen Funkhouser
Diversified Data Solutions
Re: regular .bin full installs #11490 02 May 19 01:39 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
No, I wouldn't expect any of those file types to be in the /vm/miame directory after a new .bin install. What install package were you using? It may have been that the installation got aborted, or there is a bug in that version of the package. Or maybe they were there from long ago?

Normally you should only have the subdirectories (bin, dsk0, etc.), the miame.ini, and possibly some text files.

Re: regular .bin full installs #11491 02 May 19 01:53 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
In this specific case it's from ash-6.5.1651.8-el7.bin.

Here's a snippet of the /vm/miame immediately after ash_install is ran to an empty directory.
[Linked Image]

You can see there not only .lit/.sbx/etc. but also backup copies .s01, .p01, .new file extensions. Not a huge deal, just running it up the flagpole.


Stephen Funkhouser
Diversified Data Solutions
Re: regular .bin full installs #11492 02 May 19 01:58 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
Something amiss there, I need to review that. I think they come from the fact that the install builder dumps everything into that directory and then moves them individually to their appointed locations. Anything left over would be surplus files that found their way into the install source staging area that weren't actually part of the installation.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3