Commit Graph

1362 Commits

Author SHA1 Message Date
ad c967a6ed32 Put the log files into /tmp. 2008-12-01 10:22:36 +00:00
sborrill 8e03e5a4c8 Add cut-down getpwent_r() to join existing getpwent() and friends. This
fixes PR 40003
2008-11-28 19:39:00 +00:00
ad a93bd7922f Don't shoot self in the foot if / is on NFS. 2008-11-25 14:25:20 +00:00
ad ab165b17f6 Create a dynamically linked sysinst as part of the build process, but don't
install it.
2008-11-21 15:39:29 +00:00
ad 389c672366 Don't ask for set location if:
- installing from CD-ROM or NFS
- and the root file system is of that type
- and the root file system contains sets
2008-11-21 15:31:20 +00:00
ad 708504e914 filesystem -> file system 2008-11-21 15:05:40 +00:00
martin defe90f72c german trabslation of ipw/iwi license question 2008-11-09 17:58:49 +00:00
christos 5f123c574b make the eula acceptance permanent by adding it to sysctl.conf. From Anon Ymous 2008-11-06 15:30:23 +00:00
christos faa758fa9c add a primitive "accept the license" for ipw and iwi. XXX: Needs translations. 2008-11-05 22:58:37 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
abs 8bf1bada05 Most ports do not create /.profile /.termcap and /sysinst in the target
before extracting sets, so do not try to delete them after install.
Now the '/.profile' from etc.tgz will actually be left after install

Note: bebox, evppc, and sandpoint still have a md_copy_filesystem() which
dumps a copy of the install filesystem into the target before extracting,
so I've left them removing /.profile /.termcap and /sysinst after install.
2008-10-07 09:58:14 +00:00
tsutsui 9264e132c6 Install bootloader into the FAT partition, not root partition. 2008-09-13 16:59:42 +00:00
ghen cdef44cd09 Add Colemak and Dvorak options to the sysinst keyboard layout menu. They can
not simply be added to the KB_ENC_FUN table in sys/dev/wscons/wsksymdef.h
because it doesn't allow for multiple variants of the same layout.  PR#31399.
2008-09-03 08:52:36 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
simonb 0885333839 Allow the "log" option to be chosen for filesystems. Move "log"
and "softdep" to top of menu to chose filesystem options.
2008-08-08 02:54:06 +00:00
tnozaki 727a7567f1 install/39193, fix signedness problem of converting char -> wchar_t. 2008-07-29 13:46:16 +00:00
skrll e49e2d2167 -CPPFLAGS+= -I${SRCDIR}
Otherwise, system util.h is not included when compiling ifconfig.c, the
snprintb prototype is missing, and the flags don't get printed correctly
on hp700.
2008-07-25 15:11:48 +00:00
dsl cc5a3a76ba mbrtowc() gets called to initialise the mbstate from libcurses.
Don't access address 0 and core dump when it does!
Fixes sysinst, the install ramdiskbin gets built against the standard
archive libraries (at least on amd64) which are build with HAVE_WCHAR.
2008-07-12 19:20:03 +00:00
dyoung d75414adf5 Let us add/remove features from ifconfig, such as support for
various address families (inet, inet6, iso, atalk) and protocols
(802.11, 802.3ad, CARP), simply by trimming the list of sources in
the Makefile.  This helps one customize ifconfig for an embedded
device or for install media, and it eliminates a lot of grotty
#ifdef'age.  Now, the ifconfig syntax and semantics are finalized
at run-time using the constructor routines in each address-family/protocol
module.

(In principle, ifconfig could load virtually all of its syntax from
shared objects.)

Extract a lot of common code into subroutines, in order to shrink
the ifconfig binary a bit.  Make all of the address families share
code for address addition/replacement/removal, and delete "legacy"
code for manipulating addresses.  That may have broken atalk and
iso, despite my best efforts.

Extract an include file, Makefile.inc, containing the make-fu that
both ifconfig and x_ifconfig share.

Sprinkle static.  Change some int's to bool's.  Constify.

Add RCS Ids to carp.c and env.c.  Move media code to a new file,
media.c.  Delete several unneeded header files.

Set, reset, and display the IEEE 802.11 attribute, 'dot11RTSThreshold'.

