Commit Graph

8501 Commits

Author SHA1 Message Date
tsutsui
77d25487c9 Add sysvbfs stuff. (enabled by md.h) 2006-01-09 10:00:34 +00:00
tsutsui
b44de2b302 Reduce IMAGESIZE. 2006-01-09 09:55:53 +00:00
tsutsui
89d726eb46 Make and install a bootloader binary with embedded RAMDISK kernel image. 2006-01-09 07:24:29 +00:00
tsutsui
751d67ef2a Fix pasto in comments. 2006-01-08 18:48:25 +00:00
tsutsui
c19a11ffc4 Use -mmemcpy to shrink binaries. 2006-01-08 16:05:56 +00:00
tsutsui
88d40f88ec Add /usr/mdec/boot.coff. 2006-01-08 15:35:00 +00:00
apb
b020cbecff Oops, missed a few echo >&2 changes in previous commit. 2006-01-08 10:32:26 +00:00
apb
6942b0e739 Use TARGET_ENDIANNESS (from bsd.endian.mk) to decide whether
to add "-E B" or "-E L" options to ${db_opts}.

Approved by christos.
2006-01-08 10:25:33 +00:00
apb
e386c41eea In the case where there is no metalog, when converting the
PLIST to specfile format, add type=dir for directories.
Fixes a build problem with non-METALOG builds.
2006-01-08 10:24:04 +00:00
apb
2d2afa01d3 regen 2006-01-08 10:22:16 +00:00
apb
309a69d745 Fix cyclic dependency by moving two files from base-local-share
to base-locale-ca and base-locale-sk

Approved by christos
2006-01-08 10:21:04 +00:00
apb
1acb45d44a Detect cyclic dependencies, and abort if any exist.
Approved by christos
2006-01-08 10:20:12 +00:00
apb
99b7c623f6 Document input and output format for syspkgdeps and culldeps.
Approved by christos
2006-01-08 10:19:07 +00:00
apb
c32228d46e When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos
2006-01-08 10:10:03 +00:00
apb
69a903d0c3 Prepend etc/mtree/NetBSD.dist to the metalog before passing it to
${TOOL_MTREE}.  Previously this was done by maketars.  In the long
term there should be a better solution.  In the short term, this
should fix the build for people who do unprivileged update builds and
who had an old METALOG from before the recent syspkg-related changes.

Reviewed by christos
2006-01-06 18:08:59 +00:00
apb
b58c0411a8 Disable checking of metalog in checkflist. In future,
this checking should be reinstated, but with proper
handling of obsolete files.

Reviewed by christos
2006-01-06 18:07:56 +00:00
wiz
9b47789852 Obsolete ./usr/X11R6/include/X11/fonts, its contents have been obsoleted
quite some time ago.
2006-01-06 17:00:22 +00:00
tsutsui
1396c646a7 Add /usr/mdec/boot_kernel.gz.
(a bootloader which can include a kernel binary for netboot)
2006-01-06 12:24:07 +00:00
xtraeme
d064eae373 Add rlphy(4) (Realtek 8139/8201L PHY) from OpenBSD. 2006-01-04 21:52:17 +00:00
xtraeme
d9b36aca62 Manpage that explains the i2c framework... from OpenBSD. 2006-01-04 19:14:55 +00:00
apb
c8666f9f0f regen via "make makedeps" 2006-01-04 15:13:17 +00:00
apb
f644cbcf33 Add a "makedeps" target, to update the "deps" file.
XXX: Why is "deps" checked in to the source tree, instead of
just being created as necessary?

Reviewed by agc
2006-01-04 15:11:07 +00:00
apb
52ec81299e * Add a check for consistency between DESTDIR and METALOG, in addition
to the existing check for consistency between DESTDIR and the output
  from makeflist.
* Use egrep instead of awk to ignore differences that are expected.
  This should be easier to maintain, and should also make it easier
  for users to add their own custom exceptions by editing the
  regexp.

Reviewed by agc
2006-01-04 15:08:42 +00:00
apb
29e51821aa Remove the code that used "${MTREE} -C ..." to sanitise the plist. We
can now assume that it's already been sanitised before maketars was
invoked.

Reviewed by agc
2006-01-04 15:03:39 +00:00
apb
5b62001b7b * Add new user-visible "syspkgs" target, and internal "makesyspkgs" and
"makesyspkgsums" targets for it to use internally.
* Add internal "sanitize_METALOG" target that uses "${TOOL_MTREE} -C ..."
  to sanitise the METALOG file before invoking anything that will
  want to parse the METALOG (checkflist, regpkgset, maketars, or
  installsets).  Previously, maketars used to do this itself, but its
  better to do it only once.
* Add internal "checkflist_if_DESTDIR" target, which invokes checkflist iff
  DESTDIR is set and not empty.  Use it where appropriate.
* Add a few more host tools to SETSENV.
* A few minor related changes.

