Author Topic: Openbsd Update Script  (Read 10123 times)

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd Update Script
« on: August 25, 2007, 03:35:52 pm »
[img]http://content.answers.com/main/content/wp/en/3/3c/Openbsd.png\" border=\"0\" class=\"linked-image\" /]
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".
« Last Edit: December 03, 2007, 01:41:30 am by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Openbsd Update Script
« Reply #1 on: August 25, 2007, 10:41:44 pm »
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)).

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Openbsd Update Script
« Reply #2 on: February 19, 2014, 05:53:29 pm »
Is script still available?......

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

Thanks!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd Update Script
« Reply #3 on: February 19, 2014, 08:41:05 pm »
Quote from: ArchiMark
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.

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Openbsd Update Script
« Reply #4 on: February 19, 2014, 08:45:33 pm »
Quote from: ArchiMark
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.
« Last Edit: February 19, 2014, 08:47:03 pm by mathemajikian »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Openbsd Update Script
« Reply #5 on: February 19, 2014, 08:57:41 pm »
Quote from: mathemajikian
Quote from: ArchiMark
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....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Openbsd Update Script
« Reply #6 on: February 19, 2014, 08:58:03 pm »
Quote from: mathemajikian
Quote from: ArchiMark
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!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/