Commit Graph

4904 Commits

Author SHA1 Message Date
yamt 8782935dec try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
tsutsui 48ffade9e8 Add an entry for scif0 serial. 2013-05-08 15:14:27 +00:00
tsutsui 829ceb66b9 Make sure to create serial device nodes (scif0 and sci0). 2013-05-08 14:59:41 +00:00
agc a3a6189341 Fix typo in previous 2013-05-01 15:57:44 +00:00
agc d7199a4b01 Install pkgpath.conf in /etc - part of fix for misc PR/47645 2013-05-01 15:55:53 +00:00
kiyohara 4aba7d3a0d Support to build for epoc32 userland. 2013-05-01 13:11:59 +00:00
agc 1410cf30c2 Fix for problematic paths in /etc/daily and /etc/security reported in
PR/47645.

Add a separate file which contains the paths for the pkg_admin and
pkg_info utilities. This is called /etc/pkgpath.conf (to distinguish it
from pkg.conf).

Thanks also to Edgar Fuss for the sanity check.
2013-05-01 05:36:25 +00:00
mbalmer 8ac2e441e7 Add sample code to suppress copyright message on interactive logins. 2013-04-30 21:03:43 +00:00
tsutsui fb2f15afec Fix yet another "openpty() failed" error during sysinst.
Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.

We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.

