Commit Graph

13972 Commits

Author SHA1 Message Date
dholland 9171ee4425 Add /usr/sbin/sysinst. 2014-07-26 19:35:59 +00:00
dholland eed67d2502 Don't descend into sysinst. 2014-07-26 19:35:10 +00:00
dholland 779842189d Adjust for sysinst move. 2014-07-26 19:34:08 +00:00
dholland 50dbef1a09 Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.

Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.

Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.
2014-07-26 19:30:39 +00:00
dholland 3b8c31df5d fix MKPAM=no build 2014-07-26 06:12:30 +00:00
joerg d87708c52a Add generic versions of machine/int_*.h for compilers providing
appropiate macros for all necessary types.
2014-07-25 21:43:13 +00:00
dholland d8d7aab05e Update set lists for libc bump and new man pages. 2014-07-25 08:32:21 +00:00
mrg 1e4a2ee3ed introduce a new pci_drvname(3) to libpci. implement it in the backend
via PCI_IOC_DRVNAME.

update manual and set lists (and remove a couple of doubled entries.)o

this will be used in libpciaccess() to implement the has_kernel_driver()
method.
2014-07-25 01:38:26 +00:00
alnsn 6021eb407c man 4 bpfjit 2014-07-24 21:08:50 +00:00
plunky f8dcb1ea24 add p++, and move it and cxxcom to comp-cxx-bin 2014-07-24 21:02:55 +00:00
plunky eea34d0414 add PCC libexec/cxxcom 2014-07-24 20:31:01 +00:00
alnsn 582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
lneto cb9870c84c fixed removal of Lua 5.1 entries from distrib/sets/lists 2014-07-23 02:42:56 +00:00
christos 48f52dbc4b rename npf man pages to libnpf. 2014-07-22 22:35:03 +00:00
alnsn 2c8f6f808d Add sljitarch.h to cobalt and pmax. 2014-07-22 20:19:57 +00:00
tron 3b18ed832a Update list of Postfix README files. 2014-07-20 15:58:40 +00:00
nonaka 5055f41177 Added RTL8188EU firmware for urtwn(4). 2014-07-20 13:42:14 +00:00
christos 89d78f4e19 add the new hdestroy functions 2014-07-20 13:38:19 +00:00
lneto 4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
alnsn 07e0a97a8f Sljit doesn't support MIPS I. Make sljitarch.h obsolete. 2014-07-19 14:35:10 +00:00
christos 33f99f08ae Add t_minherit. 2014-07-18 12:36:18 +00:00
prlw1 0d52edd1b1 Update lists after adding support for vnd to rump (report from hannken@) 2014-07-17 12:04:05 +00:00
martin d03c4f3f9e Add libirs debug info to a few more places 2014-07-13 13:53:59 +00:00
mbalmer b25e9deb0b Add the five bulgarian keymaps we got via PR misc/37713 from markucz@gmail.com. 2014-07-13 12:29:01 +00:00
martin b1baff08a7 libisccfg.so.8.1 debug files for other compat architectures. 2014-07-13 12:15:45 +00:00
mbalmer 94541005af Add a man page for asus(4), written by Leonardo Taccari as part of PR/39932. 2014-07-13 08:37:13 +00:00
nakayama 2122443dc8 Remove duplicated line. 2014-07-12 19:46:22 +00:00
dholland 0736ba101a Revert version 1.111 of sysinst/disks.c, which caused sysinst to
create lfs fstab entries with fsck disabled, and instead patch
fsck_lfs to exit successfully without doing anything when given the -p
(bootup preen) option. If you really want to do fsck_lfs -p, you can
do fsck_lfs -f -p to make it go.

This has been sitting in my todo queue since February 2010 and was
ok'd by the committer at the time. The original commit was based on
this post:
   http://mail-index.netbsd.org/tech-kern/2010/02/09/msg007306.html

and I remain unconvinced that it's the right thing, but we can at
least do it properly and not ship a sysinst with -7 that creates
permanently wrong fstab files.

