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