Commit Graph

418 Commits

Author SHA1 Message Date
dholland
6f470d80f5 fix typo. 2009-03-08 05:38:32 +00:00
ad
5b6c66b01e The XEN2 kernels are no more. 2009-03-07 21:35:10 +00:00
christos
aac5228100 proper way to find objdir. 2009-03-07 20:19:45 +00:00
abs
7a3d39395e Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
2009-01-25 22:08:37 +00:00
rmind
6d73ddd355 Revert path of modules back to "/stand". 2009-01-24 22:14:44 +00:00
rmind
f0e51651e4 Change path to kernel modules from "/stand" to "/kernel".
Needs to go in before 5.0.  Proposed on <tech-kern>.
2009-01-24 00:29:12 +00:00
hannken
5d923958f5 Remove superfluous target "image_md_pre". It is already present
in Makefile.cdrom and takes precedence from there.

No functional change intended.
2008-12-09 12:01:55 +00:00
jnemeth
6c48b462c5 And again 2008-12-08 04:47:28 +00:00
ad
18072f949e Fix again. 2008-12-03 15:24:40 +00:00
ad
f98296e627 Oops, fix the build. 2008-12-02 10:48:21 +00:00
ad
aa2aa71eff Put sysinst onto the boot CDs, too. 2008-12-01 10:20:57 +00:00
ad
4d30f18b26 Tweak the install messages. 2008-12-01 10:20:15 +00:00
ad
fedda485e0 Resurrect miniroot.kmod for bespoke installs. 2008-12-01 10:11:26 +00:00
ad
b5476b291f Union mount a tmpfs over /etc, for sysinst. 2008-11-25 14:25:59 +00:00
ad
5b8ba55f76 Switch the i386 installation CDs away from RAM disks and instead use the
CD-ROM as the root file system. It contains a limited subset of $DESTDIR
along with sysinst. This will help to massively reduce the amount of memory
needed to install from CD or netboot, and allow us to continue using the
generic kernel on the CDs.
2008-11-21 15:49:51 +00:00
dbj
35bfa1ebbd avoid full path to boot.cfg file when building amd64 boot floppy
share code with i386
2008-11-04 23:02:52 +00:00
joerg
47066a311f Make x86 installation use tmpfs. 2008-11-04 14:21:39 +00:00
tsutsui
d10423145f Sync with amd64:
> Remove trailing whitespace.
2008-10-26 05:14:26 +00:00
tsutsui
50d5115349 Don't specify "load=/miniroot.kmod" by default in boot.cfg on bootcds.
Instead, specify "load /miniroot.kmod" per each boot menu
so that we can use bootcds to load any specific kernel in
other devices which doesn't need ramdisk miniroot.

Tested on qemu.
2008-10-20 14:08:35 +00:00
tsutsui
cb6c399677 Put boot.cfg for bootfloppy into ustarfs without path
so that bootloader can load it properly.
2008-09-26 18:36:44 +00:00
lukem
a7910f38ac remove duplicate entry for bootfloppy-big 2008-09-03 22:07:12 +00:00
matt
7cd6f44757 Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
2008-06-23 02:16:53 +00:00
ad
2ecb66f8a5 Update for new module locations. 2008-05-20 19:07:52 +00:00
chris
2d9b8b788b As part of make release copy the miniroot.kmod into installation/miniroot/
and create sums for it.

This means all the pieces to do network installation are easily accessible
following a release build (and will also come out of the build servers).

netbsd-GENERIC is in binary/kernel/
pxeboot_ia32.bin is in installation/misc/
miniroot.kmod is in installation/miniroot/
2008-05-11 12:31:45 +00:00
dyoung
7b01455a0e Overhaul ifconfig. Use fewer global variables. Take a leap toward
improved modularity and extensibility.

In the new architecture, a directed graph of argument-matching
objects (match objects) expresses the set of feasible ifconfig
statements.  Match objects are labelled by subroutines that provide
the statement semantics.

Many IPv4, IPv6, 802.11, tunnel, and media configurations have been
tested.

