Commit Graph

53 Commits

Author SHA1 Message Date
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 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
Lance Vick 108089eac2
handle host user being root or a default debian user/group 2023-05-01 15:53:32 -07:00
Lance Vick 70c9e403ac
add git-lfs to required binary checks 2023-05-01 14:10:33 -07:00
Lance Vick 4eff8b258b
optional PRESERVE_CACHE argument 2023-04-27 13:54:27 -07:00
Lance Vick dafafd5d6c
make only toolchain-shell interactive, only delete dirs if they exist 2023-04-27 13:40:31 -07:00
Lance Vick a65be367d9
sudo support 2023-04-13 14:20:55 -07:00
antonlivaja c2f033f3fb Merge pull request 'Fix typo in README- 'codeburg' => 'codeberg'' (#2) from singlerider/toolchain:fix-typo-in-readme into master
Reviewed-on: https://codeberg.org/distrust/toolchain/pulls/2
2023-04-10 22:44:28 +00:00
Lance Vick b499727bbb
use sh for environment file 2023-04-05 14:16:34 -07:00
Shane Engelman beac29f3d9
Fix typo in README- 'codeburg' => 'codeberg' 2023-04-05 11:08:28 -05:00
Lance Vick 26ad161faf
Inform user when reproduce works 2023-04-04 14:52:04 -07:00
Lance Vick 8027bcc0b5
suppress toolchain state missing errors 2023-04-04 14:41:02 -07:00
Lance Vick 7445dc5da8
remove read only cache files 2023-04-04 14:36:28 -07:00
Lance Vick bcea9f50b8
attest -> reproduce 2023-04-04 14:16:53 -07:00
Lance Vick d5fcfe2886
Host os/arch vars 2023-04-04 09:42:46 -07:00
Lance Vick fbf48b33a0
delete dialout group that conflicts with mac users 2023-04-02 21:09:46 -07:00
Lance Vick 47e883a348
fix pgp key fetching 2023-03-16 20:11:53 -07:00
Lance Vick d6189f0f28
drop USER and use host-env for all toolchain invocations 2023-03-07 18:09:52 -08:00
Lance Vick 71f3e33623
smarter dist/manifest management 2023-03-02 09:27:27 -08:00
Lance Vick 27e0da8773
ignore expired releases for apt installs 2023-02-28 10:33:59 -08:00
Lance Vick 216cd15fe0
Merge branch 'master' of https://codeberg.org/distrust/toolchain 2023-02-27 14:26:45 -08:00
Lance Vick 6883a7dced
add DIST_DIR target 2023-02-27 14:26:04 -08:00
Jack Kearney 64b677d235
Follow symlinks while building manifest.txt 2023-02-24 16:56:39 -05:00
Lance Vick 2e67bce822
only depend on toolchain.state in global 'toolchain' phony 2023-02-24 13:42:59 -08:00
Lance Vick ca3e7960ea
remove 'out/' prefix in manifest.txt 2023-02-24 13:30:28 -08:00
Lance Vick 8b98574565
clone only required ref in git_clone 2023-02-16 21:15:10 -08:00
Lance Vick 8c2e4b6ad1
cache loading of toolchain.tar 2023-02-15 13:57:45 -08:00
Lance Vick 7a2917d37a
add VERSION to environment 2023-02-15 04:09:04 -08:00
Lance Vick d0d66c2d57
ensure NAME is always lowercase 2023-02-13 12:36:17 -08:00
Lance Vick be41f7cfe1
fix mis-named variable 2023-02-12 21:38:56 -08:00
Lance Vick 6961056dd3
GIT EPOCH/DATETIME -> TIMESTAMP 2023-02-12 21:36:05 -08:00
Lance Vick 770c4add58
saner toolchain-clean 2023-02-12 16:54:54 -08:00
Lance Vick 4a4d61f1b7
use YY.MM.DD as default version string 2023-02-10 16:37:22 -08:00
Lance Vick 99c9bd4f79
use release.env from DIST_DIR when attesting 2023-02-10 13:07:12 -08:00
Lance Vick 14c700d3be
build release.env against whole repo, not config folder 2023-02-10 12:57:10 -08:00
Lance Vick 0fe125fa8f
switch to traditional naming: release -> dist 2023-02-08 17:07:23 -08:00
Lance Vick a4d04788af
attest with needed args 2023-02-07 16:31:09 -08:00
Lance Vick ab2e37ace2
Make all packages 'trusted' from debian archive to build when keys expire 2023-02-06 12:54:56 -08:00
Lance Vick 68a9c216ab
add PLATFORM var 2023-02-06 12:54:17 -08:00
Lance Vick db9ab961fd
add toolchain-clean and default to FAKETIME off 2023-02-03 03:43:24 -08:00
Lance Vick 9c45fa460e
several multi-arch improvements 2023-02-02 21:30:11 -08:00
Lance Vick bf4dd6e0fa
detail update and shell 2023-01-27 17:00:24 -08:00
Lance Vick 76fab9946a
whitespace 2023-01-27 16:56:08 -08:00