Comments (6)
@Syphdias Yep I know that. The get --update_all
should update localy and then I do gok -i <instance> update
but the version is still outdated.
Btw, doing get --update_all
should already tell me I have an outdated version of gokrazy and it does not show me that.
from gokrazy.
I believe this only updates the local configuration not the device itself. What you want to do after you updated the packages, is to run gok -i <instance> update
to update your device.
This is why the documentations says:
For example, I use the following Makefile. I run
make get && make update
from cron every day.
from gokrazy.
This should be fixed with gokrazy/tools@c5e8689
(There was a mismatch for the init process where it used builddir/init
instead of builddir/github.com/gokrazy/gokrazy
as expected.)
from gokrazy.
@stapelberg after updating gok
with the latest version and then doing gok get --update_all
I still don't get the update
gok version
gok v0.0.0-20230728064552-c5e8689f03bd up-to-date
version of gokrazy after update
brun0@tb:~/gokrazy/brun0-pi/builddir/github.com/gokrazy/gokrazy
$ cat go.mod
module gokrazy/build/brun0-pi
go 1.19
require (
github.com/gokrazy/gokrazy v0.0.0-20230723153554-331c98011aad // indirect
github.com/gokrazy/internal v0.0.0-20220129150711-9ed298107648 // indirect
github.com/google/renameio/v2 v2.0.0 // indirect
github.com/kenshaw/evdev v0.1.0 // indirect
github.com/mdlayher/watchdog v0.0.0-20201005150459-8bdc4f41966b // indirect
golang.org/x/sys v0.5.0 // indirect
)
But going into /gokrazy/brun0-pi/builddir/init
I can see a different version
$ cat go.mod
module gokrazy/build/brun0-pi
go 1.20
require github.com/gokrazy/gokrazy v0.0.0-20230701125004-edba3d33ffa9 // indirect
What should I do in this situation? Can I hardcoded this version on the go.mod
file present in /gokrazy/brun0-pi/builddir/github.com/gokrazy/gokrazy
?
from gokrazy.
github.com/gokrazy/gokrazy v0.0.0-20230723153554-331c98011aad
This already is the latest version, there is nothing newer.
Just do a gok update
and it should pick up builddir/github.com/gokrazy/gokrazy to build the init program.
from gokrazy.
@stapelberg I can confirm this fixed!
Thanks
from gokrazy.
Related Issues (20)
- Mount namespaces? HOT 1
- Add a way to read `PackageConfig` config from an appended partition HOT 5
- Huge cpu and mem load on gok update HOT 11
- Windows not supported? (gok CLI) HOT 4
- Document 'GOKRAZY_PARENT_DIR' environment variable HOT 1
- Add support for the Raspberry Pi 5 HOT 8
- store the password only in hashed form HOT 2
- command not found HOT 6
- Executing on demand HOT 2
- GPIO / periph.io Edge detection / sysfs not working HOT 2
- support for mounting additional devices (as /perm, or separately) HOT 3
- Kernel panic - not syncing HOT 7
- How to compile this project on mac HOT 2
- continuous integration: add kexec test cycle HOT 2
- Go web application fails to load template file HOT 4
- Support installing microcode HOT 3
- WebAuthN authentication HOT 3
- MBR bootloader: fix 15/16 MB kernel limit HOT 1
- Documentation how to set sysctl HOT 8
- Feature request: Use Tailscale for gokrazy API authorization HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gokrazy.