Should be pulled up to both netbsd-6 and netbsd-6-0.
2013-04-28 08:08:03 +00:00
joerg ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
matt 12dfab37e0 Add MKCOMPAT support for earm 2013-04-27 07:59:09 +00:00
christos 9f57c06d41 - read the root keys from our file
- explain what happens if we get clock skew
2013-04-25 20:28:05 +00:00
christos 2bc201008f Provide the root keys for dnssec and advise on how to make this work.
XXX: pullup-6
2013-04-25 17:02:29 +00:00
isaki 261f2631c7 Add powerd=YES in default. It's recommended for a power switch on x68k. 2013-04-21 08:47:28 +00:00
christos a33513dc62 don't attempt to create interfaces that exist and don't hide errors. 2013-04-20 18:24:18 +00:00
rkujawa cb2a012804 Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.
Obtained from Marvell, Semihalf.
2013-04-20 11:41:51 +00:00
skrll 5441b5c8c7 Match all the arm machines to get the majors.arm32 file 2013-04-14 13:47:37 +00:00
skrll 79d4c5e554 Find the right majors files for earm* 2013-04-12 12:30:18 +00:00
martin e290c24aa3 Add a makedisk_p12high, used by VAX now after unbumping MAXPARTITIONS from
16 down to 12.
2013-04-11 19:13:46 +00:00
christos 0321fc22c0 add event2 2013-04-11 17:51:04 +00:00
uebayasi 434b2461fb Don't print warning even if mkisofs is not found. 2013-04-06 13:00:31 +00:00
martin 3357f1920b It helps being able to read - move if_athn entry to the proper directory 2013-03-30 18:14:50 +00:00
martin a809000618 Add if_athn firmware directory 2013-03-30 17:31:54 +00:00
jmcneill 6d5c5ede57 create audio devices 2013-03-24 14:03:54 +00:00
he aa6ebcd0e2 Add KUROBOX_PRO as an EVBARM_BOARDS member. 2013-03-23 11:51:47 +00:00
christos 1386c00816 new test directories 2013-03-21 19:17:51 +00:00
christos bbce2f06df PR/47678: Dr. Wolfgang Stukenbrock: remove local iscsi entry which conflicted
with the iana assigned one. This port has been assigned to iscsi-target.
2013-03-21 17:45:03 +00:00
mlelstv 77e3515ae2 fix ALL_KERNELS handling 2013-03-21 15:16:43 +00:00
garbled 4daade7385 Add a new installer image for Raspberry PI to evbarm
Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.
2013-03-19 22:16:52 +00:00
mlelstv b36c60d9c0 Handle ALL_KERNELS selection 2013-03-17 12:19:57 +00:00
christos 801939b819 fix typo 2013-03-12 20:22:00 +00:00
christos 36d75e6825 new directories for compat npf 2013-03-12 20:01:55 +00:00
christos 7026897f2b fix typo, from Henning Petersen 2013-03-11 23:17:34 +00:00
christos c9f0cc4510 mv npf modules to /lib 2013-03-10 21:40:05 +00:00
jmmv 055af6fa83 Record the value of MKATF and MKKYUA in /etc/release. 2013-03-09 14:12:08 +00:00
christos 774aa66633 add missing $, from Petar Bogdanovic 2013-03-08 14:32:12 +00:00
christos b50b975dbc PR/47630: Petar Bogdanovic: add ssh_host_ecdsa_key to /etc/mtree/special 2013-03-08 14:31:28 +00:00
jmcneill 12a7d7c6ad create /dev/vchiq 2013-03-08 12:33:25 +00:00
joerg e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
christos 5e078c9e58 missing comment 2013-02-28 03:04:12 +00:00
christos ef9b0fbc8a node for dtrace 2013-02-28 02:00:27 +00:00
jmmv 48b2f2c970 Add new directories for kyua-atf-compat. 2013-02-25 00:31:51 +00:00
jmmv 47840f72d0 Install a kyua.conf file that sets unprivileged_user to _tests. 2013-02-24 03:06:13 +00:00
jmmv edcb14a44e Install kyua-testers' distribution documents. 2013-02-23 14:58:11 +00:00
jmmv 89e4f17129 Register directories and files provided by kyua-cli. 2013-02-23 14:18:36 +00:00
christos af236c8c4f refresh from IANA 2013-02-22 03:42:06 +00:00
hans 93170f635e Use HOST_SH to run scripts. Makes mkimage work on SunOS. 2013-02-21 15:13:10 +00:00
skrll 178a6ef2ca Move INTEGRATOR_CP from EVBARM_BOARDS to KERNEL_SETS so an
INTEGRATOR_CP_INSTALL kernel isn't required.
2013-02-20 09:03:41 +00:00
skrll 5c97965224 Add support for the ARM Integrator/CP from Sergio López.
The code hasn't been tested on real hardware, but INTEGRATOR_CP config
is useful for QEMU which supports it.
2013-02-19 10:57:09 +00:00
jmmv dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
jmmv 7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv 8f212f1945 Move tests for examples from tests/examples to tests/share/examples.
This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
2013-02-16 12:44:25 +00:00
christos 87aeb26f19 Avoid // 2013-02-13 04:22:36 +00:00
jmcneill 73e86066b1 fix output filename for __mkimage macro 2013-02-10 22:03:49 +00:00
jmcneill 85a061f852 fix rpi kernel path, defer image building until after release target is done 2013-02-10 21:36:31 +00:00
christos fd70e2e194 avoid dup kernel 2013-02-10 20:25:56 +00:00
christos 6975538bda add beagleboard 2013-02-10 16:40:21 +00:00
christos 84874dc42c always use ${MKNOD} for consistency 2013-02-10 14:54:33 +00:00
christos 158210c439 pass more tools down. 2013-02-10 14:26:32 +00:00
christos 96add05603 Follow a different approach to install the kernel and compress the image. 2013-02-10 01:24:40 +00:00
christos f73dde4fda get the kernel from the release directory. 2013-02-09 20:47:06 +00:00
christos 02bfcabc8d merge back changes I undid 2013-02-09 18:59:19 +00:00
christos 8070b25e81 hook image building for rpi. 2013-02-09 18:49:55 +00:00
christos df473aee24 PR/47540: Felix Deichmann: DSA keys can only be 1024 bits. 2013-02-07 19:32:19 +00:00
matt 6c17c16f94 build the armv5t, armv6 and armv7 kernels for earm but only the v6 and v7
for earmhf.
2013-02-06 01:31:55 +00:00
matt 4c0c51981c Only include debug set obsolete set if MKDEBUG is not no 2013-02-05 16:39:26 +00:00
matt 2947c6f2d5 Add earmhf support 2013-02-05 07:34:07 +00:00
matt ea2a4e9bad Add debug to the list of OBSOLETE_FILES 2013-02-05 07:32:44 +00:00
tron b1d97a6429 Make custom "reload" target work. Before this fix it would have tried
to send a HUP signal to "wpa_supplicant" instead.
2013-02-01 13:29:33 +00:00
christos 80695a814b spwd.db should be 0600 (Brooks Davis) 2013-01-29 20:21:02 +00:00
apb 162b6b9919 The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.

