Commit Graph

4067 Commits

Author SHA1 Message Date
joerg 760b4799c4 Add rc_directories to specify where to look for rc scripts.
For the moment all scripts must be in /root and non-existent directories
are skipped.
2009-04-10 16:18:04 +00:00
pooka 408a46214d Add ffs tests in kind of a semiguessed fashion. 2009-04-08 13:32:26 +00:00
martin 58cbc21957 systime() is not needed here - as the man page clearly points out.
Noticed by pooka.
2009-04-08 13:29:59 +00:00
martin d37420f7ca Awk has strftime() and systime(), so no need to pipe the output of date
into the script - just do it internally.
2009-04-08 13:18:56 +00:00
apb bde6809f51 Add usr/tests/util/mtree 2009-04-08 06:55:09 +00:00
mkirby 71920adca4 Note addition of new Czech (QWERTY) keyboard layout.
PR kern/16216

ok agc@ jdc@
2009-04-06 17:34:13 +00:00
martin 5139ca15dc Use the new ?= operator to set the on_panic value for the optional ddb
hierachie.
2009-04-01 16:20:55 +00:00
perry b2595274cc add ptyfs to the list of file systems that don't get put into the
nightly df listing
2009-03-29 16:04:15 +00:00
hannken a51a8b101a Add flags to rc.d/ipfilter. Use it from rc.conf like
ipfilter=YES ipfilter_flags="-T fr_statemax=18963,fr_statesize=27091"

Ok: Christos Zoulas <christos@netbsd.org>
2009-03-23 18:52:02 +00:00
perry bd1b77b037 Slight wording change so that the bug warning sounds more natural to a
native speaker of English.
2009-03-23 18:19:16 +00:00
abs f681b265bc Prefer MACHINE_ARCH to MACHINE in some tests 2009-03-12 17:16:58 +00:00
jmcneill 68b4a04607 /dev/{r,}altmem?? 2009-03-12 00:19:36 +00:00
martin 7d53797861 Switch the default value (if no options DDB_ONPANIC is defined) for
ddb.onpanic to 1, change it back to 0 in sysctl.conf and make sure
postinstall installs this setting.
This avoids us trying to dump while booting from install CD, but keeps
the default the same once we are far enough through /etc/rc.d. Failing
earlier is unlikely to be recovered by an automatic reboot.
OK: core.
2009-03-11 23:22:57 +00:00
cegger 45e175c9c5 remove Xen2 from the list of kernels to build for a release.
ok bouyer@
2009-03-07 17:28:31 +00:00
bouyer 33a5d738a9 Add XEN3PAE_DOM0 to the list of kernels to build for a release. 2009-03-05 20:06:13 +00:00
haad 75fa841288 When setting LV_LIST variable do not use $LV_LIST. 2009-03-05 10:35:43 +00:00
nonaka cd49a18402 copy zboot to release directory. 2009-03-05 10:28:02 +00:00
mrg bcc593b98f put xkbcomp output into /var/db/xkb by default, a place that (now) exists 2009-03-03 06:01:56 +00:00
joerg ca7a1bd3eb Retire audit-packages.conf, it has been obsoleted by the merge of
pkg_install-20090201.
2009-02-26 19:43:39 +00:00
sketch bb0a3b607e Use awk and grep host tools where required. 'build.sh release' now works
on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
2009-02-25 20:38:30 +00:00
jmmv b071025674 Add directories and file lists for the new kernel and ipf tests. 2009-02-20 21:45:09 +00:00
erh f0bb687386 Add "/pub" to the PKG_PATH lines in the default .cshrc and .profile so they
actually have a chance of working.  Also provide an example of how to include
 more than one path.