Reviewed by agc
2006-01-04 14:58:58 +00:00
apb
2f132c6998 * Add a special case for sets="all".
* Use dirname, don't try to use a shortcut that doesn't always work.
  This uses the cheap implementation of dirname from sets.subr.
* Fix error in getopts string ("-p" option takes an arg).
* Explicitly use ${HOST_SH} to run culldeps script, because we might
  be on a host where /bin/sh is not a POSIX shell.

Reviewed by agc
2006-01-04 14:44:41 +00:00
apb
6d714d9691 Add cheap implementations of basename and dirname,
using builtin printf, or using echo if printf is not a
shell builtin.

Reviewed by agc
2006-01-04 14:35:03 +00:00
apb
4d96f88bcb Add shell variables for several additional host tools,
required by the new versions of regpkgset and regpkg.
2006-01-04 14:23:22 +00:00
apb
afb2b54a87 * Make regpkgset accept all the new args that regpkg takes.
* Sort the pkgs into dependency order before invoking regpkg.
* Better cleanup.

Reviewed by agc
2006-01-04 14:18:00 +00:00
apb
3df0642b27 * Give regpkg the ability to create binary syspkg packages (*.tgz files).
The new "-t binpkgdir" option requests this action.
* Make it pay attention to DESTDIR.
* Make it work for unprivileged builds using METALOG.
* Add "force" and "update" modes.
* Add "quiet" mode.  There was already a "verbose" mode.
* Add several new command line args in support of the above.
* Make much more use of shell functions.
* Replace the old way of choosing syspkg version numbers.
  The new way gives numbers derived from concatenating the OS
  version [from osrelease.sh or $(uname -r)], a "tiny" version [from
  distrib/sets/versions, default 0], and a date [from RCS time stamps or
  file system time stamps].
* Add @blddep lines to the PLIST (in addition to the @pkgdep lines
  that were previously added).
* Use host tools such as pax, cksum, and db, to do more or less the
  same work that was previously done by pkg_create (which is not a host
  tool).  No longer attempt to use pkg_create.

Reviewed by agc
2006-01-04 14:14:35 +00:00
apb
faa76ace30 Add a new "-I realprefix" arg. When making syspkgs, we need to use
"-P ${DESTDIR} -I /". ("-I" chosen for similarity to pkg_create.)

XXX: makeplist seems to be quite broken, in that it looks at the files
and directories that are actually present in DESTDIR, whereas I
thought its job was to provide an list of what *should* be there,
regardless of what is *actually* there.  Fixing this seems to require
a change to the format of the "lists" files, so that they can
unambiguously identify directories.

Reviewed by agc
2006-01-04 13:57:04 +00:00
apb
1983ec7bd3 Instead of printing "./foo/bar optional" for implicitly required
directories, print "./foo/bar optional type=dir".

Reviewed by agc
2006-01-04 13:46:13 +00:00
apb
267577ae49 Use "$*", not "$@", where we want a space-separated list of words. 2006-01-04 13:40:23 +00:00
apb
0eb2a59a6d . "${rundir}/sets.subr", overlooked in previous commit. 2006-01-04 13:38:18 +00:00
apb
a879495374 Add quotes to some shell variables overlooked in previous commit. 2006-01-04 13:35:55 +00:00
apb
d09e15652b Add apb 2006-01-03 21:34:05 +00:00
apb
0bee96eab7 Ensure that (almost) all shell variables in distrib/sets/* scripts are
used with curly braces and quotes, as in "${var}".

Also ensure that command substitution is quoted, as in "$(command)", and
convert `command` to $(command).

Reviewed by agc
2006-01-03 18:31:09 +00:00
apb
3a0b541193 Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*.  This is intended to be useful when cross
building.  Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
2006-01-03 16:40:16 +00:00
apb
26d8593b50 Move default values for several shell variables into sets.subr.
Reviewed by agc
2006-01-03 15:42:42 +00:00
yamt
6fce056253 mark /usr/include/nfs/nfs_var.h obsolete. 2006-01-03 12:49:36 +00:00
christos
9708e1086d forgot to commit the bump for libcrypto. 2005-12-31 07:02:05 +00:00
agc
740a95c15f Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.
2005-12-30 23:07:31 +00:00
rjs
4e8460804d Add INSTALL_IPAQ kernel and copy hpcboot.exe to correct place. 2005-12-30 11:48:15 +00:00
rjs
ad40527a61 Add miniroot for hpcarm. 2005-12-30 11:47:19 +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
rjs
6d2b3c8c7c Build INSTALL_ACPI kernel as well as INSTALL. 2005-12-30 11:30:33 +00:00
tsutsui
5ab9e41287 Add an md list for ews4800mips Xserver. 2005-12-29 16:37:42 +00:00
tsutsui
136993d8c6 Add files for ews4800mips distribution.
XXX sysinst is disabled for now.
2005-12-29 16:01:30 +00:00
tsutsui
1533ae47f8 Add lists for ews4800mips. 2005-12-29 15:26:54 +00:00