Commit Graph

1490 Commits

Author SHA1 Message Date
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
jmmv
240f26990b Translate oldsendmail per Pavel's request. 2007-10-25 15:47:51 +00:00
martin
4c5676b9c4 Translate oldsendmail message. 2007-10-23 13:26:09 +00:00
degroote
868baf8f75 Translate in french the new oldsendmail message 2007-10-21 21:20:16 +00:00
pavel
7af5b3f24d When upgrading, check (using postinstall) if /etc/mailer.conf selects the
old, now removed sendmail. If yes, display a warning menu that offers to
replace it by a current version that selects postfix.

Thank much to Martin Husemann for extensive testing and suggestions.

XXX translations need updating.
2007-10-21 20:21:01 +00:00
garbled
81d85de62e Part 1 of pmppc removal as a port. (the machine is still supported, but
now under the evbppc port)
Note, have not touched the set lists yet, as I would like to preserve the
manpages.
2007-10-17 22:59:26 +00:00
martin
96c59cac10 Minor cosmetics 2007-10-09 18:45:56 +00:00
martin
e9705aba47 Clear the remainder of the status line after updating it - this allows
messages to be of arbitrary length w/o leaving garbage from previous
ones.
2007-10-09 18:43:26 +00:00
martin
d69eb5cf2d Minor cosmetics 2007-10-08 00:21:47 +00:00
martin
7179dab5b0 Fix column alignment in partition size display 2007-09-29 21:54:13 +00:00
jmmv
374758e493 Configure wscons on the new installed system. 2007-08-01 14:49:42 +00:00
jmmv
f007a448b9 Add wskbd configuration to sysinst on shark. 2007-08-01 14:20:40 +00:00
jmmv
36b239668c Use get_media_subtype_string instead of get_media_mode_string to determine
the card's current media type.  Otherwise it always defaults to 'autoselect'
which is not supported by all cards (e.g. cs(4) in NetBSD/shark).

This was causing problems when configuring an interface with dhclient, as
sysinst could incorrectly reset the media type (the net_media variable) to
'autoselect', writing incorrect ifconfig.<if> files in the target file
system.
2007-07-29 20:44:26 +00:00
dsl
c8ad8ea05b Add code that should preserve the 'drive serial number' field of the mbr.
Ought to stop the installer from stopping windows vista from being bootable.
2007-07-05 20:03:00 +00:00
xtraeme
111463f431 Mount a ptyfs on /dev/pts by default. I'm committing it because
I did not have any answer for 10 days.

http://mail-index.netbsd.org/tech-install/2007/06/08/0001.html
2007-06-18 16:58:42 +00:00
he
2f140cf7fe Undo the #if 0 for the multibyte functions we now need to build
ramdisks, and provide untested minimal implementations of mbsrtowcs()
and wcsrtombs().
Verified to fix build problems for at least the amd64 and hp300 ramdisks.
2007-05-29 17:46:44 +00:00
hubertf
ae218465f7 Add GENERIC.NOACPI kernel that offers - surprise! - no ACPI
(in contrast to GENERIC).
2007-05-17 01:50:48 +00:00
snj
aff9047a41 Remove GENERIC.MPACPI from the list of kernels, as it is no longer
built.  Pointed out by smb.
2007-05-05 22:23:33 +00:00
xtraeme
b23843afa1 Add "wd", "sd" and "raid:no_mbr" disks in DISK_NAMES (and xbd:no_mbr,
but it's ignored as there's no support for Xen yet).

From Edgar Fu in PR port-amd64/36116.
2007-04-08 16:47:38 +00:00
christos
e3845a8924 Merge the multibyte routines into one file, and add stub implementations
for one more that is needed, and commented out partial implementations for
the test of the functions. This should stop the re-defined symbol errors
for now.
2007-04-02 15:53:25 +00:00
is
f37ee586c8 Fix typo, which prevented DHCP network configuration from discovering the
machine name.
2007-03-23 12:51:03 +00:00
jmmv
4233342b6f Clear the first sector of the disk so that OpenFirmware recognizes it and
can load a kernel from its file system.

Also tell the user what command he needs to run from the OpenFirmware shell
to configure automatic booting of the system.

