xref: /dflybsd-src/UPDATING (revision cbab4ab1ed1e7d9ad52465f8e48e48be31718ece)
1d2a0deccSMatthew Dillon# Updating Information for DragonFly users.
2d2a0deccSMatthew Dillon#
3d2a0deccSMatthew Dillon#
4d2a0deccSMatthew Dillon# This file should warn you of any pitfalls which you might need to work around
5d2a0deccSMatthew Dillon# when trying to update your DragonFly system.  The information below is
6d2a0deccSMatthew Dillon# in reverse-time order, with the latest information at the top.
7d2a0deccSMatthew Dillon#
8d2a0deccSMatthew Dillon# If you discover any problem, please contact the bugs@lists.dragonflybsd.org
9d2a0deccSMatthew Dillon# mailing list with the details.
10984263bcSMatthew Dillon
1164aeb497SSascha Wildner+-----------------------------------------------------------------------+
122a617999SSascha Wildner+         UPGRADING DRAGONFLY FROM 4.0 TO LATER VERSIONS                +
132a617999SSascha Wildner+-----------------------------------------------------------------------+
142a617999SSascha Wildner
15*cbab4ab1SJohn MarinoSENDMAIL REMOVED FROM BASE
16*cbab4ab1SJohn Marino--------------------------
17*cbab4ab1SJohn Marino
18*cbab4ab1SJohn MarinoThe only Mail Transfer Agent provided now is DragonFly Mail Agent (dma).
19*cbab4ab1SJohn MarinoIf the system being upgraded is still configured to use the sendmail
20*cbab4ab1SJohn Marinobinaries from base, the "make upgrade" command will fail.
21*cbab4ab1SJohn Marino
22*cbab4ab1SJohn MarinoThe administrator must change /etc/mail/mailer.conf to switch the
23*cbab4ab1SJohn Marinomailwrapper to dma or a DPorts-based MTA prior to running the upgrade
24*cbab4ab1SJohn Marinocommand that permanently removes sendmail executables and could
25*cbab4ab1SJohn Marinopotentially break a running mail server.
26*cbab4ab1SJohn Marino
27*cbab4ab1SJohn MarinoRefer: http://www.dragonflybsd.com/docs/docs/newhandbook/mta/ for
28*cbab4ab1SJohn Marinodetailed instructions on how to configure the MTA selection.
29*cbab4ab1SJohn Marino
30a7ac1ee9SSascha Wildner_KPOSIX_VERSION and P1003_1B OPTIONS REMOVED
31a7ac1ee9SSascha Wildner--------------------------------------------
32a7ac1ee9SSascha Wildner
33a7ac1ee9SSascha WildnerThe _KPOSIX_VERSION and P1003_1B kernel options have been changed to
34a7ac1ee9SSascha Wildnerno-ops. They can be removed from custom kernel configurations.
35a7ac1ee9SSascha Wildner
36aa7c3d6bSFrançois TigeotSOUND SYSTEM UPDATED FROM FreeBSD 11-CURRENT
37aa7c3d6bSFrançois Tigeot--------------------------------------------
38aa7c3d6bSFrançois Tigeot
39aa7c3d6bSFrançois TigeotMany more sound devices may be detected.
40aa7c3d6bSFrançois Tigeot
41aa7c3d6bSFrançois TigeotIf the default device choosen isn't to your liking, setting the sysctl
42aa7c3d6bSFrançois Tigeothw.snd.default_unit to a different number will change it.
43aa7c3d6bSFrançois Tigeot
4460a260adSSascha WildnerSCTP SUPPORT DROPPED
4560a260adSSascha Wildner--------------------
4660a260adSSascha Wildner
4760a260adSSascha WildnerSupport for the SCTP protocol has been removed.
4860a260adSSascha Wildner
492a617999SSascha WildnerOLD USB DRIVERS REMOVED
502a617999SSascha Wildner-----------------------
512a617999SSascha Wildner
522a617999SSascha WildnerThe old USB stack, along with the kernel config option "device oldusb"
532a617999SSascha Wildnerand the make.conf variable "WANT_OLDUSB" have been removed. This means
542a617999SSascha Wildnerthat for custom kernel configuration files which were derived from a
552a617999SSascha WildnerGENERIC or X86_64_GENERIC file prior to making the usb4bsd stack default,
562a617999SSascha Wildnervarious (old USB stack specific) devices will now complain about being
572a617999SSascha Wildnerunknown:
582a617999SSascha Wildner
592a617999SSascha Wildner  * oldusb	(obviously)
602a617999SSascha Wildner  * natausb	(not yet ported to usb4bsd)
612a617999SSascha Wildner  * rue		(not yet ported to usb4bsd)
622a617999SSascha Wildner  * ugen	(no longer needed in usb4bsd)
632a617999SSascha Wildner  * urio	(not yet ported to usb4bsd)
642a617999SSascha Wildner  * uscanner	(no longer needed in usb4bsd)
652a617999SSascha Wildner
662a617999SSascha WildnerThey should be removed or commented out in such custom kernel configs.
672a617999SSascha Wildner
68e9b676f1SJohn MarinoGCC 5.0
69e9b676f1SJohn Marino-------
70e9b676f1SJohn Marino
71e9b676f1SJohn MarinoThe GCC 4.4 compiler has been retired.  It has been replaced by a
72e9b676f1SJohn Marino[prerelease] version of GCC 5.0.  The following make.conf variables no
73e9b676f1SJohn Marinolonger work: NO_GCC44, NO_OBJC, and NO_CXX.  The latter was never
74e9b676f1SJohn Marinodocumented and the latest versions of GCC are partially written in C++
75e9b676f1SJohn Marinoso a C++ compiler is no longer optional.  In practical terms it has not
76e9b676f1SJohn Marinobeen optional for many years as other base components are also written in
77e9b676f1SJohn MarinoC++.  The resource savings by avoiding building Objective-C compiler is
78e9b676f1SJohn Marinoso small, the complexity added by NO_OBJC internally was deemed a bad
79e9b676f1SJohn Marinotradeoff so that is the reason for its removal.  Also note that no "info"
80e9b676f1SJohn Marinopages are installed with GCC 5.0.  This is intentional; they are available
81e9b676f1SJohn Marinovia the internet if desired over the installed man pages.
82e9b676f1SJohn Marino
83e9b676f1SJohn MarinoCurrently, GCC 4.7 is still designated as the primary compiler.  After
84e9b676f1SJohn MarinoGCC 5.0 is released, this may change and these update notes will be
85e9b676f1SJohn Marinorevised accordingly.  DPorts will use GCC 5.0 on this release regardless.
86e9b676f1SJohn MarinoIf GCC 5.0 is unwanted, the make.conf variable NO_GCC50 will block its
87e9b676f1SJohn Marinobuilding and installation.
88e9b676f1SJohn Marino
89e9b676f1SJohn MarinoTo use GCC 5.0 to build world and kernel, set WORLD_CCVER=gcc50 in
90e9b676f1SJohn Marinomake.conf before building those targets.
91e9b676f1SJohn Marino
922a617999SSascha Wildner+-----------------------------------------------------------------------+
930055c35bSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.8 TO LATER VERSIONS                +
940055c35bSSascha Wildner+-----------------------------------------------------------------------+
950055c35bSSascha Wildner
962a617999SSascha WildnerSMP AND DEVICE_POLLING OPTIONS MADE UNKNOWN
9739b3e0a1SSascha Wildner-------------------------------------------
9839b3e0a1SSascha Wildner
9939b3e0a1SSascha WildnerDEVICE_POLLING was replaced by IFPOLL_ENABLE and the former SMP code is
10039b3e0a1SSascha Wildnerthe default now (even on single-core systems), both for, like, 21 months.
10139b3e0a1SSascha WildnerWe kept the options around as no-ops as a convenience, to allow people
10239b3e0a1SSascha Wildnerusing the same config for the then current release and the then current
10339b3e0a1SSascha Wildnermaster. That period is now over, so any configs still having those
10439b3e0a1SSascha Wildneroptions have to be adjusted.
10539b3e0a1SSascha Wildner
10610ceb702SSascha WildnerSYSVIPC SYSCALLS MADE NON-OPTIONAL
10710ceb702SSascha Wildner----------------------------------
10810ceb702SSascha Wildner
10910ceb702SSascha WildnerThe code related to the SYSVMSG, SYSVSEM and SYSVSHM kernel options is
11010ceb702SSascha Wildnernow compiled in by default. The options are no-ops for now.
11110ceb702SSascha Wildner
11279a3e83fSSascha WildnerDEFAULT DRIVER CHANGED FOR LSI "THUNDERBOLT" SERIES RAID CONTROLLERS
11379a3e83fSSascha Wildner--------------------------------------------------------------------
11479a3e83fSSascha Wildner
11579a3e83fSSascha WildnerThe default driver for those controllers is now mrsas(4) due to reports
11679a3e83fSSascha Wildnerof file system corruption using the mfi(4) driver. The whole issue (and
11779a3e83fSSascha Wildnerhow to deal with potential problems when switching) was explained here:
11879a3e83fSSascha Wildner
11979a3e83fSSascha Wildnerhttp://lists.dragonflybsd.org/pipermail/users/2014-July/128703.html
12079a3e83fSSascha Wildner
12179a3e83fSSascha WildnerA tunable is provided for letting those controllers still attach via
12279a3e83fSSascha Wildnerthe mfi(4) driver, hw.mrsas.mfi_enable (see mrsas(4) manual page).
12379a3e83fSSascha Wildner
1240055c35bSSascha WildnerOLDER NETWORK DRIVERS MOVED TO I386 ONLY
1250055c35bSSascha Wildner----------------------------------------
1260055c35bSSascha Wildner
1270055c35bSSascha WildnerThe following drivers have been made i386 only: ed(4), sr(4), ng_sync_ar
1280055c35bSSascha Wildnerand ng_sync_sr. ed(4) used to be in X86_64_GENERIC, so it has to be
1290055c35bSSascha Wildnerremoved in kernel configs derived from X86_64_GENERIC.
1300055c35bSSascha Wildner
1310055c35bSSascha Wildner+-----------------------------------------------------------------------+
13262d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.6 TO LATER VERSIONS                +
133e19e3c77SSascha Wildner+-----------------------------------------------------------------------+
134e19e3c77SSascha Wildner
135a6a7c140SJustin C. SherrillUPDATE FROM MOST RECENT 3.6
136a6a7c140SJustin C. Sherrill---------------------------
137a6a7c140SJustin C. Sherrill
138a6a7c140SJustin C. SherrillVersions of 3.6 built before June 25th have a bug where installworld might
139a6a7c140SJustin C. Sherrillcrash during installation of the new initrd.  Upgrade to the latest version
140a6a7c140SJustin C. Sherrillof 3.6 before updating to 3.8 or later.
141a6a7c140SJustin C. Sherrill
1427c87aae6SSascha WildnerATM, IPX, NCP AND NWFS SUPPORT DROPPED
1437c87aae6SSascha Wildner--------------------------------------
1446f25d555SSascha Wildner
1456f25d555SSascha WildnerSupport for the IPX and NCP network protocols and for mouting NetWare
1467c87aae6SSascha Wildnerfile systems has been dropped. Dito for ATM protocol support.
1476f25d555SSascha Wildner
1486f25d555SSascha WildnerINITRD IMAGES NOW INSTALLED BY DEFAULT
1496f25d555SSascha Wildner--------------------------------------
1506f25d555SSascha Wildner
1516f25d555SSascha WildnerAn initial ramdisk image is now installed in /boot/kernel/initrd.img.gz
1526f25d555SSascha Wildner
1536f25d555SSascha WildnerOlder images installed under the file name of initrd.img will be removed
1546f25d555SSascha Wildnerautomatically by the make upgrade process.
1556f25d555SSascha Wildner
156f0478b8bSSascha WildnerUSB4BSD IS NOW THE DEFAULT USB STACK
157f0478b8bSSascha Wildner------------------------------------
158f0478b8bSSascha Wildner
159f0478b8bSSascha WildnerTo get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
160f0478b8bSSascha Wildnerreplace "device usb" with "device oldusb" in the kernel configuration.
161f0478b8bSSascha Wildner
162e19e3c77SSascha WildnerMORE ISA SUPPORT DROPPED
163e19e3c77SSascha Wildner------------------------
164e19e3c77SSascha Wildner
165e19e3c77SSascha WildnerISA support has been dropped from the following drivers: adv(4), an(4),
166e19e3c77SSascha Wildnerar(4), cs(4), digi(4), ed(4), ep(4), ex(4), fe(4), lnc(4), sbni(4),
167e19e3c77SSascha Wildnersi(4), sn(4), and stg(4).
168e19e3c77SSascha Wildner
169e19e3c77SSascha Wildner+-----------------------------------------------------------------------+
17062d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.4 TO LATER VERSIONS                +
1719332798aSSascha Wildner+-----------------------------------------------------------------------+
1729332798aSSascha Wildner
173c04df145SJustin C. SherrillABI CHANGE
174c04df145SJustin C. Sherrill----------
175c04df145SJustin C. Sherrill
176c04df145SJustin C. SherrillInstalled third-party software (dports) will have to be rebuilt after upgrade,
177c04df145SJustin C. Sherrillor reinstalled from binary packages.
178c04df145SJustin C. Sherrill
1792b455b95SJustin C. SherrillUPDATING FROM 3.4 TO 3.6
1802b455b95SJustin C. Sherrill------------------------
1812b455b95SJustin C. Sherrill
1822b455b95SJustin C. SherrillThis only applies for this specific upgrade due to locale changes; it is
1832b455b95SJustin C. Sherrillnot needed for upgrades after 3.6.  Please update in this order:
1842b455b95SJustin C. Sherrill
1852b455b95SJustin C. Sherrillmake buildworld
1862b455b95SJustin C. Sherrillmake buildkernel
1872b455b95SJustin C. Sherrillmake installworld
1882b455b95SJustin C. Sherrillmake installkernel
1892b455b95SJustin C. Sherrill*reboot*
1902b455b95SJustin C. Sherrillmake upgrade
1912b455b95SJustin C. Sherrill
1922b455b95SJustin C. SherrillSee this mailing list post for details:
1932b455b95SJustin C. Sherrillhttp://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html
1942b455b95SJustin C. Sherrill
1959332798aSSascha WildnerCYRIX OPTIONS REMOVED
1969332798aSSascha Wildner---------------------
1979332798aSSascha Wildner
1989332798aSSascha WildnerThe following Cyrix related options have been removed: CPU_BTB_EN,
1999332798aSSascha WildnerCPU_CYRIX_NO_LOCK, CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_5X86_LSSER,
2009332798aSSascha WildnerCPU_FASTER_5X86_FPU, CPU_IORT, CPU_LOOP_EN, CPU_RSTK_EN, CPU_SUSP_HLT,
2019332798aSSascha WildnerCYRIX_CACHE_WORKS, and CYRIX_CACHE_REALLY_WORKS
2029332798aSSascha Wildner
2039332798aSSascha WildnerISA SUPPORT REMOVED FROM RP(4)
2049332798aSSascha Wildner------------------------------
2059332798aSSascha Wildner
2069332798aSSascha WildnerISA support has been removed from the rp(4) driver. It is now PCI only.
2079332798aSSascha Wildner
2089332798aSSascha Wildner+-----------------------------------------------------------------------+
20962d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.2 TO LATER VERSIONS                +
21064aeb497SSascha Wildner+-----------------------------------------------------------------------+
21164aeb497SSascha Wildner
212d88b9605SSascha WildnerCOMPAT_SUNOS OPTION REMOVED
213d88b9605SSascha Wildner---------------------------
214d88b9605SSascha Wildner
215d88b9605SSascha WildnerThe COMPAT_SUNOS option has been removed. It was meant to provide binary
216d88b9605SSascha Wildnercompatibility with SunOS 4.x for the sparc32 port of 4.4BSD.
217d88b9605SSascha Wildner
21843f215d7SSascha WildnerISA SOUND CARD SUPPORT REMOVED
21943f215d7SSascha Wildner------------------------------
22043f215d7SSascha Wildner
22143f215d7SSascha WildnerThe following modules have been removed (all for ISA sound cards):
22243f215d7SSascha Wildnersnd_ad1816.ko, snd_ess.ko, snd_mss.ko, snd_sb8.ko, snd_sb16.ko, snd_sbc.ko
22343f215d7SSascha Wildner
2246100d1deSJohn MarinoGCC 4.7
2256100d1deSJohn Marino-------
2266100d1deSJohn Marino
2276100d1deSJohn MarinoDragonFly has switched base compilers.  GCC 4.7 is now the default
2286100d1deSJohn Marinocompiler and GCC 4.4 is the alternative compiler.  The "NO_GCC47" make
2296100d1deSJohn Marinovariable ceases to work now.
2306100d1deSJohn Marino
2316100d1deSJohn MarinoUsers who wish to build only GCC 4.7 have to use NO_GCC44 in the
2326100d1deSJohn Marino/etc/make.conf to prohibit GCC 4.4 from building.  However, using it is
2336100d1deSJohn Marinohighly discouraged.  There are a few packages in pkgsrc that do not build
2346100d1deSJohn Marinowith GCC 4.7 and the new "DPorts" system uses GCC 4.4 by default.  At
2356100d1deSJohn Marinothis time, it is recommended to keep both compilers on the base system.
2366100d1deSJohn Marino
2372089bb7cSSascha WildnerSMP OPTION REMOVED
2382089bb7cSSascha Wildner------------------
2392089bb7cSSascha Wildner
2402089bb7cSSascha WildnerThe SMP kernel option has been made a no-op. All kernels now feature SMP
2412089bb7cSSascha Wildnersupport. If you have 'options SMP' in your kernel config, you can as well
2422089bb7cSSascha Wildnerremove it.
2432089bb7cSSascha Wildner
2441c297ed0SSascha WildnerDEVICE_POLLING OPTION REPLACED BY IFPOLL_ENABLE OPTION, KTR_POLLING REMOVED
2451c297ed0SSascha Wildner---------------------------------------------------------------------------
246640dc18fSSepherosa Ziehau
247640dc18fSSepherosa ZiehauThe DEVICE_POLLING kernel option has been made a no-op and it has been
248640dc18fSSepherosa Ziehaureplaced by IFPOLL_ENABLE.  If you have 'options DEVICE_POLLING' in your
249640dc18fSSepherosa Ziehaukernel config, you need to change it to IFPOLL_ENABLE.
250640dc18fSSepherosa Ziehau
2511c297ed0SSascha WildnerAlso, the KTR_POLLING kernel option has been removed, so it must be
2521c297ed0SSascha Wildnerremoved from kernel configs that have it.
2531c297ed0SSascha Wildner
254558b0a0bSSascha WildnerBUSLOGIC, CYCLADES AND STALLION ISA SUPPORT REMOVED
255558b0a0bSSascha Wildner---------------------------------------------------
256850c4634SSascha Wildner
257850c4634SSascha WildnerThe bt(4) driver for Buslogic SCSI adapters has been made PCI only. ISA
258850c4634SSascha Wildnercards will no longer be detected.
259850c4634SSascha Wildner
260e6f626a1SSascha WildnerThe same has been done for Stallion multiport serial controllers. stli(4)
261e6f626a1SSascha Wildnerhas been completely removed (along with the stlload(8) and stlstty(8)
262558b0a0bSSascha Wildnerutilities) and stl(4) was changed to support only PCI cards. Similarly,
263558b0a0bSSascha WildnerISA support was removed from cy(4) too. All these drivers are i386 only.
264e6f626a1SSascha Wildner
265e98bcb27SSascha WildnerCOMPAT_OLDISA OPTION GONE
266e98bcb27SSascha Wildner-------------------------
267e98bcb27SSascha Wildner
268e98bcb27SSascha WildnerThe i386 specific COMPAT_OLDISA kernel option has been removed, since
269e98bcb27SSascha Wildnernothing needs it anymore.
270e98bcb27SSascha Wildner
271640dc18fSSepherosa Ziehau+-----------------------------------------------------------------------+
27262d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.0 TO LATER VERSIONS                +
273c691bb43SSascha Wildner+-----------------------------------------------------------------------+
274c691bb43SSascha Wildner
275c691bb43SSascha WildnerAPIC_IO OPTION REMOVED
276c691bb43SSascha Wildner----------------------
277c691bb43SSascha Wildner
278c691bb43SSascha WildnerThe APIC_IO kernel option is no longer accepted after having been without
279c691bb43SSascha Wildnereffect for a while. The hw.ioapic_enable tunable now serves its purpose.
280c691bb43SSascha WildnerIf you have 'options APIC_IO' in your kernel config, you'll have to
281c691bb43SSascha Wildnerremove it.
282c691bb43SSascha Wildner
2836d488cc3SSascha WildnerWATCHDOG_ENABLE & HW_WDOG OPTIONS REMOVED
2846d488cc3SSascha Wildner-----------------------------------------
285cf03d6cdSSascha Wildner
286cf03d6cdSSascha WildnerThe wdog framework is now compiled into our kernels by default, so the
2876d488cc3SSascha Wildneroptions are no longer needed.
288cf03d6cdSSascha Wildner
289397ffc5cSSascha WildnerDOSCMD(1) REMOVED
290397ffc5cSSascha Wildner-----------------
291397ffc5cSSascha Wildner
292397ffc5cSSascha Wildnerdoscmd(1) has been removed. It was i386 only. The doscmd(1) specific
293397ffc5cSSascha WildnerNO_X make.conf option was removed too.
294397ffc5cSSascha Wildner
295a1404d4fSSascha WildnerGCC 4.7
296a1404d4fSSascha Wildner-------
297a1404d4fSSascha Wildner
298a1404d4fSSascha WildnerGCC 4.7 has been brought in and replaces GCC 4.1 as DragonFly's non-
299a1404d4fSSascha Wildnerdefault compiler in base (default is still GCC 4.4).
300a1404d4fSSascha Wildner
301a1404d4fSSascha WildnerUsers who wish to build only GCC 4.4 have to replace NO_GCC41 with
302a1404d4fSSascha WildnerNO_GCC47 in /etc/make.conf.
303a1404d4fSSascha Wildner
3042508820fSSascha WildnerUSB4BSD
3052508820fSSascha Wildner-------
3062508820fSSascha Wildner
3072508820fSSascha WildnerA new USB stack (from FreeBSD) has been brought in. The following
3082508820fSSascha Wildnermodules have been ported so far: usb, uhci, ohci, ehci, xhci, umass,
3092508820fSSascha Wildnerusfs, uether, if_axe, if_udav, ukbd, ums, uep, uhid, usb_quirk,
3102508820fSSascha Wildnerand uaudio.
3112508820fSSascha Wildner
3122508820fSSascha WildnerIt is not yet the default. To activate it, WANT_USB4BSD=yes has to
313c7200221SSascha Wildnerbe put in make.conf and device "usb4bsd" (quotes needed) has to
314c7200221SSascha Wildnerreplace device usb in the kernel config. After that, a full
315c7200221SSascha Wildnerbuild/install/upgrade cycle is needed.
3162508820fSSascha Wildner
3172508820fSSascha WildnerNote that this is experimental and incomplete, but we are interested
3182508820fSSascha Wildnerin hearing about issues with it, of course.
3192508820fSSascha Wildner
320ae0870a3SSascha WildnerISA SUPPORT REMOVED FROM AIC-6260/6360 DRIVER
321ae0870a3SSascha Wildner---------------------------------------------
322ae0870a3SSascha Wildner
323ae0870a3SSascha WildnerISA adapter support was dropped from the aic(4) driver.
324ae0870a3SSascha Wildner
325c691bb43SSascha Wildner+-----------------------------------------------------------------------+
32662d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 2.10 TO LATER VERSIONS               +
32796386d4bSSascha Wildner+-----------------------------------------------------------------------+
32896386d4bSSascha Wildner
32996386d4bSSascha WildnerSEVERAL ISA DRIVERS REMOVED
33096386d4bSSascha Wildner---------------------------
33196386d4bSSascha Wildner
33296386d4bSSascha WildnerThe following ISA only drivers have been removed along with a couple of
33396386d4bSSascha Wildnerassociated userland tools:
33496386d4bSSascha Wildner
33596386d4bSSascha Wildneraha(4)
33696386d4bSSascha Wildnerasc(4) & sasc(1)
33796386d4bSSascha Wildnerctx
33896386d4bSSascha Wildnerdgb(4)
33996386d4bSSascha Wildnerel(4)
34096386d4bSSascha Wildnergpib
34196386d4bSSascha Wildnergsc(4) & sgsc(1)
34296386d4bSSascha Wildnerie(4)
34396386d4bSSascha Wildnerlabpc(4)
34496386d4bSSascha Wildnerle(4)
34596386d4bSSascha Wildnermse(4)
34696386d4bSSascha Wildnerrc(4)
34796386d4bSSascha Wildnerrdp(4)
34896386d4bSSascha Wildnerspigot
34996386d4bSSascha Wildnertw(4) & xten(1) & xtend(8)
35096386d4bSSascha Wildnerwl(4) & wlconfig(8)
35196386d4bSSascha Wildnerwt(4)
35296386d4bSSascha Wildner
35396386d4bSSascha WildnerNote that two of these drivers (aha(4) and ie(4)) are in our GENERIC
35496386d4bSSascha Wildnerconfig and one (aha(4)) is in our X86_64_GENERIC kernel configuration
35596386d4bSSascha Wildnerfile.
35696386d4bSSascha Wildner
35796386d4bSSascha WildnerIf buildkernel complains about any of these drivers, just remove them
35896386d4bSSascha Wildnerfrom your kernel configuration.
35996386d4bSSascha Wildner
360919eb219SJohn MarinoBINUTILS 2.20
361919eb219SJohn Marino-------------
36237c5a0dbSJohn MarinoBinutils 2.20 has been removed in favor of Binutils 2.22.  The accepted
363e685772eSJohn Marinovalues of BINUTILSVERS are now binutils221 and binutils222 (default).
364919eb219SJohn Marino
36583bc1e2aSSascha WildnerBUILDWORLD/-KERNEL PARALLELIZATION WORK
36683bc1e2aSSascha Wildner---------------------------------------
36783bc1e2aSSascha WildnerDue to changes in the way we build with more than one make job, you
36883bc1e2aSSascha Wildnerwill have to update install(1) and mkdir(1) prior to buildworld if you
36983bc1e2aSSascha Wildnerwant to build with 'make -j':
37083bc1e2aSSascha Wildner
37183bc1e2aSSascha Wildnercd /usr/src/usr.bin/xinstall; make; make install; make clean
37283bc1e2aSSascha Wildnercd /usr/src/bin/mkdir; make; make install; make clean
37383bc1e2aSSascha Wildner
374eca86bd9SSascha WildnerDMA(8) UPGRADE
375eca86bd9SSascha Wildner--------------
376eca86bd9SSascha Wildnerdma(8) has been upgraded to v0.7 which no longer supports the
377eca86bd9SSascha Wildner/etc/dma/virtusertable. Some of its functionality has been replaced
378eca86bd9SSascha Wildnerwith the MASQUERADE keyword and the EMAIL environment variable (see
379eca86bd9SSascha Wildnerthe dma(8) manual page).
380eca86bd9SSascha Wildner
38196386d4bSSascha Wildner+-----------------------------------------------------------------------+
38262d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 2.8 TO LATER VERSIONS                +
383a4a39c94SJustin C. Sherrill+-----------------------------------------------------------------------+
384a4a39c94SJustin C. Sherrill
385b1242318SSascha WildnerGCC 4.4 & BINUTILS 2.21
386b1242318SSascha Wildner-----------------------
38730c91f0cSSascha Wildner
388b1242318SSascha WildnerGCC 4.4 has been made DragonFly's default compiler and Binutils 2.21 has
389b1242318SSascha Wildnerbeen made DragonFly's default Binutils.
39030c91f0cSSascha Wildner
39130c91f0cSSascha WildnerThat means that any settings that set CCVER to 'gcc44' are not needed
39230c91f0cSSascha Wildneranymore. Instead, CCVER can be set to 'gcc41' to go back to using
39330c91f0cSSascha WildnerGCC 4.1.
39430c91f0cSSascha Wildner
395b1242318SSascha WildnerIt also means that 'binutils221' as a value for BINUTILSVER has no
396b1242318SSascha Wildnereffect anymore. 2.17 has been removed and 'binutils220' is available
397b1242318SSascha Wildneras an option.
398b1242318SSascha Wildner
3995738210dSSascha WildnerThe NO_GCC44 option has been removed and will not affect the build
40030c91f0cSSascha Wildneranymore. There is now a NO_GCC41 option that will prevent GCC 4.1 from
40130c91f0cSSascha Wildnerbuilding in a similar fashion.
40230c91f0cSSascha Wildner
40380abb3beSSascha WildnerNote that you must do a full buildworld/buildkernel for upgrading.
40430c91f0cSSascha Wildner
405a4a39c94SJustin C. Sherrillpkg_radd settings
406c983d16eSSascha Wildner-----------------
407a4a39c94SJustin C. Sherrill
408a4a39c94SJustin C. SherrillThe config file for pkg_radd has moved from /etc/settings.conf to
409a4a39c94SJustin C. Sherrill/etc/pkg_radd.conf.  Save the contents of settings.conf before upgrading
410a4a39c94SJustin C. Sherrillif this is needed.  This warning only applies if /etc/settings.conf
411a4a39c94SJustin C. Sherrillexists.  pkg_radd will continue to work with defaults.
412a4a39c94SJustin C. Sherrill
413a4a39c94SJustin C. Sherrill+-----------------------------------------------------------------------+
41472fe41d3SPeter Avalos+         20100927							+
4151bb1cc14SMatthias Schmidt+         UPGRADING DRAGONFLY FROM 2.6 to 2.8 or HEAD			+
416b79f66ddSJoe Talbott+-----------------------------------------------------------------------+
417b79f66ddSJoe Talbott
41872fe41d3SPeter AvalosOpenSSL
419c983d16eSSascha Wildner--------
42072fe41d3SPeter Avalos
42172fe41d3SPeter AvalosOpenSSL has been upgraded, and SHLIB_MAJOR was bumped for libssh and libcrypto.
42272fe41d3SPeter AvalosThis shouldn't break any 3rd-party software, but you'll need to recompile your
42372fe41d3SPeter Avalos3rd-party software if you want it to link against the new version of OpenSSL.
42472fe41d3SPeter Avalos
4258eb0b612SJustin C. SherrillLoader
426c983d16eSSascha Wildner-------
4278eb0b612SJustin C. Sherrill
428b79f66ddSJoe TalbottA new loader (dloader) has been added which better handles booting from
429b79f66ddSJoe Talbottmultiple kernel/module versions.
430b79f66ddSJoe Talbott
431b79f66ddSJoe TalbottTo upgrade (Only for this upgrade, for post 2.8 upgrades see GENERAL below)
432b79f66ddSJoe Talbott
433b79f66ddSJoe Talbott	cd /usr/src
434b79f66ddSJoe Talbott	make buildworld
435b79f66ddSJoe Talbott	make installworld
436b79f66ddSJoe Talbott	make upgrade
437b79f66ddSJoe Talbott	make buildkernel KERNCONF=<KERNELNAME>
438b79f66ddSJoe Talbott	make installkernel KERNCONF=<KERNELNAME>
439b79f66ddSJoe Talbott
440b79f66ddSJoe TalbottNote that you must installworld and run the 'upgrade' target before
441b79f66ddSJoe Talbottinstalling the new kernel.
442b79f66ddSJoe Talbott
4438eb0b612SJustin C. SherrillBIND
444c983d16eSSascha Wildner-----
4458eb0b612SJustin C. Sherrill
4468eb0b612SJustin C. SherrillBIND has been removed from the base system.  The ldns and drill tools have
4478eb0b612SJustin C. Sherrillbeen added for basic functionality.  Use 'drill' where you would normally
4488eb0b612SJustin C. Sherrilluse nslookup or dig, or install BIND from pkgsrc.  It's available as
4498eb0b612SJustin C. Sherrillnet/bind95, net/bind96, or net/bind97 as of this writing.
4508eb0b612SJustin C. Sherrill
4518eb0b612SJustin C. SherrillThis only affects older systems upgrading to 2.8.  New 2.8+ installs
4528eb0b612SJustin C. Sherrillinclude BIND as a pkgsrc package.
4538eb0b612SJustin C. Sherrill
454b79f66ddSJoe Talbott+-----------------------------------------------------------------------+
455d2a0deccSMatthew Dillon+         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM		+
456d2a0deccSMatthew Dillon+				GENERAL					+
457d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
458984263bcSMatthew Dillon
459a700883cSSascha WildnerInstructions on how to obtain and maintain DragonFly source code using git
460a700883cSSascha Wildnerare in the development(7) manual page.
461d2a0deccSMatthew Dillon
462d2a0deccSMatthew DillonTo upgrade a DragonFly system from sources you run the following sequence:
463d2a0deccSMatthew Dillon
464d2a0deccSMatthew Dillon	cd /usr/src
465d2a0deccSMatthew Dillon	make buildworld
466d2a0deccSMatthew Dillon	make buildkernel KERNCONF=<KERNELNAME>
467d2a0deccSMatthew Dillon	make installkernel KERNCONF=<KERNELNAME>
468d2a0deccSMatthew Dillon	make installworld
469d2a0deccSMatthew Dillon
470d2a0deccSMatthew DillonYou will also want to run the 'upgrade' target to upgrade your /etc and the
471d2a0deccSMatthew Dillonrest of your system.  The upgrade target is aware of stale files created by
472d2a0deccSMatthew Dillonolder DragonFly installations and should delete them automatically.
473d2a0deccSMatthew Dillon
474d2a0deccSMatthew Dillon	make upgrade
475d2a0deccSMatthew Dillon
476a700883cSSascha WildnerSee the build(7) manual page for further information.
477a700883cSSascha Wildner
478d2a0deccSMatthew DillonOnce you've done a full build of the world and kernel you can do incremental
479d2a0deccSMatthew Dillonupgrades of either by using the 'quickworld' and 'quickkernel' targets
480d2a0deccSMatthew Dilloninstead of 'buildworld' and 'buildkernel'.  If you have any problems with
481a700883cSSascha Wildnerthe quick targets, try updating your repo first, and then a full buildworld
482d2a0deccSMatthew Dillonand buildkernel as shown above, before asking for help.
4834523a2c0SThomas Nikolajsen
4844523a2c0SThomas Nikolajsen+-----------------------------------------------------------------------+
4854523a2c0SThomas Nikolajsen+         UPGRADING FROM DRAGONFLY <= 2.0 TO DRAGONFLY >= 2.1		+
4864523a2c0SThomas Nikolajsen+-----------------------------------------------------------------------+
4874523a2c0SThomas Nikolajsen
4884523a2c0SThomas NikolajsenIn 2.1 kernel and modules has moved to boot directory.  For most cases
4894523a2c0SThomas Nikolajsenthis is handled automatically by 'make upgrade'.  A few cases needs manual
4904523a2c0SThomas Nikolajsenintervention:
4914523a2c0SThomas Nikolajsen
4924523a2c0SThomas Nikolajsen * When installing a kernel without first doing a make buildworld,
4934523a2c0SThomas Nikolajsen   installworld and upgrade to the same DESTDIR as kernel:
4944523a2c0SThomas Nikolajsen   make DESTDIR/boot directory and move kernel and modules into this boot
4954523a2c0SThomas Nikolajsen   directory; also move kernel.old and modules.old.
4964523a2c0SThomas Nikolajsen   Typical example is vkernel(7), use (no modules used):
4974523a2c0SThomas Nikolajsen
4984523a2c0SThomas Nikolajsen	cd /var/vkernel
4994523a2c0SThomas Nikolajsen	mkdir boot
5004523a2c0SThomas Nikolajsen	chflags noschg kernel
5014523a2c0SThomas Nikolajsen	mv kernel kernel.old boot
5024523a2c0SThomas Nikolajsen	chflags schg boot/kernel
5034523a2c0SThomas Nikolajsen
5044523a2c0SThomas Nikolajsen * When using a boot-only partition, /boot/loader.rc needs to be edited:
5054523a2c0SThomas Nikolajsen   delete occurrences of '/boot/'.
5064523a2c0SThomas Nikolajsen   These occurences can normally be deleted in any case, see loader(8).
507d2a0deccSMatthew Dillon
508d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
509d2a0deccSMatthew Dillon+         UPGRADING FROM DRAGONFLY <= 1.8 TO DRAGONFLY >= 1.9		+
510d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
511d2a0deccSMatthew Dillon
512d2a0deccSMatthew DillonIn 1.9 major changes to the disk management infrastructure have taken
513d2a0deccSMatthew Dillonplace.  make upgrade may not catch all of your disk devices in /dev,
514d2a0deccSMatthew Dillonso after upgrading be sure to cd /dev; ./MAKEDEV <blah> where <blah>
51545e80934SMatthew Dillonare all of your disk devices.  HOWEVER, from late 2.3 on we run devfs
51645e80934SMatthew Dillonand MAKEDEV no longer exists.
517d2a0deccSMatthew Dillon
518d2a0deccSMatthew DillonThe biggest changes in 1.9 are:
519d2a0deccSMatthew Dillon
520d2a0deccSMatthew Dillon(1) That whole-slice devices such as da0s1 no longer share the same device
521d2a0deccSMatthew Dillon    id as partition c devices such as da0s1c.
522d2a0deccSMatthew Dillon
523d2a0deccSMatthew Dillon(2) The whole-disk device (e.g. da0) is full raw access to the disk,
524d2a0deccSMatthew Dillon    with no snooping or reserved sectors.  Consequently you cannot run
525d2a0deccSMatthew Dillon    disklabel on this device.  Instead you must run disklabel on a
526d2a0deccSMatthew Dillon    whole-slice device.
527d2a0deccSMatthew Dillon
528d2a0deccSMatthew Dillon(3) The 'compatibility' partitions now use slice 0 in the device name,
529d2a0deccSMatthew Dillon    so instead of da0a you must specify da0s0a.  Also, as per (1) above,
530d2a0deccSMatthew Dillon    accessing the disklabel for the compatibility partitions must be
531d2a0deccSMatthew Dillon    done via slice 0 (da0s0).
532d2a0deccSMatthew Dillon
533d2a0deccSMatthew Dillon(4) Many device drivers that used to fake up labels, such as CD, ACD, VN,
534d2a0deccSMatthew Dillon    and CCD now run through the disk management layer and are assigned
535d2a0deccSMatthew Dillon    real disk management devices.   VN and CCD in particular do not usually
536d2a0deccSMatthew Dillon    use a MBR and disklabels must be accessed through the compatibility
537d2a0deccSMatthew Dillon    slice 0.  Your /etc/ccd.conf file still specifies 'ccd0', though, you
538d2a0deccSMatthew Dillon    don't name it 'ccd0s0' in the config file.
539d2a0deccSMatthew Dillon
540d2a0deccSMatthew DillonGenerally speaking, you have to get used to running fdisk and disklabel on
541d2a0deccSMatthew Dillonthe correctly specified device names.  A lot of the wiggle, such as running
542d2a0deccSMatthew Dillondisklabel on a partition, has been removed.
543d2a0deccSMatthew Dillon
544d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
545d2a0deccSMatthew Dillon+         UPGRADING FROM OLDER VERSIONS OF DRAGONFLY OR FREEBSD		+
546d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
547d2a0deccSMatthew Dillon
548d2a0deccSMatthew Dillon> Kerberos IV
549d2a0deccSMatthew Dillon-------------
550d2a0deccSMatthew Dillon
551d2a0deccSMatthew DillonKerberos IV (eBones) was removed from the tree, please consider moving to
552d2a0deccSMatthew DillonKerberos 5 (Heimdal).
553d2a0deccSMatthew Dillon
554d2a0deccSMatthew Dillon> Package Management System
555d2a0deccSMatthew Dillon---------------------------
556d2a0deccSMatthew Dillon
557d2a0deccSMatthew DillonStarting with the 1.4 release, DragonFly uses NetBSD's pkgsrc package
558d2a0deccSMatthew Dillonmanagement system.  The necessary tools to build and maintain packages
559d2a0deccSMatthew Dillonare provided in /usr/pkg/bin and /usr/pkg/sbin.  Make sure that these
560d2a0deccSMatthew Dillondirectories are in your PATH variable.
561d2a0deccSMatthew Dillon
562d2a0deccSMatthew DillonIn order to obtain a reasonably current snapshot of the pkgsrc tree, use
563d2a0deccSMatthew Dillonthe tarball from NetBSD:
564d2a0deccSMatthew Dillon
565d2a0deccSMatthew Dillon	fetch -o /tmp/pkgsrc.tar.gz ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc.tar.gz
566d2a0deccSMatthew Dillon	cd /usr; tar -xzf /tmp/pkgsrc.tar.gz; chown -R root:wheel pkgsrc
567d2a0deccSMatthew Dillon
568d2a0deccSMatthew DillonThis tree can then be kept up to date with cvs update:
569d2a0deccSMatthew Dillon
570d2a0deccSMatthew Dillon	cd /usr/pkgsrc; cvs up
571d2a0deccSMatthew Dillon
572d2a0deccSMatthew DillonNOTE! If you upgraded from a pre-1.4 system to 1.4 or later, you need to
573d2a0deccSMatthew Dillonbuild and install the pkgsrc bootstrap manually:
574d2a0deccSMatthew Dillon
575d2a0deccSMatthew Dillon	cd /usr/pkgsrc/bootstrap
576d2a0deccSMatthew Dillon	./bootstrap --pkgdbdir /var/db/pkg --prefix /usr/pkg
577d2a0deccSMatthew Dillon
578d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
579d2a0deccSMatthew Dillon+         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM		+
580d2a0deccSMatthew Dillon+         UPDATING FROM PRE-1.2 SYSTEMS OR FreeBSD 4.x TO               +
581d2a0deccSMatthew Dillon+         DRAGONFLY 1.3+ (EITHER PREVIEW or HEAD)                       +
582d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
58358116288SJoerg Sonnenberger
584114580acSSascha WildnerThe compatibility shims for the build environment have been removed, you
58558116288SJoerg Sonnenbergerhave to update to DragonFly 1.2 release branch first.
58658116288SJoerg Sonnenberger
5871fcc7462SJoerg SonnenbergerThe default PAM configuration has moved from /etc/pam.conf to /etc/pam.d/.
5881fcc7462SJoerg SonnenbergerThe existing configuration can be converted using /etc/pam.d/convert.sh.
5891fcc7462SJoerg SonnenbergerEntries in /etc/pam.d/ override entries in /etc/pam.conf. In addition
5901fcc7462SJoerg Sonnenbergerthe pam_skey.so module was retired, you have to remove it manually from
5911fcc7462SJoerg Sonnenbergeryour configuration, when you convert it.
59258116288SJoerg Sonnenberger
593a3107071SMatthew Dillon> Required user and group IDs when upgrading from either FreeBSD or DragonFly
594a3107071SMatthew Dillon---------------------
595a3107071SMatthew Dillon
596a3107071SMatthew DillonThe following users may be missing from your password file.  Use vipw and
597a3107071SMatthew Dillonadd any that are missing:
598a3107071SMatthew Dillon
599a3107071SMatthew Dillonsmmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
600dcf85892SJoerg Sonnenberger_pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/sbin/nologin
601a3107071SMatthew Dillon
602a3107071SMatthew DillonThe following groups may be missing from your group file.  Use vi /etc/group
603a3107071SMatthew Dillonand add any that are missing:
604a3107071SMatthew Dillon
605a3107071SMatthew Dillonsmmsp:*:25:
606a3107071SMatthew Dillonauthpf:*:63:
607dcf85892SJoerg Sonnenberger_pflogd:*:64:
608a3107071SMatthew Dillon
609a3107071SMatthew Dillon
610f419dacaSMatthew Dillon> Upgrading to DragonFly from FreeBSD
611984263bcSMatthew Dillon---------------------
612984263bcSMatthew Dillon
613f419dacaSMatthew DillonYou can build the DragonFly world and DragonFly kernels on a FreeBSD-4.x or
614f419dacaSMatthew DillonFreeBSD-5.x machine and then install DragonFly over FreeBSD, replacing
615f419dacaSMatthew DillonFreeBSD.  Note that the DragonFly buildworld target does not try to reuse
616f419dacaSMatthew Dillonmake depend information, it starts from scratch, so no pre-cleaning of the
617f419dacaSMatthew Dillonobject hierarchy is necessary.
618984263bcSMatthew Dillon
619466bbc10SHiten Pandya	# get the CVS repository (it is placed in /home/dcvs, 500MB).
620f419dacaSMatthew Dillon	# Please use the -h option and a mirror site to pull the
621f419dacaSMatthew Dillon	# initial repository, but feel free to use the main repository
622f419dacaSMatthew Dillon	# machine to pull updates.
6235010eeb3SSascha Wildner	cvsup /usr/share/examples/cvsup/DragonFly-cvs-supfile
624f419dacaSMatthew Dillon	# install the source from the CVS hierarchy (remove preexisting
625f419dacaSMatthew Dillon	# FreeBSD src first) (500MB)
626f419dacaSMatthew Dillon	cd /usr
627f419dacaSMatthew Dillon	rm -rf src
62850172b1cSDavid Rhodus	cvs -R -d /home/dcvs checkout -P src
629984263bcSMatthew Dillon
630f419dacaSMatthew Dillon	# build it (500MB used in /usr/obj)
631f419dacaSMatthew Dillon	#
632fb12f484SMatthew Dillon	cd /usr/src
633fb12f484SMatthew Dillon	make buildworld
634f419dacaSMatthew Dillon	make buildkernel KERNCONF=<KERNELNAME>
635f419dacaSMatthew Dillon
636f419dacaSMatthew DillonOnce you have built DragonFly you have to install it over FreeBSD.  Since
637f419dacaSMatthew DillonDragonFly does not track changes made by FreeBSD to its include file
638f419dacaSMatthew Dillonhierarchy and include file pollution can cause all sorts of unexpected
639f419dacaSMatthew Dilloncompilation issues to come up, it is best to wipe your include hierarchy
640f419dacaSMatthew Dillonprior to installing DragonFly.  Note that you should not wipe any installed
641f419dacaSMatthew DillonFreeBSD header files or binaries until after you have successfully completed
642f419dacaSMatthew Dillonthe build steps above.
643f419dacaSMatthew Dillon
644f419dacaSMatthew Dillon	rm -rf /usr/include
645f419dacaSMatthew Dillon	mkdir /usr/include
646f419dacaSMatthew Dillon	make installkernel KERNCONF=<KERNELNAME>
647fb12f484SMatthew Dillon	make installworld
648fb12f484SMatthew Dillon
649b8cbf045SSascha WildnerThen you need to upgrade your system.  DragonFly's 'make upgrade' target
650f419dacaSMatthew Dillonwill unconditionally upgrade the /etc files that sysops do not usually
651b8cbf045SSascha Wildnermess around with, such as the files in /etc/rc.d.  It will also remove any
652b8cbf045SSascha Wildnerobsolete files such as utilities and manpages that have been removed from
653b8cbf045SSascha Wildnerthe system since the version you're coming from.  If you are unsure we
654b8cbf045SSascha Wildnerrecommend that you make a backup of at least your /etc before applying
655b8cbf045SSascha Wildnerthis step.  Note that DragonFly's RC system is basically RCNG from
656b8cbf045SSascha WildnerFreeBSD-5, but there are some differences in the contents of the RC files.
657f419dacaSMatthew Dillon
658f419dacaSMatthew Dillon	make upgrade
659f419dacaSMatthew Dillon
660b8cbf045SSascha WildnerNOTE! Never do a 'make upgrade' before 'make installworld' has been run.
661b8cbf045SSascha WildnerDoing so might leave your system in an unusable state.
662b8cbf045SSascha Wildner
663f419dacaSMatthew DillonFinally we recommend that you do an 'ls -lta BLAH' for /bin, /sbin, /usr/bin,
664b8cbf045SSascha Wildner/usr/bin, and /usr/lib, and remove any stale files that you find.  Please
665b8cbf045SSascha Wildnerreport these files to the DragonFly developers so that they can be added to
666b8cbf045SSascha Wildnerthe 'upgrade' target.
667f419dacaSMatthew Dillon
668