File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
maintainers/scripts/bootstrap-files Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,30 @@ target:
4747 who can help you test the updated architecture and once reviewed tag
4848 ` @lovesegfault ` to upload the tarballs.
4949
50+ ## How to add bootstrap files for a new target
51+
52+ The procedure to add a new target is very similar to the update
53+ procedure. The only difference is that you need to set up a new job to
54+ build the ` bootstrapFiles ` . To do that you will need the following:
55+
56+ 1 . Add your new target to ` lib/systems/examples.nix `
57+
58+ This will populate ` pkgsCross.$target ` attribute set. If you are
59+ dealing with ` bootstrapFiles ` upload you probably already have it.
60+
61+ 2 . Add your new target to
62+ ` pkgs/stdenv/linux/make-bootstrap-tools-cross.nix ` . This will add a
63+ new hydra job to ` nixpkgs:cross-trunk ` jobset.
64+
65+ 3 . Wait for a hydra to build your bootstrap tarballs.
66+
67+ 4 . Add your new target to
68+ ` maintainers/scripts/bootstrap-files/refresh-tarballs.bash ` around
69+ ` CROSS_TARGETS=() ` .
70+
71+ 5 . Add your new target to ` pkgs/stdenv/linux/default.nix ` and follow
72+ standard bootstrap seed update procedure above.
73+
5074## Bootstrap files job definitions
5175
5276There are two types of bootstrap files:
You can’t perform that action at this time.
0 commit comments