On Thu, May 13, 2010 at 11:00:38PM -0300, Fred Souza wrote: > I did a similar procedure as I used to on the old system, grabbed a > fresh ports.tar.gz, uncompressed it under /usr, installed cvsup and > proceeded to updating /usr/src to -STABLE (using the RELENG_8 tag). So > far, so good.
1) We use csup now, not cvsup. csup comes with the base system, so there's no need to install cvsup. 2) I'm not sure why you're downloading ports.tar.gz and extracting it. This means that /var/db/sup/ports-all won't match what's in /usr/ports. You should just use csup to populate /usr/ports. You can do this by doing: csup -h <cvsup-server> -L 2 /usr/share/examples/cvsup/ports-supfile You can also populate /usr/src (and thus /var/db/sup/src-all) by doing: csup -h <cvsup-server> -L 2 /usr/share/example/cvsup/stable-supfile There are also /etc/make.conf variables you can set to make this process easier once you've populated /usr/ports and /usr/src; you can do something like "cd /usr/ports ; make update". > I made a custom kernel config file based off of GENERIC, added only a > few options (like sound and console customization options), and > followed the steps listed on /usr/src/UPDATING: > > # cd /usr/src > # make buildworld > # make kernel KERNCONF=MYKERNELNAME > <reboot into single> > > ... > > Could anyone please enlighten me? Well, if what you're doing is an "in-place" 7.x upgrade to 8.x, I don't know how to do this or if it works. Others can help. Otherwise, the steps you're describing for building a system are not what's in src/Makefile (not src/UPDATING). These are the steps: # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"