Commit Graph

10 Commits

Author SHA1 Message Date
Gerard Ryan 104bfa71a9 cache-domains: Fixed config files being outside of jail
This fix dnsmasq failing to startup once configured since the
cache-domains config files are not included in the jail that dnsmasq
runs inside.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-09-05 19:23:07 +10:00
Gerard Ryan 7dd26ee760 cache-domains: added pre-test.sh CI step
Some packages variants have conflicting dependencies with the
base packages and the CI test will fail to install before anything
can be done by the packages to setup the system for install.

This change adds a pre-test.sh that runs before the install so things
like the default libustream variant can be swapped out as shown in the
updated cache-domains.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-05-01 13:38:17 +03:00
Gerard Ryan dbd1fd07e8 cache-domains: Fixed hotplug script not running
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-03-08 21:55:31 -08:00
Gerard Ryan baf556f0de cache-domains: Fixed remote script usage change
* Removed all unnecessary files after configuration
* Reduced code duplication
* Changed to symlinking config instead of copying

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-10-03 16:43:26 -07:00
Gerard Ryan 8347b46969 cache-domains: Fixed missing wildcard entries
The fix requires the use of the generated dnsmasq `lancache.conf` file.
So I moved configuration of the hosts directory out of the UCI and into
the generated dnsmasq configuration file to simplify the script.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-06-27 17:11:08 +10:00
Gerard Ryan 8afdaf1195 cache-domains: Fixed host files directory
* Hid unnecessary output

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-04-02 17:15:58 +10:00
Gerard Ryan fc3967f397 cache-domains: Fixed upstream changes + wolfssl
* The upstream script changed to use `.hosts` files from `.conf` files,
so changes were required to make dnsmasq use the new file format.
* Added a default wolfssl variant.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-09-10 22:22:15 +10:00
Gerard Ryan af8d806407 cache-domains: Improved ifup hotplug reliability
I've noticed that in deployment on some reboots it won't configure,
This seems to be due to running before the system/network is ready.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-07-11 22:36:15 +10:00
Gerard Ryan 124deec9ae cache-domains: Changed to hotplug script
Since we have to restart dnsmasq to reload the config anyway, this
package doesn't need to run before anything. We do however need to
wait for the network so I've changed this service to be a hotplug
script and utility script.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2019-12-02 19:16:42 +10:00
Gerard Ryan 6e8be5f42e cache-domains: added game cache DNS config service
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2019-10-12 15:24:21 +08:00