Re: Rebuilding for stable.
On Sun, 20 Aug 2006, Eric Stewart wrote: Hello everyone, I've order and received the OpenBSD 3.9 disks. I've read through the majority of the documentation at least once and two or three times in certain sections. I've installed the OS about 4 times as dry runs and I'm preparing for the final OS load for a production box. After I've run the CD installation, I've created a task list for upgrading it to OpenBSD 3.9-stable (I'm not experienced enough for current yet). I've decided I don't want build any ports and instead use packages for adding third-party software. This is the current task list I ran during the last install and it works, but I know there is a bunch of stuff in there that relates to ports and I want to strip that out. # Install source tree from CD mount /dev/cd0a /mnt cd /usr/src; tar xzf /mnt/src.tar.gz cd /usr; tar xzf /mnt/XF4.tar.gz tar xzf /mnt/ports.tar.gz This is the only part of the various commands that has anything to do with ports. If this is the only line of the script that you have removed, then you have removed all the parts relevant to ports. Dave
Rebuilding for stable.
Hello everyone, I've order and received the OpenBSD 3.9 disks. I've read through the majority of the documentation at least once and two or three times in certain sections. I've installed the OS about 4 times as dry runs and I'm preparing for the final OS load for a production box. After I've run the CD installation, I've created a task list for upgrading it to OpenBSD 3.9-stable (I'm not experienced enough for current yet). I've decided I don't want build any ports and instead use packages for adding third-party software. This is the current task list I ran during the last install and it works, but I know there is a bunch of stuff in there that relates to ports and I want to strip that out. # Install source tree from CD mount /dev/cd0a /mnt cd /usr/src; tar xzf /mnt/src.tar.gz cd /usr; tar xzf /mnt/XF4.tar.gz tar xzf /mnt/ports.tar.gz umount /mnt # Get updated source from OpenBSD CVS. cd /usr/src cvs -d [EMAIL PROTECTED]:/cvs -q up -rOPENBSD_3_9 -Pd # Get updated ports from OpenBSD CVS. cd /usr/ports cvs -d [EMAIL PROTECTED]:/cvs -q up -rOPENBSD_3_9 -Pd # Rebuilding the kernel cd /usr/src/sys/arch/i386/conf /usr/sbin/config GENERIC cd /usr/src/sys/arch/i386/compile/GENERIC make clean make depend make # Rebooting with the new kernel cd /usr/src/sys/arch/i386/compile/GENERIC cp /bsd /bsd.old cp bsd /bsd reboot # Rebuilding the binaries rm -rf /usr/obj/* cd /usr/src make obj cd /usr/src/etc env DESTDIR=/ make distrib-dirs cd /usr/src make build Now here is a list that I think strips out the stuff only applicable to ports. Could you tell me if I have indeed stripped all the ports stuff? Also, and more importantly, did I strip out something that I shouldn't have? # Install source tree from CD mount /dev/cd0a /mnt cd /usr/src; tar xzf /mnt/src.tar.gz cd /usr; tar xzf /mnt/XF4.tar.gz umount /mnt # Get updated source from OpenBSD CVS. cd /usr/src cvs -d [EMAIL PROTECTED]:/cvs -q up -rOPENBSD_3_9 -Pd # Rebuilding the kernel cd /usr/src/sys/arch/i386/conf /usr/sbin/config GENERIC cd /usr/src/sys/arch/i386/compile/GENERIC make clean make depend make # Rebooting with the new kernel cd /usr/src/sys/arch/i386/compile/GENERIC cp /bsd /bsd.old cp bsd /bsd reboot I hope I've done my due diligence in researching this before bring it to the list. I pretty much understand what's going on but something I just can't figure out. Thanks in advance. Eric Stewart e.stewart [at] mac [dot] com