Closes PR port-shark/35576.
2007-03-12 11:19:37 +00:00
rillig
88a0bfb9fa Fixed lots of Deppenleer Zeichen in the German translation of sysinst,
as suggested in PR 34048.
2007-02-15 12:00:15 +00:00
christos
32b2149aa4 we need wcrtomb now too. 2007-02-03 19:55:51 +00:00
christos
288e2b48f6 add prototypes for the _ss functions. 2007-02-03 19:49:21 +00:00
wiz
adb24059f9 Spell "algorithmus" correctly. 2006-12-25 18:33:08 +00:00
dsl
bae1302b24 Update message strings to match reordered kernels after TINY ones got killed.
Fixes PR/35264
2006-12-17 16:59:40 +00:00
martin
7013a4813d If we do DHCP (so our ifconfig.* file only has a "up" line), still
write media selection information, if the user chose anything special.
Pointed out by Georg Schwarz in PR 31448.
2006-12-05 10:21:09 +00:00
dsl
19a3b59fe1 Fix inverted test for presence of lfs commands when writing /etc/fstab 2006-11-30 20:48:13 +00:00
wiz
5c056f6785 s/apparant/apparent/, from Zafer. 2006-11-24 22:54:47 +00:00
hubertf
8c32fb4371 Properly mark the sets to install when selecting a full install.
Bug reported and patch reviewed by mhitch@, tested by myself
2006-11-24 00:53:47 +00:00
martin
ca4e1f8a92 If we need -fno-strict-aliasing (see hack "gcc4 pointer sign and strict
aliasing problems", usr.sbin/dhcp/Makefile.inc rev 1.20), we need it
on the crunched binaries too.
2006-11-23 13:22:18 +00:00
dsl
12dfa56940 Conditionalise the tests for the deleted kernels 2006-11-19 19:01:26 +00:00
dsl
d392ef1faa Remove TINY and PS2TINY 2006-11-19 11:37:32 +00:00
reed
77c6811b1b Uppercase "BSD". s/Netbsd/NetBSD/
Saw this in the missing bootmenu menu.
2006-11-17 21:04:22 +00:00
he
9fdd864183 Implement mostly-stub versions of the new syslog functions
({v,}syslog_{r,ss}) and the corresponding openlog_r/setlogmask_r/closelog_r
functions.

This should allow sparc64 to build its ramdiskbin again.

Reviewed by christos@
2006-11-06 17:33:56 +00:00
gson
f43e0dea3d Add missing initializers to placate GCC 4.1-20061021. 2006-10-24 15:32:36 +00:00
he
ed6e54f4b5 Get rid of the tests with (now) empty bodies, instead just ignore the
return value from sysctl().
2006-10-23 22:42:33 +00:00
he
c0c38b0bb7 Complete the initializers. 2006-10-23 22:41:51 +00:00
he
6e75ae6383 Complete initializers, and correctly order "static" relative to "const",
i.e. at the front.
2006-10-23 19:45:56 +00:00
he
59ed5b6d63 Correctly order "static" relative to "const" and "volatile", i.e.
at the front (at least that's what gcc thinks...).
2006-10-23 19:44:57 +00:00
pavel
529cc0c586 Apply patch from Hauke Fath to solve port-mac68k/29049: sysinst did not
newfs and mount the target filesystem.

In Hauke's words: "Basically, the mac68k md_make_bsd_partitions() function,
which replaces the MI make_bsd_partitions() because the mac68k port does not
have an on-disk BSD disklabel, neglected to sign up BSD partitions for
newfs'ing and mounting by setting the appropriate flags."

Revert the commit to the install notes (rev. 1.14 of notes/mac68k/prep) which
added a warning and a workaround for this bug, as requested by hubertf in the
PR log.
2006-10-12 12:46:18 +00:00
he
47f7700709 We now need <sys/param.h> to bring roundup() into scope. 2006-10-05 16:25:38 +00:00
christos
85c2327ad4 remove home-brewd rounding macros. 2006-10-04 21:27:27 +00:00
dsl
4bde2b5d8d Redraw the 'welcome' message when we redisplay the 'utility' menu.
Otherwise it will sit atop the last data output by the last executed
utility.  Even a blank screen looks funny.
2006-09-29 19:41:07 +00:00
martin
f944aa66d2 Ignored interfaces should be ignored, wether they are IFF_UP or not.
For example eon0 is always up after boot, but completely useless.
2006-09-29 10:37:49 +00:00
martin
3da83175e0 If we ask "is any of these interfaces connected?" we want the answer to be
"yes", and abort if it is "no" - not vice versa.
XXX - when returning to the utilities menu loop, the menu message should
be output again, I think. I couldn't figure out how that is supposed to
be done though.
2006-09-29 09:56:04 +00:00
martin
109baa1a34 Make the DEBUG version build again. 2006-09-29 09:29:12 +00:00
hubertf
035a96fc94 Update polish translation, by Piotr Meyer <aniou@smutek.pl>
Also fix a typo that was there before, pointed out by zuntum@.

OK'd by zuntum@
2006-09-19 14:47:10 +00:00
hubertf
8d5320e242 Fix last commit - it's nice to actually be able to select sets when told so 2006-09-14 14:42:37 +00:00
hubertf
b7be24d378 Fix two oversights from last update 2006-09-04 22:03:50 +00:00
hubertf
dd0080d52a Update with changes by Gilbert Fernandes <gilboooo@gmail.com>,
review and some updates from bouyer@
2006-09-04 22:00:52 +00:00
hubertf
46f83bb806 Update, submitted by Marco <marcotrillo@gmail.com>
OK'd by xtraeme@
2006-09-04 21:46:32 +00:00
hubertf
042bbb2bb1 * Add Minimal (core) installation, consisting of a kernel, base + etc
* Fixup all of the German translations.
2006-09-04 02:20:40 +00:00
hubertf
136960985f Fix previous - no need to prepend target-root in chroot 2006-09-04 00:46:13 +00:00
hubertf
5bc64783d6 Make md_cleanup_install() more uniform across platforms. 2006-09-04 00:11:00 +00:00
hubertf
c66460047c be consistent in md_cleanup_install():
use the sed(1) from the newly installed system here too
(is getting rid of sed from the install ramdisk/... worthwhile?)
2006-09-04 00:07:27 +00:00
hubertf
8346ac144d Use sed(1) from the newly installed system instead of from the
miniroot/ramdisk -- which is not present on some platforms (hp300, mvme68k,
x68k), according to comments in their md_cleanup_install() functions.
2006-09-03 23:54:02 +00:00
hubertf
454b2c7a71 Enable rc_configured=yes, to be consistent with our other ports.
Also do the same cleanup.
2006-09-03 10:54:41 +00:00
sekiya
221525774f XNS is no more; nuke reference to af_ns.c 2006-08-27 06:40:43 +00:00
martin
e5b60f45a3 Do not install bootblocks twice. Suggested by Hubert Feyrer. 2006-08-19 22:41:27 +00:00
martin
914384b438 The "request" arg of ioctl(2) is unsigned long, not int!
Sign extended requests do not work on archs with sizeof(long) > sizeof(int).
2006-08-19 21:18:40 +00:00
hubertf
a441eeeff1 Add whitespace to make more readable. No functional change. 2006-08-11 13:39:44 +00:00
hubertf
f4ff510f74 Offer to install GENERIC.MP, too, as we build & ship it. 2006-08-11 13:35:54 +00:00
mhitch
4b2f6edec3 gcc4 fixes: a lot of char * signed/unsigned mismatches. 2006-08-04 05:30:13 +00:00
bjh21
5b69310abf Merge in changes from acorn32 version, which should fix some build failures
with GCC 4.
2006-07-30 16:46:49 +00:00
martin
9d93195858 Fix truncated message and one inconsistency, fixes parts of
PR bin/34048.
2006-07-21 14:04:26 +00:00
jnemeth
cf6a192ebc CID 2970: don't close a file that isn't open 2006-07-18 12:05:03 +00:00
christos
29c1a4c22e GCC4 fixes from Mike Pumford 2006-06-25 21:32:39 +00:00
mrg
17c4e47817 need <stdlib.h> for exit(3) prototype. 2006-06-24 05:12:13 +00:00
dsl
6d35173b6d When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).
2006-06-10 14:48:46 +00:00
mrg
f599351ef6 quieten GCC uninitialise variable warnings. 2006-05-18 18:45:48 +00:00
mrg
2a25c77f5b turn on -Wno-pointer-sign for label.c. 2006-05-17 05:24:25 +00:00
dogcow
4918849728 pointer signedness comparison fixes 2006-05-16 00:16:59 +00:00
dsl
2073f7f26c Fix use of uninitialised variable.
I think the code it correct - but since it is only relevant when setting
the default boot partition (for mbr_bootsel) to an extended partition
it probably doesn't matter too often!
2006-05-12 21:22:34 +00:00
he
c4447252c1 Appease gcc 3.3.3 once more, marked with /* -Wuninitialized [many] */,
as it fixes build problem for many archs.
2006-05-12 13:31:56 +00:00
mrg
e8a328732c include <bsd.own.mk> before <bsd.sys.mk>. 2006-05-11 00:15:17 +00:00
garbled
2ed4156891 Add conv=sync so it doesn't "fail" when doing the dd. 2006-05-10 18:22:28 +00:00
garbled
8f74d51698 Prep doesn't really need bad144, and it doesn't even ship with it on the
floppy, so yank the code that calls it from md.c
2006-05-09 20:52:33 +00:00
rpaulo
96a4817dfb Remove -DUSE_RFC3542. 2006-05-07 16:01:21 +00:00
rpaulo
75f21410a7 Enable RFC3542. 2006-05-06 00:02:48 +00:00
snj
a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
hubertf
6e0ce16052 Call the partition type 'type' instead of 'kind'.
Less confusing, and in sync with common terminology.

Found while walking someone through the installation on IRCnet #NetBSD...
2006-04-23 23:09:48 +00:00
he
1b9747a00f Fix an overlooked addition of an empty md_post_extract(). 2006-04-06 17:18:11 +00:00
garbled
cd8efba238 Small KNF fix 2006-04-05 17:01:21 +00:00
garbled
85af130714 Rather big update to sysinst, in order to get it working on the prep port.
1) Add an md_post_extract() function.  This function is called after
extracting the sets, and allows the arch to do something at that time.
In the case of prep, it is much easier to install the bootcode after all
the sets are extracted, so we do it in md_post_extract().  Added empty
md_post_extract() functions to all other arches so they compile.