Note that this may cause problems for anyone who's taken -p out of the
bootup fsck flags; but doing that is wrong, so don't.
2014-07-12 16:11:27 +00:00
dholland 5c51485edb Mark stray files obsolete (don't just remove them); noted by Paul Goyette.
(hi darrenr)
2014-07-12 15:42:56 +00:00
darrenr cccb715a0e Test n17_6 does not yet exist so remove unrequired files and test case 2014-07-12 14:37:12 +00:00
mrg 925e6883dc add new xkb/symbols/eu for xkeyboard-config 2.12. 2014-07-11 19:19:16 +00:00
alnsn 467461f7c4 Add t_cop and t_extmem kernel bpfjit tests to the build. 2014-07-09 13:50:48 +00:00
martin 20aec96d38 Add libirs_g.a to more compat lib directories 2014-07-09 11:45:45 +00:00
riastradh ec14ebad0b Add missing i386/libirs_g.a. 2014-07-08 22:06:06 +00:00
alnsn 0240ba3c8b Add t_mbuf tests to the build. 2014-07-08 21:47:21 +00:00
htodd 6cd04772ac Fix debug sets for bind. 2014-07-08 17:15:14 +00:00
martin a22d5e3b3a Try to fix debug and debuglib setlists for the bind import 2014-07-08 11:13:24 +00:00
spz 773189b334 infrastructure for bind-9.10.0-P2:
adding the tools delv and dnssec-importkey
adding libirs to support delv
2014-07-08 05:55:33 +00:00
alnsn 6cabebfe85 Add bpf/t_mbuf test to the build. 2014-07-07 19:41:22 +00:00
tron 807b3d9832 Update set lists for Postfix 2.11.1. 2014-07-06 21:06:48 +00:00
dholland fa41303899 Add MKGROFFHTMLDOC and make it default to no. It seems that sometimes
when generating html groff runs netpbm behind your back. Needless to
say we don't have netpbm in base, so this fails on a clean install; so
for now disable generating html for /usr/share/doc by default.
Workaround for PR 48970.

It seems that all available document preparation toolchains are made
of fail.
2014-07-06 18:22:03 +00:00
dholland 9cee3fb5f3 fix docs for MKHTML=no 2014-07-06 08:53:15 +00:00
dholland a65ff1afdf Put /usr/share/doc/reference/ref1/make in the right list. The dirs are
always created.
2014-07-05 22:08:14 +00:00
joerg 2b102b68a4 Drop entries for LLVM/Clang older than 3.4. 2014-07-05 20:17:50 +00:00
dholland 29e097b982 Update set lists for /usr/share/doc reorg. 2014-07-05 19:25:58 +00:00
alnsn fd9487092d Move t_bpfjit.debug entries back to mi and add "sljit" tag to them. 2014-07-02 13:38:05 +00:00
htodd aeac1fdec4 Move t_bpfjit.debug to md lists. 2014-07-02 05:23:20 +00:00
htodd 0076051d87 Fix build for ipf tests. 2014-07-01 03:43:09 +00:00
htodd 1dc17e30a9 Fix build for debug with bpfjit. 2014-07-01 03:42:41 +00:00
alnsn e281e658e4 Add new net/t_bpfjit test. 2014-06-30 21:32:59 +00:00
rtr e9c95bf579 patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.
2014-06-28 09:16:18 +00:00
alnsn c923aef9b6 Add new libbpfjit tests. 2014-06-25 19:20:46 +00:00
christos 3a6f0f67e4 remove gdbint.info; it is no more. 2014-06-23 15:22:07 +00:00
shm 509eb314f7 Add bm(3) tests 2014-06-23 10:53:20 +00:00
skrll 377f7201a6 Increase IMAGESIZE to fix build. 2014-06-19 16:34:21 +00:00
christos 00f836315e more mktemp flavors. 2014-06-18 17:52:49 +00:00
christos b7b5f0e5c2 bump libc. 2014-06-18 17:50:14 +00:00
alnsn be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
joerg 13b8fa7d71 Add modfl(3). From FreeBSD. 2014-06-16 12:54:42 +00:00
joerg 3adc1c7681 Add asysctl(3) and asysctlbyname(3) wrappers for the common idiom of
fetching dynamically sized data via sysctl.
2014-06-13 15:45:05 +00:00
hikaru 73c29dd7cc Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4). 2014-06-10 01:42:38 +00:00
uebayasi 0bf7a3d460 Execute sub-${MAKE} from within a source directory. 2014-06-09 01:17:44 +00:00
martin 1d2ec51731 When uncompressing the kernel, allow overwriting of an existing one in the
cdrom content directory - this helps update builds.
2014-06-04 19:31:57 +00:00
tsutsui b13a31e41c Apply patch in PR port-alpha/48697 (with some tweaks).
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.

