Commit Graph

430 Commits

Author SHA1 Message Date
tsutsui f804115722 www.netbsd.org -> www.NetBSD.org 2009-10-24 06:36:39 +00:00
ahoka f4909cdf5b Give a chance for dhcpcd to work by mounting a memory backed /var/db and
/var/run. Also create an empty lease file in /tmp/dhcpcd-lease.

XXX is this needed on other platforms too?
2009-09-30 00:32:08 +00:00
christos 6964e246ca Exit with 1 so that we stay in single user mode when sysinst exits with 'x'.
Otherwise things get messed up (no /dev). From Anon Ymous
2009-09-25 14:09:27 +00:00
abs 2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs 2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50:50 +00:00
abs bdf4da2bba Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs 6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
hubertf 206ec737e8 Make sure cdrom/etc exists before copying files into it.
Needed when someone sets CDRUNTIME to "" in  a subdirectory's Makefile,
to not get anything besides a kernel and maybe a ramdisk (module) on a CD.
2009-08-30 22:30:30 +00:00
tsutsui 1bdd710904 Fix indent on common/protocols changes. 2009-04-29 18:20:00 +00:00
tsutsui 102ba59746 Remove unneeded gnu/usr.bin from SRCDIRS. 2009-04-29 18:01:50 +00:00
joerg 4764c235e5 Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
2009-04-07 11:49:16 +00:00
perry 58e0c54cf3 Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
2009-04-03 22:36:34 +00:00
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