2) Add md_mbr_use_wholedisk() and md_check_mbr().  In edit_mbr() I have
split off the code that uses the whole disk for NetBSD, into the
mbr_use_wholedisk() function.  On most ports that use mbr.c, I made
md_mbr_use_wholedisk() just call that and return.  On prep we create the
magical prep boot partition here.  The md_check_mbr() function allows the
arch to add additional checks after the user had manually edited the MBR
to make sure the choices he made allow NetBSD to function.  Added a dummy
routine to all mbr.c using arches.

3) Added code to bsdlabel.c to create a partition of type boot if
PART_BOOT is defined, but BOOT_SIZE is not defined.  Also added two more
globals "bootsize" and "bootstart" which must be seeded in order to do
so.  This is done on prep in md_check_mbr().

4) Added MBR_PTYPE_PREP to the list of MBR partitions.

5) Made the prep port actually install sanely.  It now creates a prep
boot partition, labels it correctly, installs all the sets, and then runs
mkbootimage and dd's the bootimage into the prep partition.  The result
is a prep installer that creates a bootable NetBSD installation
automatically.

6) Edited the prep menus and messages files to add new labels.  In the
case of the translated files, I just added the words in english for
someone to translate later.

I tried to xcompile a few arches to make sure I didn't break anything,
but I could have missed something.  Please let me know if I have broken
your arch in any way.  I'll watch the autobuilds for the next few days
too. For all ports other than prep there should be no functional changes
at all.
2006-04-05 16:55:01 +00:00
shige
a6d74476ad Added evbmips instkernel and sysinst. 2006-03-30 15:45:42 +00:00
tsutsui
f5040e78bb - Create an independent "boot" partition for bootloader rather than
marking a raw partition as "boot".
- Adjust default partition size for /usr so that extracted files
  won't flood on the default full installation.
