Commit Graph

1263 Commits

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