This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.
2013-01-26 18:44:21 +00:00
joerg fa9d9d71df Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.
2013-01-23 15:02:52 +00:00
mlelstv e6e5cc51b8 Support a release build restricted to ALL_KERNELS. This file was missed
by the first commit.
2013-01-14 20:05:42 +00:00
tsutsui bf86f39b04 Add an entry for wscons ttyE0. 2013-01-14 09:23:45 +00:00
tsutsui a91aefab1f Tweak ramdisk devices.
- create sd2 and sd3 for external SCSI disks on LUNA-II
 - ipty (2 ptys) is enough for sysinst rather than opty (16 ptys)
2013-01-14 09:15:57 +00:00
prlw1 281a5e1fdb Add ppp=YES variable. Currently pppd(8) starts automatically if ppp_peers
is not empty. Adding a ppp variable allows the default peer to be set,
and ppp set to NO so that dialing can happen with /etc/rc.d/ppp onestart.
Default set to YES so that old behaviour is preserved.
http://mail-index.netbsd.org/tech-userlevel/2012/08/21/msg006656.html
2013-01-13 18:47:57 +00:00
riastradh 9dc19ed03b Nix `-b 1024' from ssh_keygen_flags in /etc/defaults/rc.conf.
No objections on tech-security:

http://mail-index.NetBSD.org/tech-security/2012/09/03/msg000548.html

The security of generating keys at boot remains questionable, but
this change makes that no worse.
2013-01-11 04:32:41 +00:00
skrll 5c014ba1cf Create a plcom0 device node for RaspberryPI 2013-01-10 13:38:37 +00:00
taca 43eb4b820e D.ROOT-SERVERS.NET changes IPv4 address. 2013-01-08 11:15:49 +00:00
christos 191ca062bf add a sync to make it less likely to boot with /etc pointing to nothing after
a crash.
2012-12-31 23:21:27 +00:00
christos 7c8b13934d better messages, more quoting. 2012-12-29 22:15:07 +00:00
spz 93a9300055 add entries built for MKDEBUG and MKDEBUGLIB to the set lists
Thanks to Hisashi T Fujinaka <htodd@twofifty.com> for pointing out the gap.
2012-12-18 22:45:12 +00:00
apb 448aa50d4c Reinstate the dirname invocations that were recently removed from
rc.d/random_seed.  The new dirname shell function provided by rc.subr
will be used, so it should work before the /usr file system is mounted.

This should fix a problem in which the fs_safe shell function failed when
passed the name of a file that did not exist.
2012-12-17 18:20:50 +00:00
apb 532fa0d9ae Add shell implementations of basename and dirname to rc.subr. They
are supposed to mimic basename(1) and dirname(1), except that they
are usable before /usr/bin is mounted.
2012-12-17 18:17:27 +00:00
apb c755e023f2 Avoid using programs from /usr/bin. This should fix PR 47326.
- no need for "dirname", because "df -G" can take a file name directly.
- replace use of "awk" with a shell while read loop.
- replace use of "stat -s" with "ls -ldn".
- no need for "tail" now that the use of "stat" has changed.

While here, also add some shell quotes and improve the grammar in a comment.
2012-12-14 18:42:25 +00:00
wiz 0450412e67 Revert previous.
At the least, it was committed with the wrong commit message.
2012-12-13 21:51:52 +00:00
roy 8c91938135 Add a pidfile and the reload command. 2012-12-13 15:51:17 +00:00
spz 0d6a8650f8 Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
2012-12-09 22:06:21 +00:00
prlw1 4d6ed13889 Make sure that ntpd creates a pid file for the rc machinery to work.
http://mail-index.netbsd.org/current-users/2012/11/19/msg021518.html
2012-12-04 16:38:40 +00:00
apb 3e31590ff0 Add src/etc/Makefile.params, containing the definition of the
RELEASEVARS variable, and commands related to printing the values of
the variables whose names are in RELEASEVARS.

Add an awk script to remove noise printed by "make -j" or high levels
of MAKEVERBOSE, so we get only the variables names and values.  The
values are escaped so that variables containing embedded newlines,
quotation marks, and backslashes, are passed through safely.

Adapt src/etc/Makefile and src/Makefile to use the new ${PRINT_PARAMS}
command defined in src/etc/Makefile.params.

Now ${DESTDIR}/etc/release and the params file in the top-level
.OBJDIR should never contain unwanted noise, even after a build with
MAKEVERBOSE=4.
2012-12-03 13:53:28 +00:00
njoly a23dfbdc09 Adjust for usr/tests/lib/libc/c063 debug entries. 2012-11-23 08:36:47 +00:00
pgoyette 7feb2e8135 Also give install a place to put the atf tests for netpgpverify 2012-11-20 15:41:43 +00:00
pgoyette 7e4aef559e Fix the build - give install a place to put verify.h ! 2012-11-20 15:02:44 +00:00
manu a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
uwe 00ed5c3931 We don't need to include <bsd.prog.mk> to install a few config files
just <bsd.files.mk> and <bsd.links.mk> is enough.

Noticed because <bsd.prog.mk> sets LINKSMODE to BINMODE and that does
the wrong thing at least for unprivileged builds.
2012-11-17 23:08:38 +00:00
njoly a02a44ee48 Adjust for tests/lib/{libbpfjit,libsljit} debug entries. 2012-11-12 09:03:52 +00:00
alnsn 062bf78a84 Build libbpfjit test to the build. 2012-11-11 17:41:31 +00:00
apb 5f5f1a05cc Cause /etc/rc.d/random_seed to be the first script to run
after mountcritlocal.  Everything else that runs after
mountcritlocal depends directly or indirectly on bootconf, so
making random_seed run before bootconf has the desired result.
2012-11-10 15:10:22 +00:00
apb e36b9f4a97 Make /etc/rc.d/ttys run after /etc/rc.d/bootconf.sh,
because bootconf could conceivably change /etc/ttys.
2012-11-10 15:08:36 +00:00
alnsn ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
apb acfd2b168d motd needs to be re-generated when DISTRIBVER changes, so change he
Makefile to use the new ${_NETBSD_VERSION_DEPENDS} mechanism defined in
bsd.own.mk.

Rename the default motd file in the source tree from "motd" to
"motd.default", because otherwise it would conflict with the motd file
that is now created in the .OBJDIR.
2012-11-04 11:09:14 +00:00
apb 040e0f875d Add DISTRIBVER to the list of variables under RELEASEVARS. 2012-11-04 11:04:10 +00:00
yamt a015b2b8c4 print something before sleeping so that a user like me can see
what the mysterious pause is.
2012-11-02 08:36:13 +00:00
mrg 578c31536d catch up with npfctl moving to /sbin.
untested, but i guess so was the move itself ;)
2012-11-01 06:06:14 +00:00
apb 410421ee21 Avoid using glob patterns that might match enough files to give
"Arg list too long" errors.  Change the "find" command to use
"-exec ... +" instead of "-exec ... \;" to make it more efficient.
2012-10-24 21:23:55 +00:00
jakllsch d5c3f2d0b1 Add the next three /dev/pci nodes.
Marvell Orion already exposes two.
2012-10-13 01:13:59 +00:00
wiz b1203a9851 Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2012-10-06 15:33:59 +00:00
christos d60db5e056 PR/47024: Taylor R Campbell: handle "keys" directory and directory
permissions in general
2012-10-01 18:46:43 +00:00
chs 35b7579ba4 add more sd and pci devices.
remove duplicate ch0.
2012-09-23 01:15:17 +00:00
bouyer f2b31f39d0 Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
2012-09-19 21:24:28 +00:00
skrll 2d427fcfd7 Add ./usr/libdata/debug/usr/lib/npf for rmind 2012-09-18 15:12:31 +00:00
msaitoh 9ee81fc63b - Add OPENRD.
- Compile BEAGLEBOARD_INSTALL.
2012-09-17 15:37:33 +00:00
rmind 94cf4e2062 Add /usr/lib/npf. 2012-09-16 16:15:29 +00:00
martin e8e9f65b79 New test directory for npf 2012-09-12 14:07:10 +00:00
martin 647d3a97c1 Make the "init" target create optys as well - those were removed from "all",
but we still need them in emergency setups and some install media.
Should fix PR install/46902.
2012-09-05 08:25:53 +00:00
matt 982f691177 Add BCM5301X 2012-09-01 02:03:35 +00:00
matt 47aef1fbf4 Add lots more ldN dkN
Add drvctl to md
2012-09-01 01:45:17 +00:00
wiz c9ea1856a7 Use new makemandb -Q flag to be really quiet. 2012-08-29 20:34:18 +00:00
christos 0ac85cc05d - fix manet alias to MANET; giving an alias with the same name is a no/op
- protocol 84 is defined for as ttp and iptm, merge the two entries since
  libc getprotoent() does not read the whole file and merge in the "files"
  implementation.
2012-08-28 07:53:45 +00:00
pgoyette 9f498223f2 Handle any reports of state changes for INDICATORs 2012-08-27 21:50:19 +00:00
jmmv 80b30d8cdf Add placeholder test programs for share/mk files.
The main goal of this change is to simplify the further addition of test
cases for the share/mk infrastructure by adding a few placeholder test
programs to the tests tree.

To not leave these test programs empty, I have added a bunch of extremely
simple test cases to them.
2012-08-26 23:03:20 +00:00
christos 1ebd502870 Fresh from IANA 2012-08-25 11:14:33 +00:00
spz c60c5ec2d8 actually install the new npf examples
add examples for a hash table file and a tree table file
add an ID string to host-npf.conf
2012-08-22 06:45:15 +00:00
abs 6b4ba5789b Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
2012-08-18 00:50:37 +00:00
riz a727e4697d Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
2012-08-17 16:59:26 +00:00
abs 7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00
alnsn e7e64dcaa1 Build and install t_bpfilter. 2012-08-14 19:13:54 +00:00
christos 79aa9f3662 add fdpass directories 2012-08-13 11:17:43 +00:00
christos a0fa559338 Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.
2012-08-13 08:30:51 +00:00
christos ba9bed30be No need to specify nfsd flags anymore. The defaults DTRT. 2012-08-13 08:20:44 +00:00
matt 127e888ae2 Add earm/earmeb changes 2012-08-06 07:51:13 +00:00
christos 3351729a81 only announce fetching vulnerabilities file if we do. 2012-08-03 10:52:46 +00:00
kiyohara ba9c08beed Add ub to KERNEL_SUFFIXES. 2012-08-03 09:11:31 +00:00
matt 93654fca4a Add TWRP1025 and INSTALL_TWRP1025 2012-08-01 05:46:13 +00:00
jdf 45c7c05a4b Call `makemandb -f -q` instead of `makemandb -f`, as Edgar Fuß proposed for daily. 2012-07-31 12:11:50 +00:00
christos 778f4384b4 PR/46757: Check for fetch_pkg_vulnerabilities unset first. 2012-07-31 09:23:09 +00:00
jdf 890333e6c9 Call `makemandb -q` instead of `makemandb`, as proposed by Edgar Fuss on
tech-userlevel on 20th of July 2012, 12:38.
2012-07-30 22:13:38 +00:00
christos da43ca12af PR/46757: Edgar Fuß: Change default to pkg_vulnerabilities from NO to unset,
and make unset insted of NO to produce warnings, so that setting it to NO does
produce warnings (if it is inappropriate for the machine to warn about this).
2012-07-30 17:09:33 +00:00
christos e763a079db PR/46756: Edgar Fuß: Enable ignoring subdirectories in daily's find_core 2012-07-30 17:06:51 +00:00
njoly 734339d201 Add testcase for PR/46743 2012-07-28 16:08:39 +00:00
skrll b6cf8ec026 Add RPI to KERNEL_SETS 2012-07-26 20:50:44 +00:00
joerg c91c5846f7 + /usr/tests/usr.bin/nbperf 2012-07-22 21:04:44 +00:00
christos bdb2cc007b MKCRYPTO_{IDEA,MDC2} is no more 2012-07-14 04:01:11 +00:00
rkujawa fd0228cf47 Also build WSCONS kernel. 2012-07-09 18:12:11 +00:00
hans f9669c1ea4 It's msdos, not msdosfs. 2012-07-08 14:25:49 +00:00
reinoud 40d2eec2c6 Disable GENERIC_USERMODE kernel auto-build to avoid problems with the current
autobuild-system.
2012-07-04 13:54:20 +00:00
abs da54453f2c Ensure the ramdisk has bpf for dhcpcd 2012-07-04 08:03:08 +00:00
abs bd1c4855ff All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)
2012-07-03 21:49:55 +00:00
reinoud e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
kefren 690d3837f6 add ldpd rc.d script here too 2012-06-28 16:34:06 +00:00
macallan cb9b109d3a do as sparc64 does and switch the default terminal type to wsvt25 2012-06-26 02:05:43 +00:00
jnemeth 55657a2741 PR/46601 - Jim Bernard -- add support for rc_directories 2012-06-25 07:22:45 +00:00
abs 351c7b5d8f - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed
to mixing them in with the ra* disks, modelled loosely on how MSCP
  rx* floppies are handled
- racd* defaults to the same single iso9660 partition as cd*
- Cleanup config option handling slightly so any combination of ra*,
  rx* (and now raccd*) can be defined without build errors.
- Avoid ugly printf when disks have all zero disklabel magic number
2012-06-22 20:42:22 +00:00
jdc a1f0720d45 Add raid0 to init), in case we have /tmp on mfs. 2012-06-21 19:22:07 +00:00
pgoyette ef11cb81d1 Add directory for usr/include/dev/filemon/ 2012-06-21 04:30:04 +00:00
isaki b1d94e60d6 Remove unnecessary checkyesno which I commited before.
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
Should be pulled up to netbsd-6.
2012-06-17 02:13:13 +00:00
joerg c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
sborrill 25290a5966 Set commented out maxproc-cur and openfiles-cur default values to the actual
defaults from sys/sys/syslimits.h. Bump maxproc-max too to a typical value.
2012-06-14 09:28:02 +00:00
riz 49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
martin c2e51849fc Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
isaki f28248caf4 Allows you to disable it if makemandb=NO in rc.conf.
Thanks tsutsui@ and Yasushi Oshima.
2012-06-12 02:25:29 +00:00
martin c1004a7836 Add a basic test for infocmp - this would have cought todays terminfo
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
tsutsui ac2c5cf13a Invoke MAKEDEV.local via $HOST_SH (default ${HOST_SH:=sh}) instead of
hardcoded "sh" to avoid unexpected errors on cross build hosts in
src/distrib/common/Makefile.makedev etc.

Should fix PR toolchain/46537, ok apb@
2012-06-05 13:20:01 +00:00
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
christos 44184cf8bf PR/46521: Jim Bernard: remove duplicate -o 2012-06-02 15:52:24 +00:00
nonaka c9051a9fd6 Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares. 2012-06-01 13:19:38 +00:00
martin f1b12ec580 Add new test directory 2012-05-27 23:03:24 +00:00
riz 3debe0af82 Create /dev/iscsi0 as part of 'all'. 2012-05-26 00:36:15 +00:00
skrll bc77bb37cd Add a GENERIC.MP kernel config and add it to the build list so that it
gets build tested.
2012-05-23 08:19:40 +00:00
jruoho af62c3b4d8 Add a test case for PR kern/46463. From Richard Hansen. 2012-05-18 15:25:25 +00:00
gendalia 7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
tsutsui 0ffe024507 Update entries for proper PSX16550 com port device names. 2012-04-29 07:21:10 +00:00
tsutsui 058310c688 Create ttyC0 and ttyC1 for PSX16550 com ports. 2012-04-29 07:19:08 +00:00
riz a1da65bdfb Change root's default shell to /bin/sh, to provide a default which
has command line editing, tab completion, and other features users
have come to expect from a modern OS.

Discussed on current-users approximately two weeks ago.  Should be
pulled up for NetBSD 6.0.
2012-04-25 16:11:26 +00:00
jruoho c7358053ef Add a test case for PR bin/39546. 2012-04-19 18:51:35 +00:00
jruoho 0953dc8744 Add a test case for PR kern/46328 (tested naively with tcpdump(8)). 2012-04-14 12:21:45 +00:00
pgoyette df3c343ded Revert previous - k_helper3 does not get installed in a subdirectory.
Doing it this way will prevent us from creating the subdirectory on
non-MODULAR systems.  That would have caused a build break due to the
unexpected empty directory.
2012-04-14 02:48:44 +00:00
pgoyette 04ec1fc554 Create the directory for the helper program; hopefully fixes the build
break.

XXX It's odd that k_helper3 needs to have its directory pre-created, when
XXX k_helper, k_helper2, and k_uvm don't need it...
2012-04-14 00:14:22 +00:00
dholland 5ba1ea26d4 fix use of setenv in a comment, noted by "stu314" on freenode. 2012-04-10 19:02:30 +00:00
jruoho 23fb23b458 Gracefully shutdown upon reaching critical temperature levels. Prevents few
laptops (ThinkPad T61 and x61s, among others) from hitting the in-CPU reset.
2012-04-10 13:58:52 +00:00
christos 850b856e4a back out change that makes onestart work, to be committed at some other time. 2012-04-07 17:28:44 +00:00
christos 05e9a23818 give wedges to everyone 2012-04-07 17:22:10 +00:00
apb f932526a86 The error message when /var is not a file system chhanged from
mount: unknown special file or file system `/var'
to
mount: Unknown special file or file system `/var'
so match them both.
2012-04-07 16:39:32 +00:00
spz c6302b7410 change security so that there is a configuration value for the list of
users who will not be considered for duplicate uid check.
Seed it with 'toor' in defaults/security.conf.
2012-04-05 09:09:27 +00:00
jruoho 47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho 651e2c6948 Add regression tests for the 1990s bugs PR bin/3538 and PR bin/4841. 2012-03-27 08:16:33 +00:00
nonaka db4c04c984 Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices. 2012-03-25 00:11:16 +00:00
jruoho 327776ba0b Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
all fixed long time ago.
2012-03-20 06:18:33 +00:00
njoly d0df4f4862 Adjust to unbreak mkdebug build. 2012-03-19 11:16:36 +00:00
jruoho 3a662fafc9 Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago. 2012-03-19 07:05:18 +00:00
jruoho 1ff69b68e3 Add a case for PR bin/44973. 2012-03-18 12:40:42 +00:00
jruoho 0498995f9f Add a test case for PR bin/28126. Does not fail with GNU sed. 2012-03-18 10:12:30 +00:00
jruoho 840bc631fa Adjust set lists and mtree. 2012-03-17 17:16:41 +00:00
jruoho 2fb9c76e0d Adjust set lists and mtree. 2012-03-17 16:35:02 +00:00
martin 87ec685886 Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
2012-03-14 13:26:43 +00:00
jruoho 869580eb48 Adjust set lists and mtree. 2012-03-11 18:45:19 +00:00
he 7a324bfe36 Point first to 6.0 packages, then to packages for 5.1 or 5.0.
The latter have reduced usefullness in -current or netbsd-6 until
we have a compat50 package.
2012-03-11 17:28:47 +00:00
he 50de5b0f94 Can't use Bourne shell syntax here... (Even in comments, for PKG_PATH.) 2012-03-11 17:23:55 +00:00
christos c513c5c06e add awk test directory 2012-03-10 19:11:36 +00:00
shattered 4e4e8d92ec Quoting sys/dev/vme/files.vme commit log: "vmegeneric never saw the
light of the source tree.  After 7 years, I guess nobody missed it."

OK by wiz@
2012-02-25 10:55:27 +00:00