Should be pulled up to netbsd-6 branches.
2014-06-02 15:03:47 +00:00
christos 9cf96bf22e add missing files for dotcmd tests 2014-05-31 20:26:51 +00:00
christos 50fbec612b new shell tests 2014-05-31 14:36:03 +00:00
martin 8d9bfc398a Instead of running MAKEDEV inside the image content dir (which would only
work for root), make it emit a mtree spec file and pass that to makefs.
This should also work for unprivileged builds.
Problem pointed out by Izumi Tsutsui.
2014-05-31 10:43:00 +00:00
martin 836e302df5 Add a variable CDMAKEFSEXTRAOPTS to provide additional parameters to the
makefs invocation that do not belong in the image option list (CDMAKEFSOPTIONS)
2014-05-31 10:18:47 +00:00
joerg b1bb3099bf Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
2014-05-30 18:28:13 +00:00
martin 598e3edde3 Pre-populate /dev on the CD - with rockridge extensions we can do this and
it saves us one tmpfs (or mfs) instance, which helps quite a bit on low
memory machines.
2014-05-30 13:24:22 +00:00
martin 3a97fc059a The current vax /boot is super slow unziping kernels - and this is a CD, wich
has space enough, so unzip the kernel on it to speed up the boot process.
XXX The /boot bug should nevertheless be fixed.
2014-05-30 13:23:05 +00:00
martin 6514db7aa7 Make it deal with /dev being the result of a "MAKDEV all" instead of
"MAKEDEV init" by mounting a ptyfs if needed.
2014-05-30 13:19:42 +00:00
uebayasi ba7dc1f3c8 Convert mtree spec path characters with sed(1) to avoid tool'ifying vis(1). 2014-05-30 08:37:35 +00:00
tron 2cbd21c61e Update for OpenLDAP 2.4.39. 2014-05-28 11:32:50 +00:00
martin 41671a8417 Enable swap during sysinst as early as possible 2014-05-28 11:16:03 +00:00
mrg e9fe6f353d add new htmintrin.h and htmxlintrin.h files for GCC 4.8.3. 2014-05-28 09:38:46 +00:00
palle 3ce6c8957e Ensure a disklabel is present since sun4v OpenBoot requires a valid disklabel in the disk file image. With this change the miniroot.fs can be used as a virtual disk when using sun4v LDOMs. OK martin@ 2014-05-27 19:04:29 +00:00
rmind 3da69dd68c MI IPI interface:
- Implement support for the asynchronous IPI calls.
- Rework synchronous IPI code to reuse the asynchronous mechanism.
- Add ipi(9) manual page; needs wizd(8).

Note: MD code can now provide a low level primitive for the ipi(9) and
reuse this interface instead of open-coding.  Portmasters are encouraged
to convert.  Ride 6.99.43!
2014-05-25 15:34:19 +00:00
uebayasi bfc7c5220a Unbreak syspkg by escaping '[' by vis(1) to match the new mtree(8) format. 2014-05-24 13:27:13 +00:00
martin 798dfc7221 If mounting the various tmpfs instances fails, we do not have enough
RAM installed. Tell the user about it and exec a single user shell
(instead of randomly failing later and hanging the machine.)
2014-05-23 12:25:46 +00:00
martin 944ff57caa Use GENERIC instead of INSTALL (including the ramdisk) for this CD image
and mount the CD filesystem as root instead for installation.
2014-05-21 14:21:35 +00:00
martin 25fbf89b06 Create /var/tmp for vi. Pointed out by Izumi Tsutsui. 2014-05-19 15:57:04 +00:00
jakllsch 68fd71584a add hythygtemp module to set lists 2014-05-18 18:28:48 +00:00
jakllsch 7236048644 add hythygtemp man page files to setlist 2014-05-18 18:24:16 +00:00
martin 483126c11b PR install/48818: put vi on install CDs 2014-05-18 13:06:12 +00:00
nat dc2ecd830b libossaudio minor version bump to signify new ioctls. 2014-05-18 10:36:34 +00:00
apb a5a1461c5e sort 2014-05-15 16:32:28 +00:00
apb 36f73837c6 Teach "make sortlists" to ignore .#* files (sometimes created by cvs),
and to squeeze multiple blank lines.
2014-05-15 16:32:07 +00:00
apb 5aa908ce9e Add ./usr/share/zoneinfo/Antarctica/Troll for tzdat2014c 2014-05-15 16:06:38 +00:00
martin 9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
uebayasi 413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00
abs 2678a1c767 Fix MKPAM=no build 2014-04-25 12:11:27 +00:00
pooka 0159a35e80 obsolete the installed <rump/scsitest.h> header and make it private
to tests/dev/scsipi
2014-04-25 00:24:39 +00:00
pooka 8fa17e4756 scsitest is a SCSI target emulator used by one test, and has little
reason to get installed.  Make the component private to the test using
it and obsolete the installed one.

IOW, rename sys/rump/dev/lib/libscsitest -> tests/dev/scsipi/libscsitest
2014-04-24 21:46:44 +00:00
kardel 04f5544c2e install bcmgpio.4 for evbarm arch 2014-04-23 07:04:01 +00:00
kardel 511648e509 add a driver for BCM2835 obio gpio 2014-04-22 18:51:35 +00:00
christos 36a92b0a64 Kill lint libraries we don't (or can't yet) produce 2014-04-22 15:27:50 +00:00
christos 722e1fac67 fix sparc debug sets 2014-04-21 19:26:56 +00:00
joerg 09f7b6d69d /usr/include/g++/bits/${CONFIG} directories are created independent of
MKGCC, so fix file lists.
2014-04-21 00:17:50 +00:00
abs a260d75005 Mark /rescue/ldconfig as 'pic' only to enable building static releases (NOPIC=).
Only MKX11=no tested.
2014-04-20 13:41:21 +00:00