William Grzybowski
b955a095f0
pkg does not recognize port name with flavor
...
Add an optional `package` attribute.
2018-04-12 17:59:13 -03:00
William Grzybowski
c04065b50b
Change format because of SyntaxError on builder
2018-03-29 08:52:57 -03:00
William Grzybowski
1a16c642ef
Fix datetime call
2018-03-29 08:52:57 -03:00
William Grzybowski
c9acf93878
Log timestamp for pkg install
2018-03-29 08:52:57 -03:00
William Grzybowski
cb8860922a
Make sure we are dealing with a file
2016-12-28 14:33:17 +01:00
Suraj Ravichandran
80453d8124
Add general purpose mechanism to build system to allow config var
...
override via environment variables.
Example usage:
`env dsl.config.repos.middleware.branch=update_diffreduc_and_flakefix make update`
Things to note:
1. `dsl.config.` is a general purpose prefix to identify build system config
related env vars amidst the rest of them
2. This mechanism is not additive and will not allow you to add new config
config vars instead just edit existing ones.
3. It will inform you via a log of a misformed env var that has `dsl.config.` prefix.
4. It will also log a successful override of a var.
Feel free to review/comment for correctness and/or complexity.
Ticket: #16118
2016-07-08 05:15:46 -07:00
Jakub Klama
d24889f601
Move is_elf() to utils
2016-04-19 14:28:52 +02:00
Suraj Ravichandran
53fb1e148d
remove commented out code
2016-02-26 21:52:01 -08:00
Suraj Ravichandran
95c2996c93
Try the include method here to make sure things get loaded in the right order.
2016-02-26 20:09:35 -08:00
Suraj Ravichandran
b436d7fcbf
Revert "Load per profile env.pyd before the common env.pyd as the common one has env vars that may rely on the profile specific one."
...
This reverts commit 058b98f243 .
2016-02-26 19:55:33 -08:00
Suraj Ravichandran
058b98f243
Load per profile env.pyd before the common env.pyd as the common one has env vars that may rely on the profile specific one.
...
This hopefully should resolve the mystery of the dissapearance of 10 nightlies from `download.freenas.org/10/MASTER`.
2016-02-26 19:33:38 -08:00
Jakub Klama
2d309661be
Allow per-profile env.pyd and set version there.
2016-02-26 16:40:33 -08:00
William Grzybowski
66d284ba5a
Encode contents if needed be
2015-11-04 16:13:30 +01:00
William Grzybowski
59c610870a
We actually need to read the file as text
2015-11-04 12:38:31 -02:00
William Grzybowski
88f42f3a0e
Read file as binary
2015-11-04 12:28:03 -02:00
William Grzybowski
4a199bb613
Do not close fds for now
...
It tries to close too many fds because the limit is high.
2015-11-04 14:12:36 +01:00
William Grzybowski
9b1036191d
Small fixes for py3k
2015-11-04 13:22:51 +01:00
Jakub Klama
71823bc2f2
Do the best that we can to gracefully kill poudriere and unmount everything properly.
2015-10-10 17:56:20 +02:00
Jakub Klama
6bb02b91ff
Log commands executed by test cases.
2015-06-20 18:54:27 +02:00
Jakub Klama
1453e69c24
Add infrastructure for running test cases and add first three tests.
2015-06-19 18:48:47 +02:00
Jakub Klama
071ced9443
Add initial support for TrueOS automated tests.
2015-06-17 02:59:05 +02:00
Jakub Klama
d210fd5720
Try to avoid write errors on stdout by using big enough buffer.
2015-06-09 02:39:42 +02:00
Jakub Klama
678b2178ef
Set GIT_REVISION variable only if freenas repository is checked out
2015-04-28 10:02:24 +02:00
Jakub Klama
43964f231e
Put everything (checked out repos, build products, release bits) under single directory called _BE.
...
That will make cleaning build environment easier.
2015-04-27 12:25:40 +02:00
Jakub Klama
6a31887339
Finally make build process work again.
2015-04-24 14:14:02 +02:00
Jakub Klama
2f0321f8ba
Adapt more build scripts to use profile config. Remove now useless e() calls in .pyd files.
2015-04-23 23:32:15 +02:00
Jakub Klama
551b7502dd
Adapt existing build scripts to profiles, fixing typos, missing commas, etc while here.
2015-04-23 19:34:34 +02:00
Jakub Klama
244110e611
Use some AST magic to accomplish following goals:
...
* Automatically expand $VARIABLES inside strings without calling e() on string.
* Automatically convert dicts to ConfigDicts. ConfigDict members can be accessed using dot syntax (eg. dict.member instead of dict["member"])
2015-04-23 19:24:54 +02:00
Jakub Klama
9a1d81843a
Add initial support for build profiles.
...
* Build profiles are stored in build/profiles/ directory (one subdirectory per profile)
* Main profile config file is called config.pyd
* Profiles other than default should inherit default profile config and modify it
* DSL syntax changed to more readable and more flexible
2015-04-23 17:04:52 +02:00
Jakub Klama
c4110791a3
Register cleanup routines via atexit() instead.
2015-04-22 21:50:15 +02:00
Jakub Klama
afe5e55f95
Simplify build-ports script; disable pcbsd-appweb build until we resolve how it should be done.
2015-04-22 16:42:16 +02:00
Jakub Klama
acea4ee59b
Initial drop-in of FreeNAS 10 build system.
2015-04-22 11:57:31 +02:00