Bug fix: do not require both a interface address and a destination
address for point-to-point interfaces, but accept a interface
address by itself.
2008-07-02 07:44:13 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
hauke 5b622a2a06 Attempting to fix display problems of PR mac68k/37874
(1) By moving the "Choose your partition" menu up one line, we gain two
lines, since the scroll... message is gone.
(2) With the mac68k MAXPARTITIONS == 8, we only need 7 lines for the
partition table, which does not display the 'c' partition.

After both changes, the display fits nicely on an 80x24 screen even
for a full partition table. Should mac68k want to bump MAXPARTITIONS,
though, the partition table needs to be scrollable.
2008-05-24 21:42:52 +00:00
martin c5f18ae1d0 PR install/38604: when chosing "use existing partitions", and the old
label looks like an autogenerated "whole disk" label, make sure that
we adjust the 'a' partition when we create an MBR that does not start
right at the start of the disk. Also when we force this partition to be
mounted, init it's mount point to / and force a newfs.
2008-05-24 11:06:53 +00:00
dyoung e77c76146a Build af_link.c. Should fix 'build.sh release' failures. 2008-05-13 15:53:27 +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
nonaka abafa09887 fix make release breakage. 2008-05-01 17:27:33 +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
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin 3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
skrll a4177c5c7a Commit the landisk install stuff I hacked together from hubert's efforts.
Requested by uwe.
2008-04-14 17:24:56 +00:00
nonaka ded7276f3f - zaurus uses MBR
- Added fdisk to ramdisk
- increase ramdisk size
2008-04-10 15:45:29 +00:00
chris 4d962d78f3 Add sysinst support for zaurus.
Still needs some work, eg raw partition should be c not d on arm
platforms.
2008-03-31 23:55:29 +00:00
reed 99fa634a69 Reset DHCP values before use. If you first chose DHCP, then later
chose manual, the generated rc.conf has dhclient details instead
of defaultroute.  (Noticed this when dhclient ran successfully,
but network failed so I entered network settings manually.)
Now only defines dhclient rc.conf variables when DHCP is used
else defines the defaultroute.
2008-03-29 15:19:53 +00:00
martin 3ee500ddd5 Translate "Test programs" 2008-03-25 12:54:32 +00:00
martin 78154a9662 Add support for the new GENERIC.MP kernel set 2008-03-15 18:30:13 +00:00
phx c470649f44 Include full XServer for ofppc.
Approved by garbled.
2008-03-09 10:13:10 +00:00
garbled 7c9d238473 Yank the bridge64 kernel 2008-02-05 19:09:02 +00:00
chris 1538e8f144 ~17 months ago acorn32 had the WSCONS versions of GENERIC and NC removed.
Update sysinst to no longer offer kernels that don't exist.
2008-02-04 08:42:41 +00:00
riz e298de717f Add 'sha1' as one of the password ciphers to be chosen from at
install time.  Translations will need to be adjusted - I didn't feel
comfortable touching anything but .en and .de despite the relatively
simple adjustment...
2008-02-04 01:54:55 +00:00
tsutsui 7a945e58eb Handle PIF_NEWFS against ext2fs with newfs_ext2fs(8) if USE_EXT2FS is defined. 2008-02-02 09:26:45 +00:00
tsutsui fb7c8da0c1 Firstcut at sysinst for cobalt. Mostly taken from arc.
(using ext2fs instead of FAT12)
2008-02-02 09:14:32 +00:00
itohy 4c61909d8e Limit root partition size to 2GB, since hp700 PDC can only address up to 2GB.
Should we have /stand partition a la HP-UX?
2008-02-02 06:11:23 +00:00
itohy 1371c81acf Remove ``you may remove floppy'' message from message md_hello.
As far is I know, no hp700 machines can boot from floppy.
2008-02-02 05:40:01 +00:00
itohy 274ba1cc9a Fix comment. 2008-02-02 05:33:56 +00:00
itohy 2f9ebb69fd Garbage collect unused "message fullpart". 2008-02-02 04:51:32 +00:00
itohy eaa74b11aa tabify 2008-02-02 04:24:13 +00:00
tsutsui c14c9fe83a Create a FAT12 partition and copy bootloader into there after partitioning.
Based on the simliar code on prep and ofppc.
2008-02-02 04:20:02 +00:00
itohy d11c48442b Fix comment. 2008-02-02 04:19:51 +00:00
tsutsui 2d251ce390 Make it possible to invoke newfs_msdos(8) for MS-DOS partitions
if USE_NEWFS_MSDOS is defined and the specified partition can't be mounted.
2008-02-02 04:15:27 +00:00