Commit Graph

438 Commits

Author SHA1 Message Date
he 686c73fd73 Um, as has been noted, INSTALL_FILE records what's installed if it's
done unprived, and that doesn't go down well on a re-build.  So use
${INSTALL} ${COPY} instead to fix this problem.
2010-04-23 14:10:19 +00:00
he 91dbb8c445 Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
target is made un-writeable, the build won't bomb out during an
UPDATE build.  OK'ed by martin@.
2010-04-22 11:58:59 +00:00
martin 84459e4292 Use the same multiuser mode setup as the sparc64 install CD.
Add a few usefull binaries.
2010-04-19 04:41:36 +00:00
martin b4deff4fda Cherry-pick the /libexec content for (non miniroot) CDs and add the sysinst
specific dhcpcd hook scripts
2010-04-04 23:02:23 +00:00
martin 8299a0b61d Remove bogus workaround hiding a real bug: /tmp/dhcpcd-lease should be
created by the sysinst specific dhcpcd hook
2010-04-04 22:56:44 +00:00
martin e881b496bf Since we don't crunch/libhack sysinst on this CD, we need to populate
the locale information, otherwise the sysinst translations have no
chance to work.
2010-03-16 10:16:39 +00:00
roy 0adc6cef21 Remove terminfo.db as it's now embedded in libterminfo. 2010-02-11 09:06:47 +00:00
roy bb3a353864 Use the rescue terminfo.db in our images instead of termcap. 2010-02-05 10:01:16 +00:00
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