Commit Graph

6760 Commits

Author SHA1 Message Date
dsl 9ef6b561d7 Add a -D (debug) option for testing.
Ignore inability to remove swap if -D specified.
Select disk before sets (but label after)
Let mac68k sysinst run on i386.
2003-06-25 15:45:21 +00:00
dsl 4652a607d7 French messages - from Adrien Auzanneau 2003-06-25 15:41:16 +00:00
tshiozak d710132b4b Citrus iconv support(2)
add new plugin modules and bump minor (because of some new I/Fs).
2003-06-25 10:38:01 +00:00
thorpej 93b30f2130 Add <machine/elf_machdep.h>. 2003-06-23 13:00:21 +00:00
agc d1c3d8e4e7 Add comments and descriptions for the following system packages:
base-magic-share
	base-ppp-lkm
	base-rescue-root
	base-termcap-share
	base-vfs-lkm
	comp-c-shlib
	comp-fortran-shlib
2003-06-23 11:19:44 +00:00
dyoung fe803a4b84 Split base-reference-share into base-magic-share (containing magic
files for file(1)), base-termcap-share (containing terminal
capabilities), and base-reference-share (containing area codes,
airports, et cetera).
2003-06-23 09:28:52 +00:00
dyoung b8eacf60d4 Optimization: invoke make fewer times.
Fix typo: osreleasese -> osreleases.

Write @pkgdep directives, drawing package dependencies from
distrib/sets/deps.

When regpkg is finished, now it removes the packing list temporary
file from /tmp.
2003-06-23 09:25:34 +00:00
dyoung 4b48743aa1 Stop duplication of makeflist, regpkg, makeplist code. Use routine
in sets.subr, instead.
2003-06-23 09:20:55 +00:00
dyoung 2a44e65d9c Don't duplicate code for listing sets used by makeplist, regpkg.
Instead, use the routine in sets.subr.
2003-06-23 09:18:45 +00:00
dyoung 48171b2e00 Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a
full second to bootstrap it on my on my anemic PC. Also, use
xargs/find instead of awk/system()/shell to classify each package
path as a file or directory.

For consistency, adopt similar variables names as makeflist uses.

Use the set-list routines in sets.subr instead of duplicating code.
2003-06-23 09:17:04 +00:00
dyoung 4d23e6d82c For System Packages, two new utilities, a subroutine library, and
a new list:

sets.subr -- The set-listing code that is common to makeplist,
	     makeflist, and regpkg has moved here.

syspkgdeps -- Compute naive dependencies for system packages based
	      on directory containment. I.e., if package A contains
	      path /p/q, and package B contains path /p, then B is
	      considered a dependency of A. As Jim Wise remarks,
	      this is not quite right: system-package dependencies
	      should indicate a functional dependency. Nevertheless,
	      these naive dependencies protect us from orphaning
	      files when pkg_delete'ing system packages.

culldeps -- Helper for syspkgdeps. Removes redundant dependencies
	    from a dependencies table.  Essentially does the opposite
	    of a transitive closure on a dependencies table: if
	    the table contains A depends-on B, B depends-on C, and
	    A depends-on C, then A depends-on C is removed because
	    it can be derived from the prior two dependencies.

deps -- Dependencies computed by syspkgdeps.
2003-06-23 09:02:31 +00:00
jdc c81dad62ca Add curses keyname, noqiflush and qiflush manual pages. 2003-06-20 07:06:48 +00:00
jdc 094b2f993c Increment libcurses minor to 9 for addition of keyname(), noqiflush()
and qiflush().
2003-06-20 07:05:39 +00:00
mbw 5775eabd29 iBook (14.1 LCD 32 VRAM) is reported to work by David Friggens
PowerBook G4 (12-inch) and PowerBook G4 (17-inch) supported thanks to
  HAMAJIMA Katsuomi
