1 |
Updating Information for MidnightBSD users |
2 |
|
3 |
Items affecting the mports and packages system can be found in |
4 |
/usr/mports/UPDATING. |
5 |
|
6 |
20090325: |
7 |
Update Bind to 9.4.3-P1 |
8 |
|
9 |
Update mksh to R36b |
10 |
|
11 |
Update tcpdump to 3.9.8, fix libpcap to work with current. |
12 |
|
13 |
Update pnpinfo, sync with FreeBSD. |
14 |
|
15 |
20090115: |
16 |
Fix a problem with DNSSEC and BIND. |
17 |
|
18 |
20090110: |
19 |
For applications using OpenSSL for SSL connections, an invalid SSL |
20 |
certificate may be interpreted as valid. This could for example be |
21 |
used by an attacker to perform a man-in-the-middle attack. |
22 |
|
23 |
Other applications which use the OpenSSL EVP API may similarly be |
24 |
affected. |
25 |
|
26 |
Stop cross site request forgery attacks in lukemftpd |
27 |
|
28 |
20090104: |
29 |
Import GNU libreadline 5.2 |
30 |
|
31 |
20090101: |
32 |
Update time zone data to 2008i. |
33 |
|
34 |
20081231: |
35 |
Correct a problem where bluetooth and netgraph sockets are not |
36 |
properly initialized. |
37 |
|
38 |
Happy 2009. |
39 |
|
40 |
20081206: |
41 |
Due to the massive change in the underlying system under way, |
42 |
we're naming the next release 1.0. The sys/sys/param.h was |
43 |
changed accordingly. ipfilter and ncurses were corrected |
44 |
using __MidnightBSD__ tests in the code. |
45 |
|
46 |
The GENERIC kernel config was caught up on i386 today. Consider |
47 |
i386 still broken, but amd64 is running again. |
48 |
|
49 |
mdoc.local was updated with the new MidnightBSD version info. |
50 |
|
51 |
batt(1) was rewritten in C. It now supports several flags and |
52 |
runs about 8 times faster on my laptop. The default output |
53 |
shows the number of minutes of battery life remaining and the |
54 |
percentage. You can use -u to display the number of batteries or |
55 |
-c to get script friendly output. Consult the man page for more. |
56 |
|
57 |
20081204: |
58 |
Work has completed on importing ZFS, jemalloc, several |
59 |
new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel |
60 |
support, improved locking for file desc., audit (openbsm), |
61 |
openssl .98e, nfe, imporved intel high def audio, midi, updated |
62 |
intel gigabit (em), support for several wifi cards (intel), ... |
63 |
|
64 |
Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version |
65 |
data from param.h instead of the FreeBSD version. This means |
66 |
testing is now possible in the ports tree for the version |
67 |
and that any ports or code relying on the FreeBSD version from |
68 |
sys/sys/param.h will need to be fixed. |
69 |
|
70 |
20080905: |
71 |
update nve(4) to support new hardware. |
72 |
|
73 |
20080801: |
74 |
Import OpenBSM 1.0 |
75 |
|
76 |
Modify src/release to create 3 isos instead of 2 for packages. |
77 |
|
78 |
etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats. |
79 |
|
80 |
Many ia64, alpha, powerpc items were removed. |
81 |
|
82 |
The recent diffutils 2.8.7 import was fixed. |
83 |
|
84 |
20080703: |
85 |
pcc was not installed properly when setting DESTDIR for live cds, |
86 |
or posibly jails. |
87 |
|
88 |
20080627: |
89 |
Add firmware(9), WEP, CCMP, TKIP to GENERIC. |
90 |
|
91 |
Add glabel to GENERIC. |
92 |
|
93 |
Intel ICH8 mobile chipset used on some iMacs included with ata. |
94 |
|
95 |
pcc connected to the build on i386. (alternative compiler) |
96 |
|
97 |
ath added to GENERIC. (Atheros wireless NICs) on amd64/i386 |
98 |
|
99 |
20080528: |
100 |
Sendmail 8.14.3 |
101 |
|
102 |
20080516: |
103 |
ssh-vulnkey allows you to look for vulnerable ssh keys that |
104 |
were generated on Debian and Ubuntu hosts over the last |
105 |
few years. sshd can block offending keys with a configuration |
106 |
option. |
107 |
|
108 |
The elf note on binaries is now set to MidnightBSD. |
109 |
|
110 |
20080514: |
111 |
Fixed a number of problems with pcc. It is not yet connected |
112 |
to the build, but usable on i386 hosts. You may use it |
113 |
by make; make install in /usr/src/usr.bin/pcc. It will |
114 |
install in /usr/local as some of the files conflict with |
115 |
GCC versions. __MidnightBSD__ is defined in PCC as well. |
116 |
|
117 |
System headers were fixed to allow pcc to compile many binaries |
118 |
on MidnightBSD. bin/cp will work now for instance. |
119 |
|
120 |
20080430: |
121 |
__MidnightBSD__ is now defined via gcc. This can be tested |
122 |
to determine we're running on MidnightBSD in the preprocessor. |
123 |
|
124 |
20080429: |
125 |
Import bind 9.4.2 with threading |
126 |
|
127 |
libpthread (KSE) and libthr are built earlier |
128 |
|
129 |
pcvt(4) removed! |
130 |
|
131 |
Alias added for core2 cpus. |
132 |
|
133 |
Alpha and PC98 only utilities removed from usr/sbin |
134 |
|
135 |
syslogd, adduser, rmuser, mergemaster and mailwrapper have been |
136 |
improved. See the man pages for info. |
137 |
|
138 |
periodic scripts will not send emails with empty message bodies. |
139 |
See mailwrapper fix. |
140 |
|
141 |
20080410: |
142 |
Sync cpdup with DragonFly. Add parallel transaction support and |
143 |
-l flag to line-buffer stdout and stderr. |
144 |
|
145 |
20080406: |
146 |
Import bzip2 1.05 |
147 |
Import OpenSSH 4.9p1 |
148 |
|
149 |
20080322: |
150 |
The default umask was changed to 022. |
151 |
|
152 |
/usr/X11R6 paths were removed from several config files. |
153 |
|
154 |
.mkshrc files are now installed for root. |
155 |
|
156 |
20080316: |
157 |
FIx a problem with gif0 tunnels and neighbors with IPV6. |
158 |
|
159 |
20080312: |
160 |
Add lndir from X.org. This aides in the porting of MirPorts. |
161 |
|
162 |
New OS versions were added to the mapage code (groff) |
163 |
|
164 |
20080310: |
165 |
Correct a buffer overflow in ppp. |
166 |
|
167 |
20080308: |
168 |
Remove /usr/X11R6 from manpath config. |
169 |
|
170 |
20080307: |
171 |
Atheros driver no longer has several options set |
172 |
which corrects building in tinderbox on all three platforms. |
173 |
|
174 |
Added a new macro to sx.h which returns true if the current |
175 |
thread holds an exclusive lock on a specifix sx. |
176 |
|
177 |
Removed OS/2's HPFS file system. It's not maintained and |
178 |
I don't know anyone using OS/2 or ecomstation these days. |
179 |
My copy is in the closet collecting dust. |
180 |
|
181 |
20080306: |
182 |
Synced tinderbox with FreeBSD. Modified it for MidnightBSD. |
183 |
Developers can now use it to check src builds. |
184 |
|
185 |
20080303: |
186 |
Add mksh to /etc/shells, made some adjustments to options |
187 |
for mksh builds per suggestion upstream. |
188 |
|
189 |
USB HID table updated with modern hardware list. |
190 |
|
191 |
Updated BSD family true (we're not in there yet) |
192 |
|
193 |
iso3166 file updated and import of tzdata2007k for |
194 |
new time zones. |
195 |
|
196 |
Updated mksh to latest version R33. |
197 |
|
198 |
20080228: |
199 |
Remplaced the random IP id generation code with a new |
200 |
version by Amit Klein. |
201 |
|
202 |
20080221: |
203 |
Sendfile write only permissions fix. |
204 |
|
205 |
Removed some HPFS and PC98 code. |
206 |
|
207 |
iso639 file sycned with DragonFly. |
208 |
|
209 |
20080128: |
210 |
Changed NTP configuration so that ips aren't cached |
211 |
so multiple servers are used. |
212 |
|
213 |
Fix an issue with fork() in libpthread. |
214 |
|
215 |
20080121: |
216 |
Add virtualization detection to set the HZ rate |
217 |
according to a VM present. VMWare and Parallels |
218 |
should work better like this. |
219 |
|
220 |
Change to full x11 install in sysinstall. Add |
221 |
xorg 7 support. |
222 |
|
223 |
20080115: |
224 |
Fix the handling of PTY's. CVE-2008-0216 |
225 |
|
226 |
20080105: |
227 |
mport delete code added, USE_MPORT_TOOLS knob aded. |
228 |
|
229 |
20080101: |
230 |
Happy New Year |
231 |
|
232 |
20071123: |
233 |
Update sendmail to 8.14.2 |
234 |
|
235 |
20071120: |
236 |
Update system compiler to gcc 3.4.6. |
237 |
|
238 |
20071023: |
239 |
Updated mksh to R31d. |
240 |
|
241 |
20070911: |
242 |
Updated mksh to version R31b. |
243 |
|
244 |
Fixed stderr output in libpthread. Previously it was |
245 |
written to stdout. |
246 |
|
247 |
20070831: |
248 |
Added dot.mkshrc file to support the recent change to |
249 |
mksh from OpenBSD's ksh derived from pdksh. |
250 |
|
251 |
Added new firewall configuration. ipfw is enabled by default |
252 |
with a "desktop" configuration. Consult /etc/rc.firewall |
253 |
or ipfw show to see the ruleset used. You can disable |
254 |
ipfw by setting firewall_enable="NO" in /etc/rc.conf This |
255 |
change only effects IPv4. IPv6 does not have a firewall |
256 |
enabled by default. |
257 |
|
258 |
20070814: |
259 |
Removed GNU tar source. We've been using BSD tar |
260 |
for awhile. |
261 |
|
262 |
20070806: |
263 |
Finished removing umapfs and autofs from the tree. |
264 |
|
265 |
20070804: |
266 |
BIND and Tcpdump have been patched for recent vulnerabilities. |
267 |
|
268 |
We switched to BSD cpio (pax). |
269 |
|
270 |
20070719: |
271 |
Imported cpdup from DragonFly as /bin/cpdup |
272 |
|
273 |
20070716: |
274 |
Update GNU cpio to 2.8. |
275 |
|
276 |
20070410: |
277 |
cvs was updated to 1.12.13. cvsbug was removed. |
278 |
cvs now behaves similarly to DragonFly's cvs with |
279 |
most of their local changes. |
280 |
|
281 |
20070409: |
282 |
RELENG_0_1 was created. More aggresive changes will |
283 |
continue here. |
284 |
|
285 |
20070406: |
286 |
Back out propolice. propolice caused several problems |
287 |
with our threading libraries libthr and libpthread. |
288 |
curthread was often NULL after the patch and many |
289 |
multithreaded applications would crash. We plan to |
290 |
work on either bringing in gcc 4.1 or developing a new |
291 |
patch which also corrects our threading issues later. |
292 |
|
293 |
It is more important to have a stable system for our |
294 |
mport work and other projects at this time. |
295 |
|
296 |
This is not a clean removal. It is recommended that you |
297 |
have a recently SNAP CD handy. You can either reinstall |
298 |
or perform a make buildworld and make buildkernel and |
299 |
make installkernel. Reboot on the cd and copy the contents |
300 |
of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin, |
301 |
/usr/lib, and /usr/libexec to the respective directories on |
302 |
your disk. Then you should be able to boot into single user |
303 |
mode and run make installworld. You will need to run |
304 |
chflags noschg on some of the files if you can't overwrite |
305 |
them. |
306 |
|
307 |
You will get __guard missing errors since we had to remove |
308 |
this from libc. |
309 |
|
310 |
You will need to rebuild any ports built while propolice was |
311 |
installed. |
312 |
|
313 |
20070401: |
314 |
Importing propolice into MidnightBSD. Propolice is going to |
315 |
provide us with much greater security and stability in the |
316 |
long run. If upgrading from a pre-propolice system, please |
317 |
follow the these instructions: |
318 |
|
319 |
cd /usr/src/lib/libc && make obj && make && make install |
320 |
cd /usr/src/gnu/usr.bin/cc && make obj && make && make install |
321 |
cd /usr/src/lib/libpthread && make obj && make && make install |
322 |
cd /usr/src/lib/libthr && make obj && make && make install |
323 |
buildworld and kernel |
324 |
|
325 |
It is adviced that any mports which were installed and/or built |
326 |
prior to the propolice update also be updated. If any errors |
327 |
or issue are encounted, please contact security@midnightbsd.org |
328 |
and we will be sure to investigate and come up with an expeditious |
329 |
fix. |
330 |
|
331 |
20070314: |
332 |
Remove send-pr from src. |
333 |
|
334 |
Switch to NetBSD's gzip. |
335 |
|
336 |
Bump MBSD minor revision. |
337 |
|
338 |
20070313: |
339 |
Imported OpenSSH 4.6p1. |
340 |
|
341 |
Imported FreeBSD's libarchive and updated tar to work with it. |
342 |
|
343 |
Disabled debug statements cluttering up /var/log/messages for |
344 |
the tcp autobuf patch applied previously. |
345 |
|
346 |
20070312: |
347 |
Synced several audio changes from FreeBSD 6.1. Removed the |
348 |
BSD Daemon files from src/share. |
349 |
|
350 |
20070308: |
351 |
Added mfi which supports LSI Logic MegaRAID SAS devices including |
352 |
the Dell perc5i. |
353 |
|
354 |
20070206: |
355 |
Imported OpenBSD's sudo into source. Please install |
356 |
/usr/src/usr.bin/sudo/lib first before building. |
357 |
|
358 |
Those who install from a snapshot after this date |
359 |
will not be effected. |
360 |
|
361 |
20070119: |
362 |
Added audit group. Be sure to add audit to your /etc/group file |
363 |
before installing world. |
364 |
|
365 |
hostapd was updated to 0.4.8. |
366 |
|
367 |
An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to |
368 |
unbreak world. |
369 |
|
370 |
wpa_supplicant was updated. |
371 |
|
372 |
For stability and compatibility reasons, it was decided that MidnightBSD |
373 |
sync with FreeBSD 6.1 Release. Nearly every change between the original |
374 |
fork date of February 24, 2006 and the release of FreeBSD 6.1 in May |
375 |
2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and |
376 |
will not sync every little change with FreeBSD. |
377 |
|
378 |
20061231: |
379 |
Updated COPYRIGHT for 2007. |
380 |
|
381 |
Updated and bumped libutil after importing NetBSD efun(3) functions. |
382 |
|
383 |
Added MidnightBSD_version and bumped the FreeBSD version as we've |
384 |
synced all commits between the fork and that version. It is now safe |
385 |
to assume MidnightBSD is compatible with FreeBSD RELENG_6 from |
386 |
Feb 26, 2006. |
387 |
|
388 |
Added spell(1) and deroff(1) from NetBSD. Also added additional |
389 |
dict files to work with it. /usr/share/dict/american, |
390 |
/usr/share/dict/british and /usr/share/dict/special/math |
391 |
|
392 |
Numerous man page and bug fixes. |
393 |
|
394 |
20061226: |
395 |
Setup /usr/share/examples/cvsup SUPfiles for the new |
396 |
MidnightBSD CVSup server. |
397 |
|
398 |
Fix a bug in burncd where it would continue forever while |
399 |
erasing CDRW media. |
400 |
|
401 |
Add csup to /usr/bin. csup is a CVSup replacement written |
402 |
in C. |
403 |
|
404 |
Fixed a bug with bsnmpd build from Oct 30. |
405 |
|
406 |
Corrected some race conditions and fixed a few bugs in |
407 |
geom. Imported changes from FreeBSD RELENG_6. |
408 |
|
409 |
20061225: |
410 |
Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c |
411 |
that caused long double to long and long long |
412 |
conversion of negative numbers to always result in -1. |
413 |
|
414 |
20061221: |
415 |
Fixed acpi_battery.c to not report an ERROR if no |
416 |
batteries are present. |
417 |
|
418 |
Performed some minor updates on the RL and RE NIC drivers. |
419 |
RL should no longer panic when trying to print errors. |
420 |
|
421 |
Corrected a bug with TTY. |
422 |
|
423 |
20061218: |
424 |
Corrected a bug with libpthread where newly created suspended |
425 |
threads don't get scheduled. |
426 |
|
427 |
20061206: |
428 |
Fixed a typo with the firewire security patch. |
429 |
|
430 |
20061129: |
431 |
Minor cleanups to utilities in bin. |
432 |
|
433 |
Fixed msdos file system short file name behavior to match |
434 |
FreeBSD. |
435 |
|
436 |
20061031: |
437 |
Updated man pages in section 7. |
438 |
|
439 |
20061030: |
440 |
Updated sys/dev/drm to support intel 915 and radeon |
441 |
r300 cards properly. |
442 |
|
443 |
Synced snmpd with FreeBSD-stable. |
444 |
|
445 |
Fixed a bug in rm which could cause data loss. |
446 |
|
447 |
20061027: |
448 |
Added Intel ICH8 and nForce 5 support to ATA. cam, mpt, |
449 |
random, kbdmux, atkbd, and usb were updated. Changes |
450 |
to clearing registers on SSE enabled processors (i386) |
451 |
commited. |
452 |
|
453 |
lukemftpd updated. |
454 |
|
455 |
openssh rc script was altered which effects initial |
456 |
seeding. |
457 |
|
458 |
20061014: |
459 |
Workaround for em driver problem on shared IRQ. |
460 |
|
461 |
Started removal of alpha support. |
462 |
|
463 |
20061013: |
464 |
ATA driver was updated. USB/USB1/USB2 types added. |
465 |
|
466 |
20061010: |
467 |
OpenSSH was updated to 4.4p1. |
468 |
|
469 |
20060909: |
470 |
OpenNTPD was added to MidnightBSD. Run make delete-old to remove |
471 |
the old ntpd daemon. |
472 |
|
473 |
cat has a new option -D which allows you to timestamp output |
474 |
on a per line basis. |
475 |
|
476 |
The kernel has a keyboard mux which allows you to have multiple |
477 |
keyboard connected simultaneously. USB keyboard support was also |
478 |
improved with this patch. |
479 |
|
480 |
The Intel em driver was updated. Network performance was greatly |
481 |
increased on many systems. Additional models are supported. |
482 |
|
483 |
The ATA driver was patched to fix a potential deadlock. |
484 |
|
485 |
Bind was patched to fix a potential denial of service condition. |
486 |
|
487 |
20060817: |
488 |
ksh has been added to the base system. If you previously had |
489 |
the port installed, it will be overwritten on the next buildworld. |
490 |
|
491 |
|
492 |
|
493 |
To build a kernel |
494 |
----------------- |
495 |
If you are updating from a prior version of MidnightBSD (even one just |
496 |
a few days old), you should follow this procedure. With a |
497 |
/usr/obj tree with a fresh buildworld, |
498 |
make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE |
499 |
make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE |
500 |
|
501 |
To test a kernel once |
502 |
--------------------- |
503 |
If you just want to boot a kernel once (because you are not sure |
504 |
if it works, or if you want to boot a known bad kernel to provide |
505 |
debugging information) run |
506 |
make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel |
507 |
nextboot -k testkernel |
508 |
|
509 |
To just build a kernel when you know that it won't mess you up |
510 |
-------------------------------------------------------------- |
511 |
This assumes you are already running a 6.X system. Replace |
512 |
${arch} with the architecture of your machine (e.g. "i386", |
513 |
"amd64", "ia64", "pc98", "sparc64", etc). |
514 |
|
515 |
cd src/sys/${arch}/conf |
516 |
config KERNEL_NAME_HERE |
517 |
cd ../compile/KERNEL_NAME_HERE |
518 |
make depend |
519 |
make |
520 |
make install |
521 |
|
522 |
If this fails, go to the "To build a kernel" section. |
523 |
|
524 |
To rebuild everything and install it on the current system. |
525 |
----------------------------------------------------------- |
526 |
# Note: sometimes if you are running current you gotta do more than |
527 |
# is listed here if you are upgrading from a really old current. |
528 |
|
529 |
<make sure you have good level 0 dumps> |
530 |
make buildworld |
531 |
make kernel KERNCONF=YOUR_KERNEL_HERE |
532 |
[1] |
533 |
<reboot in single user> [3] |
534 |
mergemaster -p [5] |
535 |
make installworld |
536 |
make delete-old |
537 |
mergemaster [4] |
538 |
<reboot> |
539 |
|
540 |
|
541 |
To cross-install current onto a separate partition |
542 |
-------------------------------------------------- |
543 |
# In this approach we use a separate partition to hold |
544 |
# current's root, 'usr', and 'var' directories. A partition |
545 |
# holding "/", "/usr" and "/var" should be about 2GB in |
546 |
# size. |
547 |
|
548 |
<make sure you have good level 0 dumps> |
549 |
<boot into -stable> |
550 |
make buildworld |
551 |
make buildkernel KERNCONF=YOUR_KERNEL_HERE |
552 |
<maybe newfs current's root partition> |
553 |
<mount current's root partition on directory ${CURRENT_ROOT}> |
554 |
make installworld DESTDIR=${CURRENT_ROOT} |
555 |
cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd |
556 |
make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT} |
557 |
cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd |
558 |
<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition> |
559 |
<reboot into current> |
560 |
<do a "native" rebuild/install as described in the previous section> |
561 |
<maybe install compatibility libraries from src/lib/compat> |
562 |
<reboot> |
563 |
|
564 |
|
565 |
To upgrade in-place from 5.x-stable or higher to 6.x-stable |
566 |
----------------------------------------------------------- |
567 |
<make sure you have good level 0 dumps> |
568 |
make buildworld [9] |
569 |
make kernel KERNCONF=YOUR_KERNEL_HERE [8] |
570 |
[1] |
571 |
<reboot in single user> [3] |
572 |
mergemaster -p [5] |
573 |
make installworld |
574 |
make delete-old |
575 |
mergemaster -i [4] |
576 |
<reboot> |
577 |
|
578 |
Make sure that you've read the UPDATING file to understand the |
579 |
tweaks to various things you need. At this point in the life |
580 |
cycle of current, things change often and you are on your own |
581 |
to cope. The defaults can also change, so please read ALL of |
582 |
the UPDATING entries. |
583 |
|
584 |
Also, if you are tracking -current, you must be subscribed to |
585 |
freebsd-current@freebsd.org. Make sure that before you update |
586 |
your sources that you have read and understood all the recent |
587 |
messages there. If in doubt, please track -stable which has |
588 |
much fewer pitfalls. |
589 |
|
590 |
[1] If you have third party modules, such as vmware, you |
591 |
should disable them at this point so they don't crash your |
592 |
system on reboot. |
593 |
|
594 |
[3] From the bootblocks, boot -s, and then do |
595 |
fsck -p |
596 |
mount -u / |
597 |
mount -a |
598 |
cd src |
599 |
adjkerntz -i # if CMOS is wall time |
600 |
Also, when doing a major release upgrade, it is required that |
601 |
you boot into single user mode to do the installworld. |
602 |
|
603 |
[4] Note: This step is non-optional. Failure to do this step |
604 |
can result in a significant reduction in the functionality of the |
605 |
system. Attempting to do it by hand is not recommended and those |
606 |
that pursue this avenue should read this file carefully, as well |
607 |
as the archives of freebsd-current and freebsd-hackers mailing lists |
608 |
for potential gotchas. |
609 |
|
610 |
[5] Usually this step is a noop. However, from time to time |
611 |
you may need to do this if you get unknown user in the following |
612 |
step. It never hurts to do it all the time. |
613 |
|
614 |
[8] In order to have a kernel that can run the 5.x binaries |
615 |
needed to do an installworld, you must include the COMPAT_FREEBSD5 |
616 |
option in your kernel. Failure to do so may leave you with a system |
617 |
that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 |
618 |
is required to run the 5.x binaries on more recent kernels. |
619 |
|
620 |
Make sure that you merge any new devices from GENERIC since the |
621 |
last time you updated your kernel config file. |
622 |
|
623 |
[9] When checking out sources, you must include the -P flag to have |
624 |
cvs prune empty directories. |
625 |
|
626 |
If CPUTYPE is defined in your /etc/make.conf, make sure to use the |
627 |
"?=" instead of the "=" assignment operator, so that buildworld can |
628 |
override the CPUTYPE if it needs to. |
629 |
|
630 |
MAKEOBJDIRPREFIX must be defined in an environment variable, and |
631 |
not on the command line, or in /etc/make.conf. buildworld will |
632 |
warn if it is improperly defined. |
633 |
|
634 |
Copyright information: |
635 |
|
636 |
Copyright 1998-2005 M. Warner Losh. All Rights Reserved. |
637 |
|
638 |
Redistribution, publication, translation and use, with or without |
639 |
modification, in full or in part, in any form or format of this |
640 |
document are permitted without further permission from the author. |
641 |
|
642 |
THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR |
643 |
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
644 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
645 |
DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT, |
646 |
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
647 |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
648 |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
649 |
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
650 |
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
651 |
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
652 |
POSSIBILITY OF SUCH DAMAGE. |
653 |
|
654 |
If you find this document useful, and you want to, you may buy the |
655 |
author a beer. |
656 |
|
657 |
Contact Warner Losh if you have any questions about your use of |
658 |
this document. |
659 |
|
660 |
$FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $ |
661 |
$MidnightBSD: src/UPDATING,v 1.51 2009/01/16 04:21:33 laffer1 Exp $ |