cvs commit: src/release Makefile src/release/amd64
boot_crunch.conf src/release/i386 boot_crunch.conf
src/release/ia64 boot_crunch.conf src/release/pc98
boot_crunch.conf src/usr.sbin/sysinstall Makefile acpi.c ...
Sam Leffler
sam at FreeBSD.org
Wed Mar 8 10:02:34 PST 2006
sam 2006-03-08 18:02:32 UTC
FreeBSD src repository
Modified files:
release Makefile
release/amd64 boot_crunch.conf
release/i386 boot_crunch.conf
release/ia64 boot_crunch.conf
release/pc98 boot_crunch.conf
usr.sbin/sysinstall Makefile dist.c dist.h install.c menus.c
sysinstall.h
Added files:
usr.sbin/sysinstall acpi.c acpidump.h biosmptable.c
Log:
Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic
Notes:
1. On HEAD this code is not currently used because GENERIC kernels
include SMP. This work is mainly intended for RELENG_6 where the
GENERIC kernel is UP. If HEAD changes to match then just enable
WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
we rename one kernel at the last moment (SMP if installed, otherwise
GENERIC). There are other, possibly better, approaches.
Lots of help from ru, emaste, scottl, and jhb.
Revision Changes Path
1.900 +29 -10 src/release/Makefile
1.61 +1 -1 src/release/amd64/boot_crunch.conf
1.61 +1 -1 src/release/i386/boot_crunch.conf
1.11 +1 -1 src/release/ia64/boot_crunch.conf
1.61 +1 -1 src/release/pc98/boot_crunch.conf
1.139 +30 -0 src/usr.sbin/sysinstall/Makefile
1.1 +356 -0 src/usr.sbin/sysinstall/acpi.c (new)
1.1 +177 -0 src/usr.sbin/sysinstall/acpidump.h (new)
1.1 +274 -0 src/usr.sbin/sysinstall/biosmptable.c (new)
1.242 +102 -10 src/usr.sbin/sysinstall/dist.c
1.66 +7 -1 src/usr.sbin/sysinstall/dist.h
1.365 +35 -1 src/usr.sbin/sysinstall/install.c
1.417 +47 -1 src/usr.sbin/sysinstall/menus.c
1.270 +13 -0 src/usr.sbin/sysinstall/sysinstall.h
More information about the cvs-src
mailing list