Commit Graph

23 Commits

Author SHA1 Message Date
Ehmry - 2cd689783a Add extraFiles option 2022-07-12 12:08:36 -05:00
Astro 81dfe7ffb9 builder: enhance work around missing profile.json 2022-06-10 21:54:09 +02:00
Astro 540f9c62a8 builder: use postPatch not patchPhase for better overridability 2022-06-10 21:52:42 +02:00
Astro fa5444dec4 builder: work around missing profile.json on legacy releases 2022-06-10 20:54:16 +02:00
Astro 0235771a7a builder: work around duplicate package files 2022-06-10 20:50:07 +02:00
Astro 30d056862d
Merge pull request #6 from tomjnixon/only_download_required_packages
Only download required packages
2022-06-07 16:36:50 +02:00
Thomas Nixon 051b9df050 builder: copy files to avoid making etc read-only
This caused lines like this to appear in the logs:

.../sed: couldn't open temporary file .../etc/sed6fJsn9: Permission denied

These errors caused some changes to /etc/group to be missed.
2022-06-06 01:04:39 +01:00
Thomas Nixon b4379cf745 only download packages which might be required
Package files are parsed to determine the dependency package
dependencies, and these are used to find the packages to download which
might be required.

This doesn't implement every detail of the opkg dependency resolution,
but instead tries to find all packages which might be required.
In particular, no attempt is made to resolve dependencies on virtual
packages (which may be provided by multiple packages) to a single
package (all providing packages are downloaded).
2022-06-05 22:28:50 +01:00
Astro eeca2576db Revert "builder: add gccWrapper for openwrt < 19"
This reverts commit 372494478d.
2022-06-01 18:24:03 +02:00
Ehmry - 5bb153d7b0 lib.build: generate hydra-build-products 2022-05-29 09:38:04 -05:00
Astro 372494478d builder: add gccWrapper for openwrt < 19 2022-05-09 15:43:59 +02:00
Astro 34afaff593 builder: add hack for openwrt < 19 2022-04-30 01:31:26 +02:00
Astro 658c02ecfa builder: pass packagesArch 2022-04-30 01:31:10 +02:00
Astro b2a5626072 hashes/19.07.10: add 2022-04-28 02:56:44 +02:00
Astro 9ec872e36a builder: refactor into files.nix 2022-04-28 00:42:02 +02:00
Astro a1be539440 exmaple.nix: add files 2022-04-27 22:34:58 +02:00
Astro 8d30c2ef14 generate-hashes, flakify 2022-04-27 22:25:39 +02:00
Astro 9b6e88396b builder: add imagebuilder parameters 2022-04-27 18:25:01 +02:00
Astro a9e4c947bd builder: remove openwrtConfig debug output 2022-04-27 18:20:52 +02:00
Astro 1788e2674a builder: dontFixup 2022-04-27 02:59:05 +02:00
Astro 2431ef66cd builder: shallow installPhase 2022-04-27 02:40:55 +02:00
Astro d8df8f0565 builder: put variantPackages in its own derivation 2022-04-27 02:38:20 +02:00
Astro e11740497a PoC 2022-04-27 02:34:09 +02:00