Commit Graph

45 Commits

Author SHA1 Message Date
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
Thomas Nixon
8746d406a4 files: switch from lib to inherit
this tripped me up and is generally not recommended
2022-06-05 20:53:13 +01:00
f682ef9c0f Update hashes 2022-06-01 18:47:04 +02:00
eeca2576db Revert "builder: add gccWrapper for openwrt < 19"
This reverts commit 372494478d.
2022-06-01 18:24:03 +02:00
0bafd92406 Update hashes 2022-06-01 00:47:37 +02:00
07325e548b
Merge pull request #3 from IowaCityMesh/main
Update hashes
2022-05-31 21:47:30 +02:00
eb8695232b
Merge pull request #5 from IowaCityMesh/hydra-build-products
lib.build: generate hydra-build-products
2022-05-31 21:46:16 +02:00
5bb153d7b0 lib.build: generate hydra-build-products 2022-05-29 09:38:04 -05:00
381746799c generate-hashes: log fetch or parse errors 2022-05-28 09:41:07 -05:00
df58f7573c Update hashes 2022-05-28 09:41:03 -05:00
4061b83f32 README: fix example syntax 2022-05-09 15:49:23 +02:00
c57be33430 README: add documentation
Fixes Github issue #1
2022-05-09 15:44:33 +02:00
372494478d builder: add gccWrapper for openwrt < 19 2022-05-09 15:43:59 +02:00
34afaff593 builder: add hack for openwrt < 19 2022-04-30 01:31:26 +02:00
658c02ecfa builder: pass packagesArch 2022-04-30 01:31:10 +02:00
2dc8656812 files: let sanitizeFilename use baseNameOf 2022-04-29 21:33:58 +02:00
b955d0a7ac files: sanitizeFilename 2022-04-29 21:30:44 +02:00
2717976254 files: allow explicitly specifying packagesArch 2022-04-29 21:29:29 +02:00
2087eb5f0c generate-hashes: add all other feeds except luci 2022-04-29 00:29:44 +02:00
614e4248c3 example.nix: use flake interface when building from flake 2022-04-29 00:03:47 +02:00
523cb2f511 flake.nix: remove unused build arg openwrt 2022-04-29 00:03:27 +02:00
16cbe77aa0 profiles: split identifyProfiles into identifyProfile 2022-04-28 23:59:17 +02:00
fd97d941cd flake.nix: fix lib.{build,profiles} args 2022-04-28 23:52:40 +02:00
2ddc9f041b hashes/22.03.0-rc1: add 2022-04-28 23:03:33 +02:00
bb757271e3 profiles-list: generate for all known releases 2022-04-28 03:12:41 +02:00
b2a5626072 hashes/19.07.10: add 2022-04-28 02:56:44 +02:00
7c6f2f0625 flake: lib.profiles default options 2022-04-28 02:42:17 +02:00
af273099ea profiles-list: init 2022-04-28 02:38:30 +02:00
0068b5c168 profiles: let identifyProfile return one single match 2022-04-28 01:22:29 +02:00
3db95068d2 profiles: init with allProfiles+identifyProfile 2022-04-28 01:17:41 +02:00
fbf0e8733b generate-hashes: s/subtarget/variant/ 2022-04-28 00:51:08 +02:00
9ec872e36a builder: refactor into files.nix 2022-04-28 00:42:02 +02:00
a8258eece3 generate-hashes: fix 2022-04-27 23:35:00 +02:00
2a6c91360b
LICENSE: add MIT 2022-04-27 22:40:54 +02:00
484a75fa0e README: init 2022-04-27 22:39:18 +02:00
a1be539440 exmaple.nix: add files 2022-04-27 22:34:58 +02:00
a0502ecaab flake.nix: add checks, hydraJobs, extend example 2022-04-27 22:29:58 +02:00
8d30c2ef14 generate-hashes, flakify 2022-04-27 22:25:39 +02:00
2baf162de0 example.nix: rename from default.nix 2022-04-27 22:24:49 +02:00
9b6e88396b builder: add imagebuilder parameters 2022-04-27 18:25:01 +02:00
a9e4c947bd builder: remove openwrtConfig debug output 2022-04-27 18:20:52 +02:00
1788e2674a builder: dontFixup 2022-04-27 02:59:05 +02:00
2431ef66cd builder: shallow installPhase 2022-04-27 02:40:55 +02:00
d8df8f0565 builder: put variantPackages in its own derivation 2022-04-27 02:38:20 +02:00
e11740497a PoC 2022-04-27 02:34:09 +02:00