2006-03-21 06:18:29 +00:00
tsutsui
f543e0f10e Some KNF adn ANSIfy. 2006-03-21 02:06:31 +00:00
tsutsui
dc8b8e8df8 Some KNF. 2006-03-21 02:05:33 +00:00
tsutsui
ec2e473d63 8 -> MAXPARTITIONS 2006-03-21 01:33:49 +00:00
tsutsui
bbcd8e938f Invoke MI installboot(8) directly rather than via a wrap script. 2006-03-21 01:32:19 +00:00
dsl
b051d89585 Make floppy install messages less confusing (maybe).
Make floppy file system type settable - it depends on the system you are
using to write the split sets, not the target.
2006-02-26 10:25:52 +00:00
dsl
ac97411677 Use a menu for 'install from floppy' questions.
Ask whether the user wants to delete the fetched files (ftp and floppy) after
install.  Delete after sucessful install of each file.
Kill bufferred tty input in a couple of places when typeahead will be wrong.
Code added to run.c to do a 'cd' in the child, unused (so far).
2006-02-25 20:21:00 +00:00
dsl
cd974d281d target_realpath() is only used by the code that updates libraries from
a.out to elf - so move it into aout2elf.c
I'm not even sure this code is important at all any more.
2006-02-25 13:29:34 +00:00
dsl
b68f172f6d Delete a load of messages that aren't used in the current code, and that
I don't suppose will be used soon.
2006-02-24 22:13:16 +00:00
dsl
1256423cda Put the name of the system/directory (etc) into the menus when asking
for the location of the source of the sets.
Put the menu in the place on the screen that used to contian a display
of what was selected.
Now these screen work the same way as the disk partitioning ones.
Leaves more screen real-estate for more questions.
2006-02-23 21:44:56 +00:00
dsl
35b84990cc Remove the notarfile_ok message - is it no longer needed.
We don't need to have dump_lfs to get lfs support.
(i386 will need 100k of stuff deleted to get newfs_lfs and fsck_lfs added)
2006-01-16 21:47:55 +00:00
dsl
afd41ad77a Show the number of sets installed and the next set above the menu that
asks you where to load stuff from.
Initialise stuff so that 'install default set of sets' works.
Fix install loop, removing infinite loop if/when first kernel not selected.
2006-01-15 20:41:00 +00:00
dsl
aab3fb05a5 Minor message change 2006-01-15 20:37:57 +00:00
dsl
e5231f4b40 Warp the cursor to the baud-rate entry after a com<n> entry is selected.
Allow a baud rate of 0 to be selected - uses speed set by bios.
2006-01-15 20:37:01 +00:00
dsl
9021097a89 Avoid having "//" in the middle of the transfer directory name.
(But ensure there is at least one.)
2006-01-15 20:34:20 +00:00
dsl
a6262bba3a Specify -V2 to newfs so that pages of superblock numbers are not output. 2006-01-15 20:33:05 +00:00
is
b2d05f8632 pacify gcc on VAX. 2006-01-15 13:56:15 +00:00
christos
1cf726830d zlib moved. 2006-01-14 21:15:40 +00:00
dsl
9fc0a7f722 Rework the installation loop so that it is possible to change the source
of the sets after an error.
A side effect is that it now does fetch-install-fetch-install..., not
fetch-...-fetch-install-...install.
The set selection code now uses a byte per set (not a bit-pattern) removing
the restriction of 32 sets, and allowing a per set status display (TBC).
Also TBC is deleting sets from /usr/INSTALL.
However I believe it works...
2006-01-12 22:02:44 +00:00
tsutsui
d87a63cda3 - Fix typo (s/BFS/SYSVBFS/)
- Use strlcpy(3) rather than strcpy(3)
2006-01-09 15:25:20 +00:00
tsutsui
756481fd55 First cut at sysinst support for ews4800mips. 2006-01-09 10:03:51 +00:00
tsutsui
77d25487c9 Add sysvbfs stuff. (enabled by md.h) 2006-01-09 10:00:34 +00:00
tsutsui
751d67ef2a Fix pasto in comments. 2006-01-08 18:48:25 +00:00
rjs
1276ee68fc Fix kernel names. 2005-12-30 11:41:43 +00:00
rjs
447c4d25c9 Initial import of md files for hpcarm. Copied from hpcmips. 2005-12-30 11:40:23 +00:00
xtraeme
7c0269873e Misc grammar and typos fixes from Enrique Matias Sanchez via
private email.
2005-12-13 14:23:06 +00:00
xtraeme
8db4fd7fd6 Misc grammar and typos fixes from Enrique Matias Sanchez via
private email.
2005-12-08 16:51:45 +00:00
dsl
4fba43286a Rework the checking of the typed size against the limit so we don't error
if the size is too large after we've rounded up to a cylinder boundary.
Stops silly errors (4170 > 4172) when partitions end at the end of the disk.
2005-11-05 09:58:32 +00:00
dsl
f95e28696d Fix check for root being entirely inside the area that can be read on
systems where the bios doesn't support LBA reads.
Due to faked geometries the last few (over 30000!) sectors may not be reported
as being readable, but we expect them to be in swap.  So we don't force a
root+usr install in that case.
2005-11-05 09:55:34 +00:00
dsl
0a0a96c37f Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.
2005-10-22 09:31:50 +00:00
dsl
70aacd016c Align header with table 2005-10-16 20:39:52 +00:00
agc
f0063a2802 My Spanish is somewhat lacking, but make it so that a "make distribution"
will succeed.
2005-10-06 20:47:14 +00:00
xtraeme
fff95ff31d Misc grammar and typos fixes. 2005-10-06 06:46:03 +00:00
rpaulo
44fb629a49 Add idea about installing binary snapshots from releng. 2005-10-05 16:44:39 +00:00
shige
18dc3d6415 Break infinite-loop at md_check_partitions. 2005-10-02 22:42:09 +00:00
chs
1c08e0e246 avoid another divide-by-zero while computing geometry. 2005-09-22 15:41:14 +00:00
drochner
a8675b3763 emulate getgrouplist() directly, no need to pull in
the wrapper from libc
2005-09-14 15:54:53 +00:00
he
ea19769e49 pty.o in libutil.a wants to call getgrent_r(), so provide a cheesy
non-reentrant version here in order to avoid linker conflicts when
the rest of this file is attempted linked together with libc's
getgrent.o.