2003-06-19 18:20:02 +00:00
agc db2a7d9a58 Bump the version number for the base-fstab-examples package. 2003-06-18 12:40:55 +00:00
agc 18a83afa36 Put the example fstab files into their own system package in the misc
category (since they're listed in the misc/mi set list), rather than
a system package under base.

Add a comment and a description for the new system package.
2003-06-18 12:39:03 +00:00
agc 1802ef39d2 Clean up editing of the original regpkg script in the previous.
+ use "uname -r" if osrelease.sh isn't available

+ if SYSPKG_DATES is set in the environment, use the date for the
  version.  For some reason, this is controversial, so the default is
  to use NetBSD kernel versions.  Re-instate the code to calculate the
  date, but only use it if the date cannot be gleaned from the RCS Ids
  of the constituent parts.

+ re-work the versions file, since it was committed in an incomplete
  state - there were version numbers without package names in there.
  Instead, get the version number by exception - i.e. assume it's "0"
  unless specified in the versions file.  This means less independent
  maintenance when a kernel version number is bumped, and less
  duplication of work (since any new system packages will now have the
  correct version number by default)

+ lose the section which duplicated the calculation of "tiny version"
  which was never used (and which didn't work correctly)
2003-06-18 10:53:52 +00:00
dsl 217d84900a Fix stupid typo 2003-06-16 20:12:44 +00:00
dsl 24a3da65f0 Fix some typos 2003-06-16 20:11:40 +00:00
dsl 855d662c15 Whitespace fixes 2003-06-16 20:10:02 +00:00
dsl 08fc1c1957 A load of KNF changes, plus a couple of strnxxx => strlxxx my fingers did
on the way through.
2003-06-16 19:42:13 +00:00
dsl 430c90c3f6 Correct check for active swap on install disk.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)
2003-06-16 10:42:47 +00:00
dsl 17ae477780 Implement a limit on the size of / so that its guaranteed readable by the boot code.
Remove pointless 'len' parameter from read_mbr and write_mbr.
Make read_mbr initialise mbr if it can't be read (delete MD code).
Make i386 always ask at least once about the bootcode.
Move LIB_MOVE and LIB_COUNT from md.h to aout2elf.c
2003-06-14 12:58:45 +00:00
nonaka 74db466478 Add some files for libevent. 2003-06-14 08:04:42 +00:00
dsl deef134ca4 Fix code that determines BIOS CHS from MBR - used to get confused by big disks.
Make same function return useful defaults if it can't find an answer.
Make all ports default to the useful defaults if bios geometry is unknown.
Move some messages to mbr set from mi set.
Fix i386 code that selects which bios disk, simplify interface to menus.
Remove now unnecessary global data from many ports.
2003-06-13 22:27:03 +00:00
dsl bc119f42a4 Remove all references to minfsdmb and STDNEEDMB - neither are used any more. 2003-06-13 11:57:28 +00:00
dsl 88e7a0c7dc Report actual minimum size of partitions (instead of a number that is
4 times system memory). (These numbers need moving to a different menu still.)
Remove size of /usr from default sized / when /usr created.
Shrink swap in order to get partitions into available disk space.
Add twice ram size to / if space available (for system dumps).
Keep all but last partition cylinder aligned when the disk isn't a whole
number of cylinders.
2003-06-13 11:45:49 +00:00
itojun 59a8ea6cd4 set lists for libevent. sort. niels ok. 2003-06-13 04:12:53 +00:00
jwise 3ef0e39473 Recreate the ability, which has existed in syspkg since first implementation,
to explicitly version syspkgs.  See discussion on source-changes@netbsd.org.

If we want to lose this functionality, we should discuss this on the appropriate
lists...
2003-06-13 02:32:26 +00:00
provos d8cea27f17 update sets for libevent 2003-06-12 23:23:05 +00:00
tron 6933a49a87 Add international fonts. 2003-06-12 22:49:40 +00:00
agc 72aa9a9ed1 Add the comments file, which is a single file containing all the COMMENT
file entries from the syspkg hierarchy, brought up to date to include some
that had been missed out.

Add the descrs file, which is a single file containing all the DESCR
file entries from the syspkg hierarchy, brought up to date to include some
that had been missed out.

Thanks to Jim Wise for all the work that went into the syspkg sets.

Add the attrs file, which is a single file to which can be added
attributes (like preserve).

Add a regpkg script, which allows a single system package to be
registered, based simply on its setname and syspkg name.  All the
information is gleaned from the lists files by means of scripts, no
source tree is needed.  The version number for the system package is
calculated automatically, based on the most recent mtime of the files
that constitute a system package.

Add a regpkgset script, to register all the system packages in a set.
The set names recognised are "all", "base", "comp", "etc", "games",
"man", "misc", "text".
2003-06-12 20:04:00 +00:00
agc 87171e96eb Bring the machine and arch-level decision of shared libs vs none up to date,
and also bring up to date the ELF vs a.out knowledge.

Also, sort the directories into reverse alphabetical order, and add them to
the generated PLIST file after any file entries.

Grab the comments into a single file from the individual syspkg set entries.

Grab the descriptions into a single file from the individual syspkg set entries.

Add an attributes file to which can be added attributes for system packages.
The "preserve" attribute has been implemented.

Add extra comments and descriptions for system packages which were missing.
2003-06-12 19:55:18 +00:00
dsl 52e8cddd9b KNF 2003-06-12 16:48:43 +00:00
agc e61a0cb520 Correct a typo in a system package name 2003-06-12 13:37:21 +00:00
dsl 84bdf1950e kernel names mixed up on i386/amd64 port
Default to TINY, LAPTOP or PS2 if running from such a kernel.
Do wscons stuff unless we installed a TINT kernel (not if running one)
2003-06-12 12:41:55 +00:00
dsl d7bcb6d75d Move emulbackup message to MI set (conditional on AOUT2ELF marker).
Remove abberant dependencies of fdisk.o and md.o against menu/msg_defs.h
(nbmake depend gives the correct dependencies)
2003-06-12 11:20:00 +00:00
dsl 6a7cda9698 Move a couple of messages into msg.mbr.??
Remove some unused menus and messages from the ports that use mbr.c
(I'll re-implement the 1024 cylinder limit properly soon...)
2003-06-12 10:51:37 +00:00
dsl c9b8d8909b make rammb sum correct for memory sizes between 2GB and 4GB.
Fixes sysinst/17551
2003-06-11 23:06:15 +00:00
dsl 31a2215cd0 Fix window size when asking for partition mount pt and size.
Hack to give free space to a default sized /usr
Add extra space to / and /usr is any of the X sets are included.
Remove last reference to 'layoutkind == 3'.
2003-06-11 22:17:03 +00:00
dsl 608254d0b8 rototil of the set selection menu
I've also made the set selection happen first.  This lets me test it!
also measn the selected sets could be used in the disk partition code.
Removed the 'with X' disk layout question (now too late to change the sets).
2003-06-11 21:35:35 +00:00
dsl 8fc9389e15 KNF 2003-06-11 11:00:39 +00:00
dsl df45325b8e Make French and Polish compile (many missing translations though) 2003-06-11 09:03:32 +00:00
dsl 3316b2a3d8 Use dynamic menu for final editing of partition stable 2003-06-10 17:47:15 +00:00
dsl 44fa8ce69d Use dynamic menu to select partition to edit 2003-06-09 19:06:48 +00:00
dsl 99d1eb21d4 Add (back) support for mfs /tmp
Fix menu size so that user defined partitions can be allocated instead of
standard ones (need > MAXPARTITIONS entries in menu).
Make partition size info static - with a view to including it in a longer loop.
2003-06-06 21:37:13 +00:00
dsl 8e9ba8b898 Fix build if MAXPARTITIONS is 8 2003-06-06 19:04:55 +00:00
dsl 783c7d4424 Delete more messages that are never output 2003-06-06 18:57:13 +00:00
dsl 456a798f32 Remove a cpuple of unused buffers 2003-06-06 17:05:02 +00:00
dsl 32fda96392 Remove a load of messages that are no longer used.
Make the French and Polish versions compile (seems I didn't fix it last time)
2003-06-06 14:31:22 +00:00
jwise 3a7267eb8a Split comp-krb5-* and comp-krb4-* from comp-c-* to mirror division of libraries
among syspkg in base set.
2003-06-05 16:38:06 +00:00
jwise 032e1bfe70 Two kerberos admin-related man pages got put in comp. move them. 2003-06-05 15:59:39 +00:00
jwise f341162442 Fix syspkg names on some libraries (these are under comp-, not base-). 2003-06-05 15:45:17 +00:00
dsl 7504698df3 Change i386 sysinst to use my new boot code.
Update lists for ramdisks to include the required files.
NB /usr/sbin/installboot is not used by sysinst and is only in ramdisk-big.
Increase the sizes of the ramdisks, there is plenty of space in all the
boot floppies except rescue-tiny (2k) and boot-tiny (32k).
2003-06-05 14:30:11 +00:00
scw f9d932e99b Add me as evbsh5 maintainer. 2003-06-05 12:40:23 +00:00
agc cd7305a144 Remove the leading "./" from all entries in the generated PLIST.
Make awk do more of the work - remove two egrep invocations.
2003-06-05 11:18:08 +00:00
matt f85c58d78d Add msg_prompt_win.? XXX why does msgc install man pages into section 1?? 2003-06-04 22:50:19 +00:00
dsl d19795892c A rototil of the partition size requesting code. 2003-06-04 20:05:12 +00:00
dsl 8376bdad86 Add extra parameter (exit text) to new_menu() calls 2003-06-04 19:09:50 +00:00
nathanw e17390a3e3 Add pthread man pages. 2003-06-03 21:34:24 +00:00
dsl 19b2fb2fb0 Add NULL to all process_menu() calls - value is passed through to the
action routine.
Make the french and polish versions compile.
NB needs a new version of menuc - so need 'build.sh tools'
2003-06-03 11:54:48 +00:00
mbw efb909e26f Return accidentally deleted info about multiprocessor systems 2003-06-02 21:45:37 +00:00
grant bc91866ddf add cec, cs80bus and gpib man pages (hi, gmcgarry) 2003-06-02 14:45:09 +00:00
mbw 6bcce23d5d detab a few lines, and in general try to make it better for 80 column
printout
2003-06-01 17:57:12 +00:00
mbw 05db79582e misc small typos and wording cleanup
PowerBase is actually Open Firmware 2.0.x
add iBook (16VRAM) and iBook (Summer2002) as supported models
mention next release of NetBSD will support multiple CPUs
mention that some L3 caches on CPU upgrades may not be enabled by default
PowerMacintosh G4 (FW 800) model is reported to work with 1.6.1
macppc uses gem driver instead of gm ethernet driver now
macppc uses tlp driver instead of de ethernet driver now
AirPort Extreme is unsupported
full wscons capabilities not supported (virtual terminals and color)
keyboard problems with iMac and B&W G3 seem to have been cleared up
2003-06-01 17:50:37 +00:00
mbw be4a717337 misc small typos and wording cleanup
fix links to newly updated Partitioning HOW-TO and mention use of pdisk
can't view files on official ISO image or floppy from Open Firmware
keyboard problems with iMac and B&W G3 seem to have been cleared up
2003-06-01 17:48:48 +00:00
mbw 5033eb1c99 misc small typos and wording cleanup
fix links to newly updated Partitioning HOW-TO
OF 3 firmware update 4.1.7, mention that it's not much of a problem anymore
point to ZTerm home page
redo partitioning section
update now that there's a pair of boot floppies
change MS-DOS floppy section to be Zip disk
2003-06-01 17:41:02 +00:00
mbw 9d052bccc2 clean up wording of quickstart section on macppc partitioning
in quickstart, rearrange to account for macppc having two floppies now
2003-06-01 17:37:23 +00:00
mbw f4773aae19 fix a macppc TOC heading to be a little shorter 2003-06-01 17:36:07 +00:00
mbw 48a00ee0fb mention macppc has two floppies now 2003-06-01 17:34:48 +00:00
uwe 95af8c21e9 Add igsfb(4). 2003-06-01 11:38:16 +00:00
dyoung 51d337164f Fix typo to show correct prefix for PLIST, s/\$plist/\$prefix/. 2003-05-31 23:17:29 +00:00
dyoung 34603cbe81 Spelling fix, s/makeflist/makeplist/ 2003-05-31 22:56:37 +00:00
thorpej 17cf73bbb5 Add <bsd.gcc.mk>. 2003-05-31 20:34:09 +00:00
dsl d800ee579a No need to #include "bsddisklabel.c" into md.c, add to Makefile instead. 2003-05-31 08:09:59 +00:00
dsl b62cbc21e9 Make all architectures (except amiga and mac68k) use the MI make_bsd_partitions.
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).
2003-05-30 22:17:00 +00:00
dsl b0b2a88fe2 KNF 2003-05-30 17:34:31 +00:00
dsl 028c9f0a91 KNF 2003-05-30 17:24:13 +00:00
dsl 127236bc6a KNF 2003-05-30 13:58:25 +00:00
dsl 291768820b KNF 2003-05-30 13:34:58 +00:00
dsl ad480b2e44 KNF 2003-05-30 13:23:26 +00:00
dsl 4948e51933 layout changes 2003-05-30 13:13:30 +00:00
dsl 4b8e98ee2a Further collapsing of MD code:
- make_bsd_partitions() correctly handles PART_BOOT
- use bsddisklabel.c for pc532 and sgimips (this does change the default size
  for the root partition, as it no longer includes twice the memory size).
- Change way ports define disk_names[] (in particular this lets me add "vnd"
  for testing), also ensures all ports pick up new drivers.
  I've make most ports use the default "wd", "sd", "ld".
  Abort the search for disk units if we get ENOENT (ie no /dev entry) to
  speed up the case where we are looking for a disk type that isn't
  supprted by the port.
  (it is possible we could just check all possible disks on all ports...)
2003-05-30 11:56:23 +00:00
dsl c522fd9f62 partsize and partstart don't need to be globals 2003-05-29 17:54:22 +00:00
dsl 4ed96ba68a Use local partstart and partsize.
Add code that might let this code add the boot partition for the 2 ports that need it.
2003-05-29 17:53:24 +00:00
dsl 83067f27c6 psrtsize and partstart are only over used inside md_make_bsd_partitions,
use locals instead of globals.
2003-05-29 17:51:26 +00:00
he 3812b817f3 Add back in man3/readdir.3 lost in previous commit. 2003-05-29 11:11:40 +00:00
christos 04413cc928 readdir_r + libc bump. 2003-05-28 20:07:46 +00:00
yyamano c7bcda3906 Fix broken link. Pointed out by Ray Phillips on www@.
http://asu.info.apple.com/ has been replaced by
http://www.info.apple.com/support/downloads.html.
2003-05-26 17:36:07 +00:00
thorpej 846d276e6f Don't build a big-endian image on platforms which don't run big-endian. 2003-05-26 15:46:48 +00:00
thorpej a5b0016311 Platform dependent set list for big-endian evbarm. 2003-05-26 15:43:14 +00:00
thorpej 01017edd1b Check if md.${MACHINE}.${MACHINE_ARCH} exists and prefer it over
md.${MACHINE}.
2003-05-26 15:42:34 +00:00
lukem 77dcdf1ded add rescue/ftp 2003-05-26 10:38:48 +00:00
lha 47cfb027a2 install more man pages 2003-05-26 09:22:29 +00:00
lha 4a1a2b48c6 install more man pages 2003-05-26 01:11:55 +00:00
jmc b12af590af vax rx man pages were updated in 1.555 of mi but never added to obsolete. Fix 2003-05-25 20:01:35 +00:00
grant 59a27f0ae9 portmasters: +amd64 (fvdl)
releng: -tv +jmc
2003-05-25 05:30:11 +00:00
nakayama 255093b58e Add myself. 2003-05-25 05:20:35 +00:00
dan 4b8869230b Add myself. 2003-05-25 04:32:10 +00:00
epg 7424146bb6 Add myself. 2003-05-25 02:08:39 +00:00