AppleTalk, ISO, carp(4), agr(4), and vlan(4) configuration need
testing.
2008-05-06 04:33:42 +00:00
ad
8f4b352702 Compress the module. 2008-05-05 17:10:28 +00:00
ad
7eb9b0eaa1 Bump the timeout to 30s, it takes longer to read and digest the information
esp. if you have not seen it before.
2008-05-02 23:15:31 +00:00
ad
59978d093b Put the GENERIC kernel onto i386 installation CDs and load a kernel module
from the boot loader to provide the miniroot.
2008-05-02 23:13:05 +00:00
ad
6e6587f48e Put a boot menu on the amd64+i386 boot floppies. Not used yet because
the ustar loader seems to have the menu code if'd out.
2008-04-30 22:00:05 +00:00
ad
da694a1ffc For PR kern/38537:
- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
  build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
2008-04-30 15:29:11 +00:00
sborrill
12958cf8a3 Add boot.cfg files to bootcd and bootcd-com iso images. 2008-02-23 17:52:14 +00:00
tsutsui
d92ad10bca Move and share a common termcap.mini file. 2008-02-01 13:43:11 +00:00
bouyer
61d4b35251 build XEN3PAE kernels as part of release. 2008-01-23 19:52:24 +00:00
sborrill
1a550c9b7b Add boot menu and welcome banner to installation CD allowing the user to
choose between the normal and non-ACPI kernel.
2007-11-23 16:21:22 +00:00
joerg
611565d05b Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
2007-11-15 00:31:19 +00:00
pavel
7108de26ef Add a comment reminding to update the release documentation when the
list of released kernel images change.
2007-07-24 10:20:15 +00:00
tls
c43359c28a libssp is gone. 2007-05-30 16:23:22 +00:00
tls
4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
dogcow
c1583b0d2c Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
2007-05-10 23:22:27 +00:00
bouyer
7faa36afb7 Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
2007-03-08 13:48:36 +00:00
bouyer
04825266e6 Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
2007-03-06 21:52:44 +00:00
bouyer
ff6bcd05a5 For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
dsl
73faefbb9f As has been pointed out recently, the list of i386 release kernels needs
updating. Probably to an ACPI kernel that need not fit into an 'emulated floppy'
and a 'legacy' kernel that will fit.
In any case the small/tiny kernels which are really for i386 systems with
< 16MB of memory (some are sized for a 5.25" floppy) don't need to be built.
Remove bootfloppy-small, bootfloppy-tiny, rescue-tiny and bootfloppy-ps2
and associated ramdisks.
2006-11-19 11:17:51 +00:00
dsl
fed5688510 It is singularly pointless generating CD install images for PS2 and tiny
systems.  I really can't imagine them being bootable - especially if/when
this directory generates non-floppy-emulation images.
2006-11-18 20:15:59 +00:00
dsl
838c3d3c4f Remount mount_kernfs from these - kernfs isn't it the kernels any more. 2006-11-18 16:16:19 +00:00
dsl
202882dcbc Move the programs that are common to all ramdisks into common/list.ramdisk.
The build ramdiskbin programs have the same code size, the overall sizes
differ slightly due to the way rodata.str.1 gets relaxed.
2006-11-18 16:09:57 +00:00
dsl
77c391989d Whitespace/comment changes to align text between these files 2006-11-18 10:01:32 +00:00
hubertf
1cd9ce06e8 Add example on how to make an install CD - it's the same
as the bootcd* CDs just with the install sets added to
the CD as well.

XXX 1) The implementation of this is rather cludgy (copying sets around),
       as our makefs(8) can't put files from multiple directories into
       one image -- something that mkisofs can do with 'graft' points
XXX 2) This should be run after 'build.sh release' - It would be nice
       if we had a seperate stage to add such hooks in our build framework
2006-10-29 17:58:15 +00:00
pavel
7c45d943a0 Do not strip INSTALL kernels. Makefile.tarfloppy does this now. 2006-09-29 08:20:44 +00:00
bouyer
356edfcf8e Don't strip (and don't generate the symbols.gz files) for Xen INSTALL kernels.
There's no space contraint here, and this makes debugging easier.
2006-08-23 19:02:37 +00:00