Reviewed by christos.
2005-09-14 15:31:18 +00:00
jdarrow
95cef3f6e6 Change default countdown time to 5 seconds to match i386 bootblock
defaults in sys/arch/i386/stand/lib/boot_params.S

Fixes PR install/30422 by me.
2005-09-13 23:43:22 +00:00
christos
f9e066d346 Prettier /etc/fstab generation (from Liam Foy) 2005-09-12 15:47:09 +00:00
dsl
0c7751d999 Don't display 'Yes' under 'Newfs' for swap 2005-09-11 20:38:26 +00:00
martin
5b3beb916c Reword "fullpart" message to make it shorter. Should fix PR install/31292. 2005-09-11 16:43:11 +00:00
dsl
747d6ff347 Float the menu box of menu_fullpart (all mbr disk) below the text message.
Stops the German text flowing into the box, should fix PR/31292
2005-09-11 16:42:39 +00:00
dsl
297a2f78a6 Fix a couple of md translations that seem to have got awry. 2005-09-11 08:39:08 +00:00
he
7f48103418 Provide translaqtion for set_kernel_3 via cut+paste from #2. 2005-09-11 08:03:05 +00:00
he
b80a4384df Provide a translation for set_kernel_6 as well (cut+paste from #5). 2005-09-10 22:03:22 +00:00
dsl
e7fbd19237 Correct some messages which had the wrong number of format specifiers. 2005-09-10 21:51:12 +00:00
dsl
215bb0cb56 Count the number of '%' characters in every message and ensure the
translations have the same number as the english messages.
A quick nasty check that the messages uses as printf formats are sane.
2005-09-10 21:38:40 +00:00
he
e3c135df31 Provide a translation for set_kernel_2, copied from set_kernel_1. 2005-09-10 20:00:02 +00:00
dsl
f72d3abd91 For some reason this makefile descends into all the x_<prog> directories.
Since all the x_<prog> get build into crunched binaries (which does a
reachover build these days) I suspect this is entirely unnecessary.
But having deleted x_dmesg we must ensure it doesn't go there.
2005-09-10 13:24:38 +00:00
dsl
b15df8278a Nothing tries to build x_dmesg (aka dmesg with -DSMALL) any more. 2005-09-10 13:10:23 +00:00
dsl
d1c526b434 Change the message above the selection menu for root's shell to show
the correct default (ie what happens if you type enter) of /bin/sh.
Fixes PR install/32159
2005-09-09 23:20:33 +00:00
dsl
e8d475bd48 Increase width of menu to allow for longer spanish message for selecting units. 2005-08-28 19:57:25 +00:00
dsl
023b2922f8 Comment out the vstab entries generated for alternate root filesystems.
Marking the 'noauto' isn't enough to stop the code that remounts root rw
trying to use them.
2005-08-28 13:10:20 +00:00
dsl
2f42d205e2 Fix some obvious problems found by actually running an install in Spanish.
It is worth remembering that trailing spaces are significant in the message
files - they cause a line break if the text is auto-filled to the RH margin.
(This is often the case when the text is a format string.)
Note: nothing (yet) checks the number (or type) of the format effectors in
 the message strings.  I found and fixed one big error, but others will
 cause core dumps.
2005-08-27 21:24:13 +00:00
xtraeme
df49fbe1c2 Do not show the softdep option when the fstype is not FFS, from dsl@. 2005-08-27 16:34:15 +00:00
xtraeme
4674d5a41a 2nd stage of Spanish language translation (grammar fixes and typos),
I think it's enough for now.
2005-08-26 16:32:31 +00:00
xtraeme
40fa46d39d Spanish menus translation, contributed by Ivan-Benjamin Garcia Tora
with modifications by me.

Needs some review for typos maybe.
2005-08-26 15:44:43 +00:00
martin
bc0454688a Improve language slightly - partly based on suggestion from
Ignatios Souvatzis, any errors are mine.
2005-08-23 21:58:42 +00:00
dsl
72723e24f6 Fix PR/31023 completely - the messages should not have been displayed at all. 2005-08-20 20:43:26 +00:00
dsl
2b3be83563 Add missing 'n', fixes install/31023 - from Zafer Aydogan 2005-08-20 19:49:07 +00:00
chris
3d4b482c1f As requested in PR port-cats/30460 add support for GENERIC.ABLE kernel to
sysinst, and also add the ABLE install kernel to the generated release
kernels.
2005-08-07 00:21:38 +00:00
xtraeme
76bb6413ee If there's bootxx_lfsv2 on the ramdisk, we could use LFS for the
root filesystem, add the missing bit for that.
2005-07-09 15:05:13 +00:00
xtraeme
ab8df35bc8 After calling the function to find the disks, refresh the screen again.
This removes messages like "sd0: fabricating a geometry".
2005-07-09 14:56:23 +00:00
rillig
debefb7e31 Provide the user a menu to select each installation step on its own.
Currently there's no way to repeat steps or leave them out.
2005-06-28 07:41:46 +00:00
skrll
36d83be9a6 An xserver set is created - allow sysinst to handle it. 2005-06-24 14:52:48 +00:00
tron
731af7cc71 Add raid(4) to the list of machine-independent devices which "sysinst"
recognizes. This allows upgrading e.g. NetBSD-macppc or NetBSD-sparc64
systems with RAIDframe mirrored root devices.
2005-06-09 22:14:20 +00:00
chs
b944888e86 install the bootloader in the root of the target fs. 2005-06-05 18:55:30 +00:00
dsl
148ea12326 Stub out mbrtowc(), removes all the citrus_xxx stuff from libc.
rescue_tiny fits again...
2005-05-15 10:15:47 +00:00
chs
2438f5c3ad add hp700 support. 2005-05-14 14:46:21 +00:00
christos
bc7bf3d1e0 Translation of the new messages, and some corrections from
Hernani Marques Madeira. Many thanks.
2005-05-08 22:35:20 +00:00