2009-02-15 01:31:43 +00:00
ad 1fafc79578 Set PS1 correctly for ksh. 2009-02-14 09:53:07 +00:00
jmmv fd2c7cbdc1 Convert libcrypto tests to ATF. Original work done by Lukasz Strzygowski
in the GSoC 2008 atfify project.  Reorganization of files and build system
reworked by me.
2009-02-13 20:58:13 +00:00
jmmv 408c8f0410 Create the directories required for the new tests in the util directory. 2009-02-13 05:20:47 +00:00
uebayasi d4222bb04e Fix build for tests/syscall; pointed out by Geoff Wing. 2009-02-12 16:14:32 +00:00
apb 1cdee1d2a2 The -d or -t flag must appear after -c/-C/-e/-E flags, because of the
way we add the device name. after the flags.
Addresses PR 40495 from Ryo HAYASAKA.
2009-02-02 09:24:47 +00:00
nonaka 832577f758 It is easy to use it if netbsd-INSTALL isn't gzip'ed. 2009-01-28 11:43:28 +00:00
nonaka ccb4166baa netbsd-INSTALL is copied to installation/kernel instead of binary/kernel. 2009-01-28 11:21:55 +00:00
haad a4e585254c Add support for lvm to security script. Backup lvm configuration to /var/backup/lvm with other system backups. Disable lvm check until MKLVM is enabled by default. no objections on tech-userlevel@. 2009-01-27 10:32:18 +00:00
abs 7896e124da Move ATARITT and FALCON to the main list of kernels 2009-01-24 22:33:39 +00:00
he 0dc03e2d81 Follow up the rename of BOOT to SMALL030, and the removal of BOOTX. 2009-01-24 18:15:16 +00:00
agc df41ea2ee2 Add the build glue and sets information for the libopenpgpsdk library, and
the openpgp binary.
2009-01-24 01:15:24 +00:00
haad 94a80e6646 Rework lvm rc.d script. Check active flag for selected LV not for the first
one. Remove dmtest function.

Most changes are based on feedback from salo@.
2009-01-20 00:40:59 +00:00
jmmv 0cdcf7cea6 Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it.  0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
taca 6619b4d1ca Fix a typo with /etc/rc.d/lvm. 2009-01-18 08:24:46 +00:00
haad 660aec81c7 Add lvm rc.d script to build. 2009-01-16 01:59:23 +00:00
haad f42e53f384 Add lvm script to the lists. 2009-01-16 01:58:32 +00:00
haad 6fa32f841f Add lvm rc script for starting LV's during boot. starting lvm is turn off
by default, until MKLVM is enabled by default. This script can be used
without /usr/bin.
2009-01-14 22:07:55 +00:00
apb 578d3b717e Add rndctl 2009-01-08 12:12:38 +00:00
lukem 006b668ed0 attempt to make the NOTE a bit more prominent 2009-01-08 02:07:28 +00:00
apb a0398a9d79 * Add etc/rc.d/rndctl script, based on work by Brian A. Seklecki. This
allows you to invoke rndctl(8) during the boot.
* Add rndctl=NO and rndctl_flags="" to /etc/defaults/rc.conf.
* Document rndctl and rndctl_flags variables in rc.conf(5).
2009-01-04 12:10:30 +00:00
apb 04973974b4 * When testing whether the fdesc file system is mounted, parse the
output from mount(8) rather than df(1), because mount is more likely
  to be available on install media.  mount is invoked in a way that
  always prints an error message, and the content of the error message
  tells us whether fdesc is mounted.  This should fix PR 40316 from
  David Ross.
* Don't use negative variable names.  Instead of nofdesc=false, use
  fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
  that is missing some common commands.
2009-01-03 08:49:03 +00:00
tnozaki 52ed7b035f Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
isaki cf59801230 x68k pow(4) now uses MI sysmon_pswitch framework. suggested by tsutsui@.
- Make MD poffd(8) retire, and use MI powerd(8) instead of it.
- Make /dev/pow1 retire, because nobody holds /dev/pow0 any longer.
  Use /dev/pow0 for pow(4) ioctl.
- POWIOCSSIGNAL ioctl which is for poffd(8) is also obsoleted.
2008-12-20 13:20:58 +00:00
macallan 1cbbd12ac0 do as sparc64 does 2008-12-14 03:37:21 +00:00
christos 4cc3f6a334 add clear=1 2008-12-13 23:30:03 +00:00
mishka 43e91ff9f2 Import rc.d/httpd script for httpd(8) daemon control.
See rc.conf(5) for options explanation.
2008-12-11 13:55:16 +00:00
salo 74bbb8ef72 A very old patch sitting in my tree..
When rc scripts are started from interactive shell, be nice and when user
tries to start an unconfigured service, point him to rc.conf(5) and tell
him about the one* keyword.  Also be more user friendly when an unknown
argument is entered.

Example:

 # /etc/rc.d/cron start
 $cron is not enabled - see rc.conf(5).
 Use the following if you wish to perform the operation:
   /etc/rc.d/cron onestart

 # /etc/rc.d/cron nonsense
 /etc/rc.d/cron: unknown directive 'nonsense'.
 Usage: /etc/rc.d/cron [fast|force|one](start stop restart rcvar  status poll)


Inspired by discussion on tech-userlevel:

 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0010.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0011.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0012.html

Reminded about it and reviewed by <lukem>
2008-12-06 23:21:32 +00:00
cube 4edff860d5 - Generate xdm and xfs depending on the value of X11FLAVOUR
- Only generate and install them for MKX11 builds
2008-12-05 18:55:22 +00:00