Coder Social home page Coder Social logo

Comments (2)

ejoerns avatar ejoerns commented on June 1, 2024

@sprhawk Yes, the way this is meant to work is that hawkBit provides you only the RAUC bundle containing the chunk index file. Access to your server's chunk store happens fully independent of hawkbit.

When not using hawkBit, the default lookup location would be right next to the original bundle URL on the server. This information about the original bundle location is actually lost when using hawkBit, as it puts the bundle in a temporary download location first and then notifies RAUC. However, what is possible but is not part of RAUC (yet) is that hawkbit tells RAUC where to expect the store path during the 'Install' D-Bus call. There is a pending PR for this: rauc/rauc#630

Another option is what you already discovered, having a fixed store path configured in the system configuration. With migrating between different versions of castr you refer to possible store format changes?
When you only refer to having multiple bundle versions, then this is not an issue in most cases as you can simply put all chunks for all versions of a bundle into a single chunk store. This is another major advantage of casync: it allows you to save storage space on the server side, too. Thus if that is possible in your setup, this is probably the way to go.

The last option I could think of is having a store path set in the bundle's manifest file. This would at least allow to pre-set it during bundle generation but would require some pre-knowledge of server setup possibly not yet available a the time of bundle generation.

Enrico

from rauc-hawkbit-updater.

sprhawk avatar sprhawk commented on June 1, 2024

@ejoerns thanks.

from rauc-hawkbit-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.