Commit Graph

1373 Commits

Author SHA1 Message Date
abs c0b7d45df7 Fix over enthusiastic length limit in SUPPORT_8_3_SOURCE_FILESYSTEM block 2009-02-11 20:33:14 +00:00
abs 175e4bfbdf Add -DSUPPORT_8_3_SOURCE_FILESYSTEM option - currently *only enabled on atari*
which if a set file cannot be found will attempt to truncate down to 8.3 and
check again. Required for install with sets from GEMDOS filesystem.
2009-02-06 00:24:29 +00:00
martin 02c69332a0 PR install/40506: do not display international characters before we have
selected a proper locale.
2009-01-28 16:31:49 +00:00
abs f59480d8df Switch evbpcc sysinst and install notes to referencing WALNUT/OPENBLOCKS266
kernels, rather than (nonexistant) GENERIC

from KIYOHARA Takashi
2009-01-25 17:48:05 +00:00
abs 1f13a9d79a - Sync atari sysinst install kernel list with reality:
- BOOT reanamed to SMALL030
  - ATARITT and FALCON were missing
- Update release notes to kernel list and also clarify Milan kernels
2009-01-24 21:20:22 +00:00
tsutsui 52275243c5 WARNS=1 2009-01-24 13:58:21 +00:00
tsutsui 4f5defc8b9 Remove the \n and tab from the __COPYRIGHT() strings to appease asm warnings. 2009-01-24 13:43:21 +00:00
he c35e4870f2 Add some more weak aliases for versioned library calls, to prevent
that we try to link in objects from libc.a where we also provide our
own replacements here, leading to multiple definitions during linking.

OK'ed by christos@
2009-01-16 14:48:04 +00:00
tsutsui ccd5483536 Before installboot(8), check running machine types (milan or others)
via sysctl(3) and copy appropriate tertiary boot.atari loader
from /usr/mdec/{std,milan} into targetroot.
Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change
have been tested by David Ross on port-atari.

Fixes the final portion of PR port-atari/40315, and
pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
2009-01-14 10:49:37 +00:00
tnozaki 52ed7b035f Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
martin 827c9991f2 Set an apropriate locale depending on the selected language.
This does not realy change anything in the crunched version, but helps
debugging foreign languages and will magically start working once we
un-castrate locales in the crunched environment.
2008-12-21 11:02:41 +00:00
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