Commit Graph

70 Commits

Author SHA1 Message Date
Ehmry - aa2744372f Update OpenWRT hashes 2022-07-12 12:08:59 -05:00
Ehmry - ea24144716 Add network options 2022-07-12 12:08:36 -05:00
Ehmry - a30a724a0f Refactor UCI
Convert all options that go to UCI as an intermediate attrset
at config.uci.settings before generating the batch script.
2022-07-12 12:08:36 -05:00
Ehmry - a4cd619f69 Add wireless options 2022-07-12 12:08:36 -05:00
Ehmry - 2999346274 Move "system" options to "build" add UCI system options 2022-07-12 12:08:36 -05:00
Ehmry - 807ee39110 Add UCI batch and Dropbear options 2022-07-12 12:08:36 -05:00
Ehmry - 2cd689783a Add extraFiles option 2022-07-12 12:08:36 -05:00
Ehmry - 6ba2d4800f Split packages into includes and excludes
Packages can still be excluded with the include list by prefixing
with "-", this is discouraged.
2022-07-12 12:08:36 -05:00
Ehmry - 6243c33736 Refactor to a module system 2022-07-12 12:08:36 -05:00
Astro 1a18b5abdd hashes: update 2022-07-12 01:30:34 +02:00
Astro 6a8887a92b hashes: update 2022-07-10 22:57:01 +02:00
Astro e1d6e284e7 hashes: update 2022-06-30 15:19:53 +02:00
Astro 55fe9320e9 hashes: update 2022-06-27 22:18:45 +02:00
Astro 9b72cf0887 hashes: update 2022-06-23 17:08:48 +02:00
Astro 81dfe7ffb9 builder: enhance work around missing profile.json 2022-06-10 21:54:09 +02:00
Astro 51d67c0a59 flake.nix: correct description 2022-06-10 21:53:06 +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 1202258616
Merge pull request #8 from tomjnixon/simplify_hash_gen
Simplify hash generation
2022-06-08 21:13:22 +02:00
Thomas Nixon 34e00cbc11 flake.nix: drop unused openwrt input 2022-06-08 00:26:54 +01:00
Thomas Nixon d28a2c402c generate-hashes: simplify target/subtarget parsing
The openwrt download site has secret json files like these with the
list of targets and subtargets:

https://downloads.openwrt.org/releases/21.02.3/targets/?json-targets

Use these rather than scanning the git repository, to avoid the two
getting out of sync.
2022-06-08 00:25:46 +01: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
Astro 68872c8074
Merge pull request #7 from tomjnixon/fix_files_mode
builder: copy files to avoid making etc read-only
2022-06-07 12:03:51 +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
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
Astro f682ef9c0f Update hashes 2022-06-01 18:47:04 +02:00
Astro eeca2576db Revert "builder: add gccWrapper for openwrt < 19"
This reverts commit 372494478d.
2022-06-01 18:24:03 +02:00
Astro 0bafd92406 Update hashes 2022-06-01 00:47:37 +02:00
Astro 07325e548b
Merge pull request #3 from IowaCityMesh/main
Update hashes
2022-05-31 21:47:30 +02:00
Astro eb8695232b
Merge pull request #5 from IowaCityMesh/hydra-build-products
lib.build: generate hydra-build-products
2022-05-31 21:46:16 +02:00
Ehmry - 5bb153d7b0 lib.build: generate hydra-build-products 2022-05-29 09:38:04 -05:00
Ehmry - 381746799c generate-hashes: log fetch or parse errors 2022-05-28 09:41:07 -05:00
Ehmry - df58f7573c Update hashes 2022-05-28 09:41:03 -05:00
Astro 4061b83f32 README: fix example syntax 2022-05-09 15:49:23 +02:00
Astro c57be33430 README: add documentation
Fixes Github issue #1
2022-05-09 15:44:33 +02: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 2dc8656812 files: let sanitizeFilename use baseNameOf 2022-04-29 21:33:58 +02:00
Astro b955d0a7ac files: sanitizeFilename 2022-04-29 21:30:44 +02:00
Astro 2717976254 files: allow explicitly specifying packagesArch 2022-04-29 21:29:29 +02:00
Astro 2087eb5f0c generate-hashes: add all other feeds except luci 2022-04-29 00:29:44 +02:00
Astro 614e4248c3 example.nix: use flake interface when building from flake 2022-04-29 00:03:47 +02:00
Astro 523cb2f511 flake.nix: remove unused build arg openwrt 2022-04-29 00:03:27 +02:00
Astro 16cbe77aa0 profiles: split identifyProfiles into identifyProfile 2022-04-28 23:59:17 +02:00
Astro fd97d941cd flake.nix: fix lib.{build,profiles} args 2022-04-28 23:52:40 +02:00
Astro 2ddc9f041b hashes/22.03.0-rc1: add 2022-04-28 23:03:33 +02:00
Astro bb757271e3 profiles-list: generate for all known releases 2022-04-28 03:12:41 +02:00