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