Commit Graph

5 Commits

Author SHA1 Message Date
Tobias Mueller
928d4360ca depend on gl-ui and gl-e750-mcu because we modify those packages
We do need the MCU package and we modify the web UI so let's actually
depend on the relevant packages.
2023-08-28 10:41:13 +02:00
Tobias Mueller
d934a6c028 check for the actual version 3.215
I've made a typo in the previous attempt. Now I'm checking for the
correct version and it works much better.
2023-08-28 10:39:49 +02:00
Tobias Mueller
7aaf65e8bd support a clean uninstall of blue-merle
Before this change, uninstalling the package would complain about
/tmp/sim_change_start not existing:

root@GL-E750:/tmp# opkg remove blue-merle
Removing package blue-merle from root...
The /tmp/ directory exists.
The /etc/ directory exists.
killall: gltertf: no process killed
No file found within /tmp/tertf. No shredding to be done there.
No file found within /etc/tertf. No shredding to be done there.
Looks like /tmp/ is clean!
Looks like /etc/ is clean!
rm: can't remove '/tmp/sim_change_start': No such file or directory
rm: can't remove '/tmp/sim_change_switch': No such file or directory
No packages removed.
Collected errors:
 * pkg_run_script: package "blue-merle" postrm script returned status 1.
root@GL-E750:/tmp#

So we use -f to not raise an error if the file does not exist.
2023-08-28 09:55:41 +02:00
Tobias Mueller
0f2b358b31 Makefile: detect version 4 and bail out while soft-failing for version 3
We assume that the version 3 series is compatible, but still prompt the
user if they are using a version that we have not yet tested.

We know that version 4 is not compatible, so we bail out directly.

The double-dollar is for escaping the Makefile.
2023-08-28 09:33:28 +02:00
kantorkel
cb4d73731f Initial commit 2022-10-21 10:14:38 +02:00