summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add missing stdlib.h headerngie2015-12-081-2/+5
| | | | | | | Apply some minor style(9) fixes MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Fix compilation warnings by adding unistd.h #include and missing returnngie2015-12-081-2/+8
| | | | | | | statements MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Skip the MAC portacl tests if MAC_PORTACL support is missing instead ofngie2015-12-081-2/+1
| | | | | | | marking them failed MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Start to split apart the different image formats that we need toimp2015-12-0713-154/+185
| | | | | | | make. Add support for generating powerpc64 qemu images. We can generate them, but there's something wrong booting them. This also simplifies the user config files a bit, and removes bits no longer true.
* Make sure to quote the arg after -n and -z tests.imp2015-12-071-6/+6
|
* Document the different config files.imp2015-12-077-0/+43
| | | | | Document how to run qemu for the ones I've run. Use qcow2 for all qemu images.
* Now that we have dedup of mtree elements in nanobsd, remove theimp2015-12-071-108/+17
| | | | primitive attempt we made here.
* Fix up mtree with additional entries written to it byimp2015-12-072-2/+72
| | | | | | | nanobsd. implement support for NanoBSD touching a file (and possibly recording that fact) as well as replacing a directory with a symlink. Also specify the default uname and gname for files and use that as a /set command at the top of the generated METALOG file.
* Disable /entropy by default. /var/db/entropy should be enough.imp2015-12-071-1/+5
| | | | | # This eliminates the warning message at boot, but more work may be # needed.
* imported patch dedupimp2015-12-071-0/+5
|
* Allow the .cfg files to specify the ultimate format for the imagesimp2015-12-072-4/+8
| | | | created.
* Generally use shorter, more idiomatic sh expressions in a bunch ofimp2015-12-071-31/+31
| | | | places.
* Default serial connection to 115200. Hardly anybody uses slower theseimp2015-12-071-1/+1
| | | | days, and those that do can use NANO_BOOT2CFG to change it.
* When building no-priv, chmod etc/defaults/rc.conf before appending toimp2015-12-052-2/+4
| | | | | | | | it and then chmod back. There's no chmod -push / chmod -pop so hard code 444 as the right permissions here. Also, fix more stray detritus that crept in (out?) while re-arranging the deck chairs.
* Stupid last minute changes: Add missing } and fiimp2015-12-052-1/+2
| | | | Pointed out by: Howard Su
* New config files for embedded boards.imp2015-12-0514-0/+1083
| | | | | | | | | | | | | | | | | | | | | Build with ../nanobsd.sh -c rpi.cfg, for example. This can be done as a normal user. This is a work in progress. It relies on the new nopriv build stuff committed to nanobsd, but isn't complete yet. Currently, one must copy files into the DOS partition in the image. Also, ownership isn't preserved because this doesn't use the new mtree-dedup.awk yet, but rather some crazy mtree stuff. The image building bits will move up into nanobsd when they are ready. Also includes very preliminary support for building qemu images for all platforms that we can for qemu. It is missing aarch64, and we put the image on s2 instead of s1 and mkimg can't mark s2 as active, so there's some issues. Oh, and I didn't do it for arm. Take a look, kick the tires, expect problems.
* Awk helper script that reads in a mtree METALOG file from installworldimp2015-12-051-0/+197
| | | | | | | | (and soon augmented by nanobsd), performs the actions documented in the script, and then spits out a new mtree file suitable for feeding to makefs. Discussed on: arch@
* Setting NANO_NOPRIV_BUILD will now add -DNO_ROOT and METALOG=xxxx asimp2015-12-051-2/+11
| | | | | | appropriate. First step in supporting a build w/o root. More to follow as actions by customization scripts are not (yet) recorded in the metalog, and duplicate entries in it aren't removed.
* SRCCONF makes no sense in make.conf. Don't set it there. Rely on itimp2015-12-051-7/+9
| | | | | | | | being in the environment. Also filter out the new SRC_ENV_CONF as well. If you really need these set, set them in your config file, not in the build environment used to launch nanobsd. Pointed out by: bdrewery@
* Minor cleanup in how we run make:imp2015-12-051-95/+137
| | | | | | | | | | | | | | | | o Move SRCCONF and __MAKE_CONF into the environment to cope with file paths with spaces in them better. o Move the rest of the variable setting command line args into __MAKE_CONF files. o Trace the commands that we're using to build so they appear at the top of the log. o Be more consistent about quoting paths for cd and similar commands to better cope with paths with spaces in them, though some more work is likely needed. o Add some comments about all this. o Minor formatting tweaks in a couple places Sponsored by: Netflix, Inc
* Remove commented out junk.imp2015-12-041-4/+0
|
* Since this is an almost identical copy of ALIX_DSK, just include itimp2015-12-041-113/+2
| | | | and add the bits we need at the end.
* Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-0433-64/+33
| | | | Sponsored by: EMC / Isilon Storage Division
* Fully connect cddl/usr.sbin/plockstat.bdrewery2015-12-021-0/+4
| | | | | | | | There seems to be no reason to keep this so private. Also add missing optional MK_CDDL files. Sponsored by: EMC / Isilon Storage Division
* add missing lib80211 include.adrian2015-11-301-0/+1
|
* Install the public sanitizer headers. These are useful for programsdim2015-11-291-0/+10
| | | | that want to directly interface with sanitizer internals.
* Fix breakage by recent collation change.ume2015-11-281-1/+1
| | | | LC_ALL has to be exported.
* Clean up trailing whitespacengie2015-11-269-583/+582
| | | | MFC after: 1 week
* r291359 was incorrect. Skip over tokens that start with `#' as fgetln canngie2015-11-261-3/+4
| | | | | | | | | return more than one '\n' delimited line in a buffer Handle empty lines too, just in case MFC after: 3 days X-MFC with: r291359
* Skip over lines that start with # (comments)ngie2015-11-261-0/+2
| | | | MFC after: 3 days
* Remove cnftp.bjpu.edu.cn (it no longer resolves)ngie2015-11-262-2/+2
| | | | | | Add localhost to resolv/mach for parity with nss/mach MFC after: 3 days
* Update usage:hselasky2015-11-251-1/+3
| | | | | - Add missing description of "-c" option. - Add one more usage example.
* Add simple indent wrapper tool for style(9) checking GIT/SVN patches.hselasky2015-11-253-0/+754
| | | | | | | | The indent_wrapper tool only accepts full context diffs and works by identifying the surrounding C-block touched by a diff and passing only that to indent for styling. In the end a diff is produced or an external tool like meld can be invoked, to show the styling differences.
* Retire the NONE cipher option.des2015-11-231-9/+0
|
* Add support for passing TARGET_CPUTYPE into the build. It's moreimp2015-11-201-10/+13
| | | | important for arm and mips than for the more generic x86 systems.
* Use print as a function for Python 3 [PEP 3105]rodrigc2015-11-194-52/+56
| | | | | | | | Import print_function from the __future__ module to activate this for Python 2. This works as far back as Python 2.6.0a2: https://docs.python.org/2/library/__future__.html [PEP 3105] https://www.python.org/dev/peps/pep-3105/
* Use 'in' instead of 'has_key()' for testing dictionary membership.rodrigc2015-11-182-15/+15
| | | | | | | | | In PEP 0290, has_key() was deprecated in Python 2.2 and higher: https://www.python.org/dev/peps/pep-0290/#testing-dictionary-membership https://docs.python.org/2.2/whatsnew/node4.html In Python 3, dict.has_key() was removed: https://docs.python.org/3.0/whatsnew/3.0.html#builtins
* Use -n to ln(1) which is compatible with GNU ln(1).bdrewery2015-11-161-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Revert r290944. It was wrong.bdrewery2015-11-161-3/+3
|
* Fix error case for bmake to echo 0.bdrewery2015-11-161-3/+3
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Bring back a couple of ISO8859-15 locales:bapt2015-11-162-3/+33
| | | | | | | | | - af_ZA.ISO8859-15 - en_AU.ISO8859-15 - en_CA.ISO8859-15 - en_NZ.ISO8859-15 - en_US.ISO8859-15 - fr_CA.ISO8859-15
* Remove directory made obsolete by r290905ngie2015-11-163-169/+0
| | | | | | | MFC after: 1 week X-MFC with: r290905 X-MFC note: stable/10 only Sponsored by: EMC / Isilon Storage Division
* Integrate tools/regression/pipe in to the FreeBSD test suite asngie2015-11-1610-655/+0
| | | | | | | | | | | | | | tests/sys/kern/pipe - Fix style(9) bugs - Fix compiler warnings - Use `nitems(x)` instead of `sizeof(x) / sizeof(*x)` pattern The testcases will be converted over to ATF eventually, but for now will be integrated in as plain C tests MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove trailing spaces at end of linesbapt2015-11-151-3/+3
|
* Update the list of files to be removed in case world is built WITHOUT_LOCALESbapt2015-11-151-101/+126
|
* Generate in the FreeBSD keyword when generating the Makefilesbapt2015-11-151-0/+1
|
* Add ISO8859-1 everywhere ISO8859-15 existsbapt2015-11-151-17/+17
|
* Allow to generate the locale when the source directory is not /usr/srcbapt2015-11-151-3/+3
|
* Regen src.conf.5sjg2015-11-141-0/+1
|
* Rename META_MODE option to DIRDEPS_BUILDsjg2015-11-146-42/+42
| | | | | | | | | This allows META_FILES option to be renamed META_MODE. Also add META_COOKIE_TOUCH for use in targets that can benefit from a cookie when in meta mode. Differential Revision: https://reviews.freebsd.org/D4153 Reviewed by: bdrewery
OpenPOWER on IntegriCloud