OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Openbsd Update Script, System Updating/Building Made Easy!
mathemajikian
post Aug 25 2007, 11:35 AM
Post #1





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349




I wrote the following script to ease the process of updating and building an OpenBSD/Zaurus system from source. In order to have an up to date installation you'll need to answer two yes/no questions and press ENTER twice. If you'd like to give it a try you can download it from here:

Openbsdupdate Script
Save Script As: openbsdupdate
Last Updated: 03 DEC 2007
Version: 0.3.1 <Added newaliases requirement>

NOTE 1: You might have to chmod +x openbsdupdate as "root" after downloading the script. To execute the script just ./openbsdupdate as "root"

The script must be ran as "root" and requires "root's" shell to be the default ksh. If you haven't changed "roots" shell then you should be fine. I also suggest running this script outside of X. I'll continue to add a few other features ( like auto-patching a few of iamsmiths patches ) to the script over time. If you find any bugs please let me know and I'll have them fixed ASAP.

NOTE 2: Don't ignore this message!

********************************************************************************
After the Zaurus reboots login as 'root' to continue the build process
Press ENTER to reboot!
********************************************************************************
Don't login as user "joeblow" and then su into "root." You must login as "root" to continue the build process after rebooting. (However, see NOTE 4 for those using NFS mount points.)

NOTE 3: It can take up to ten minutes for source syncing to begin.

NOTE 4: If your ports/src/xenocara sources are on NFS mounts then ensure they are mounted before running this script. Also, they must be remounted before logging in as "root" after the initial reboot. I suggest removing "noauto" from your /etc/fstab NFS mount points before running this script and adding it back after the update is complete. Otherwise, you'll need to login as any "non-root" user, su into "root", mount the NFS exports, logout, and relogin as "root".
Go to the top of the page
 
+Quote Post
ZDevil
post Aug 25 2007, 06:41 PM
Post #2





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



That's very cool. It will save a lot of trouble of manually fiddling with the source (although I am not really into building the whole system from source (yet)).
Go to the top of the page
 
+Quote Post
ArchiMark
post Feb 19 2014, 02:53 PM
Post #3





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Is script still available?......

Tried link, but linked page is no longer there.....

Thanks!
Go to the top of the page
 
+Quote Post
mathemajikian
post Feb 19 2014, 05:41 PM
Post #4





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ArchiMark @ Feb 19 2014, 10:53 PM) *
Is script still available?......

Tried link, but linked page is no longer there.....

Thanks!


Scripts no longer valid. Update process has changed drastically since I originally wrote it. On the bright side it's much easier to update OpenBSD these days.
Go to the top of the page
 
+Quote Post
mathemajikian
post Feb 19 2014, 05:45 PM
Post #5





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(ArchiMark @ Feb 19 2014, 10:53 PM) *
Is script still available?......

Tried link, but linked page is no longer there.....

Thanks!


I'd also suggest reading the FAQ I wrote on how to use an NFS server to build/upgrade ports and packages. This will reduce wear and tear on your Zaurus internal hard drive.
Go to the top of the page
 
+Quote Post
ArchiMark
post Feb 19 2014, 05:57 PM
Post #6





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(mathemajikian @ Feb 19 2014, 05:41 PM) *
QUOTE(ArchiMark @ Feb 19 2014, 10:53 PM) *
Is script still available?......

Tried link, but linked page is no longer there.....

Thanks!


Scripts no longer valid. Update process has changed drastically since I originally wrote it. On the bright side it's much easier to update OpenBSD these days.


OK, thanks for explaining....
Go to the top of the page
 
+Quote Post
ArchiMark
post Feb 19 2014, 05:58 PM
Post #7





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(mathemajikian @ Feb 19 2014, 05:45 PM) *
QUOTE(ArchiMark @ Feb 19 2014, 10:53 PM) *
Is script still available?......

Tried link, but linked page is no longer there.....

Thanks!


I'd also suggest reading the FAQ I wrote on how to use an NFS server to build/upgrade ports and packages. This will reduce wear and tear on your Zaurus internal hard drive.


Will do....thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 08:04 AM