Commit Graph

94 Commits

Author SHA1 Message Date
Lance Vick c61a119e3c
improved profiling, and profile self 2023-10-09 17:03:44 -07:00
Lance Vick f0d39c33bc
add basic profiling support 2023-10-09 14:55:37 -07:00
Lance Vick 832b9640c5
add space variable 2023-10-03 12:10:22 -07:00
Lance Vick 550178ad98
fix build order for dist 2023-10-03 10:52:51 -07:00
Lance Vick 86e5600952
ensure default is run before any toolchain commands in dist, to allow user to optionally restore toolchain.tgz cache 2023-09-27 19:22:08 -07:00
Lance Vick f4a93830c5
use hash of cache directory as toolchain tag 2023-09-27 17:22:01 -07:00
Lance Vick bba9553c2f
save/restore toolchain image as tgz for up to 3x disk savings 2023-09-27 14:49:17 -07:00
Lance Vick 7d2bc3d6f8
drop undocumented/unused PRESERVE_CACHE 2023-09-24 22:47:26 -07:00
Lance Vick 206148838d
create out if it does not exist 2023-09-24 05:17:39 -07:00
Lance Vick 52811cee5f
fix TOOLCHAIN_REPRODUCE match 2023-09-21 16:00:21 -07:00
Lance Vick 985107c4d2
fix dist dir name 2023-09-21 15:50:23 -07:00
Lance Vick d8ce33f628
namespace toolchain commands, add dist caching and git-restore-mtime support 2023-09-21 10:55:57 -07:00
Lance Vick ec9175bf45
always regen release.env unless REPRODUCE=true 2023-09-18 17:38:31 -07:00
Lance Vick a5ab6f8dcd
allow each project to choose if cache is reused 2023-09-09 01:01:36 -07:00
Lance Vick f966d23708
allow re-use of old unchanged dist artifacts 2023-09-09 00:56:31 -07:00
Lance Vick b9894265d0
build toolchain on demand, require clean tree for dist 2023-09-08 18:35:33 -07:00
Lance Vick 23fc267a9d
fix default paths 2023-09-03 03:29:28 -07:00
Lance Vick fda01343a5
allow bypassing use of slow/unreliable archive apt sources. Useful when using own LFS cache or similar 2023-09-03 02:47:17 -07:00
Lance Vick 9ddcbe18e5
more default vars 2023-09-03 02:46:55 -07:00
Lance Vick d3f66385c2
make Packages.bz2 an order-only to allow deletion 2023-08-07 14:33:01 -07:00
Lance Vick 2560e543a1
support path prefix 2023-07-20 18:24:42 -07:00
Lance Vick 352783aa65
regen Packages.gz when apt hashes change 2023-06-30 12:55:08 -07:00
Lance Vick 09c3a79d8c
add git archive function 2023-06-22 02:50:56 -07:00
Lance Vick 88527fc427
new KEY_DIR under fetch 2023-06-21 18:28:27 -07:00
Lance Vick cb72be053f
remove cache/make.env recursion insanity. It breaks too many things 2023-06-18 15:04:53 -07:00
Lance Vick 78376e2094
include BIN_DIR in environment files 2023-06-18 03:22:17 -07:00
Lance Vick e75a319f87
fix packages-update after autobuild 2023-06-18 02:41:10 -07:00
Lance Vick 489fcbabf3
make dependecy and doc fixes 2023-06-16 12:58:05 -07:00
Lance Vick c55daf1cdf
Packages.gz -> Packages.bz2 2023-06-16 12:11:11 -07:00
Seán C McCord e1e6792569
Correct unsupported deb Packages compression, and copy all config files in scripts 2023-06-16 11:56:43 -07:00
Lance Vick 5bbf26be78
cache debian artifacts in fetch directory 2023-06-15 23:23:10 -07:00
Lance Vick 388334ef6a
be explicit about env vars copied into containers 2023-06-15 12:42:16 -07:00
Lance Vick c71bfa31e0
Merge branch 'master' of codeberg.org:distrust/toolchain 2023-06-15 04:37:03 -07:00
Lance Vick c710181e04
readme corrections 2023-06-15 04:36:43 -07:00
Lance Vick 42f1d5850c
fetch file support 2023-06-09 16:08:03 -07:00
Lance Vick a8c0099576
separate generated env files between container and make uses 2023-06-08 05:37:19 -07:00
Lance Vick 3f14cf21ba
Merge branch 'master' of https://codeberg.org/distrust/toolchain 2023-06-01 18:05:46 -07:00
Lance Vick ee915227d5
separate toolchain.env and global.env. Allow env vars in global.env 2023-06-01 18:04:41 -07:00
Lance Vick 46de4dddbd
Merge remote-tracking branch 'origin/ryansquared/restrict-packages-to-snapshot' 2023-05-05 11:20:01 -07:00
RyanSquared 1e1d4ae3a9
scripts/pcakages-update: only use packages from debian snapshot 2023-05-05 11:11:17 -04:00
Lance Vick 469f9ee54a
Merge branch 'master' of codeberg.org:distrust/toolchain 2023-05-04 12:10:57 -07:00
Lance Vick e2f68de8da
drop manifest.txt support favoring diff and git-sig 2023-05-04 12:10:38 -07:00
Lance Vick 7b178a53ef
only exec if calling user is root 2023-05-03 18:30:07 -07:00
Lance Vick c80a7dc018
delete existing user/groups by name vs id 2023-05-03 13:22:51 -07:00
Lance Vick 20d90c684b
Merge branch 'rno/normarch' of https://codeberg.org/rno/toolchain into rno-rno/normarch 2023-05-03 13:17:42 -07:00
Arnaud Brousseau 2aac13f095
Normalize HOST_ARCH 2023-05-03 15:14:27 -05:00
Lance Vick 2027f56e1a
use variable for /home/build everywhere 2023-05-02 16:02:33 -07:00
Lance Vick ddf6568244
Merge branch 'master' of codeberg.org:distrust/toolchain 2023-05-02 14:58:10 -07:00
Lance Vick a4086420ca
allow override for toolchain docker volume and workdir for niche environments 2023-05-02 14:55:45 -07:00
Lance Vick f853fa98ac
Merge branch 'master' of https://codeberg.org/distrust/toolchain 2023-05-01 15:53:51 -07:00