Commit Graph

1288 Commits

Author SHA1 Message Date
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