Commit Graph

1347 Commits

Author SHA1 Message Date
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
tsutsui 112c693a1e Remove non English translation messages for now.
They should be prepared once after we have working sysinst on this port.
2008-02-02 04:11:15 +00:00
rumble ff2d046b84 Fix MD set tweaking by introducing `md_init_set_status', which is called
at the end of `init_set_status'.

Previously, i386/amd64, mac68k and sgimips were using `md_init' to set the
appropriate kernel, but any changes made were being undone by a later call
to `init_set_status'.

This should fix IP3x installation issues on sgimips.

XXX - `md_init' is now unused. Should we G/C it?
2008-01-28 02:47:12 +00:00
garbled e87796b3eb Change bsddisklabel.c to export it's functions rather than declaring them
all static.  This makes it possible to write a md_make_bsd_partitions()
function without having to copy all of bsddisklabel.c into md.c.

Make ofppc sysinst install sanely and in a bootable manner on both my
7044, and my pegasos.  The only thing the user needs to do is pick the
right kernel set.
2008-01-23 23:15:37 +00:00
hubertf 5e527e9f98 Create /cdrom and add an entry to fstab
Discussed & OK'd in October 2007 on tech-install
2008-01-15 12:09:24 +00:00
simonb ccab3b34ce Remove support for NetBSD/pc532. 2008-01-10 13:40:36 +00:00
mrg 0738c9d4c5 port the prep parts to ofppc. this is tested on a pegasosII box and
with a suitable ramdisk etc, you can actually install successfully.

mostly the changes from port-prep are to switch the prep mkbootimage
to an msdos boot partition with a copy of ofwboot in it.
2008-01-02 11:30:30 +00:00
mrg 8403b85c70 add support for PART_BOOT_PI_FLAGS and PART_BOOT_PI_MOUNT defines that
allow PART_BOOT support to set flags / mountpoint for the boot partition.

will be used for ofppc port to create an msdos /boot.
2008-01-02 11:23:22 +00:00
dholland 1bbd65fe3f Extend size of entry buffer for partition type ids from 4 to 5, to allow
room for hex values. Fixes (my own) PR 34791, now that I've had a chance
to test it.
Reviewed-by: martin
2007-12-28 00:48:43 +00:00
ad f4c9b5b65a Make SMP the default on i386. For the time being the noacpi kernel does
not have it enabled.
2007-12-25 01:03:31 +00:00
ad f28895c808 Remove GENERIC.MP config and enable SMP by default on amd64. 2007-12-20 23:32:24 +00:00
ad 2fdfbee8ac -GENERIC_DIAGNOSTIC 2007-12-02 23:55:52 +00:00
dsl 8ae1366b06 Remove now unnecessary casts to of 'mbrbs_nametab' to 'char *'. 2007-11-29 23:20:47 +00:00
joerg d69661a074 Remove sysinst part of LAPTOP kernels. 2007-11-15 00:55:02 +00:00
jmmv aa5d737b65 Make sysinst install the new tests.tgz set
Teach sysinst about the new tests.tgz set and allow the user to install
it as part of a regular installation.
2007-11-12 15:07:33 +00:00
martin 6c62888809 Compile a special version of the default locale into libhack - we can
not use real locales, but this at least allows single byte character
locales to work as expected (i.e. the existing translations for sysinst).
Once we get a sysinst translation that needs more, we'll have to drop this
and the castrated setlocale(), and go for a real solution.
2007-11-06 19:27:07 +00:00