-
Notifications
You must be signed in to change notification settings - Fork 199
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attach file to bundle #333
Comments
Hi @ilkondr Several things on this:
Thus, without adding support to the handlers, the only way to achieve what you described would be to use a handler and simply put the image into the bundle. Build system integration for this might be missing -> patches welcome :) Anyway, to better understand what would fit your needs, could you explain what actual purpose of your extra image / archive is? It means, what do you want to do with it? Bootstrapping something? Adding additional content to a slot? .. |
Thanks @ejoerns ! Regarding my intention for this. Strictly speaking I can implement all my needs using existing tools at the moment. But it will be much more flexible with bundle-specific handlers or even another files. This can help perform some tricky upgrades in the future without 2-stage upgrade. So this is just a try to make things more flexible BTW, shouldn't RAUC fail installing with that inappropriate manifest? |
@ilkondr Thanks for proposing a solution for adding extra files in meta-rauc! I link it here for reference: rauc/meta-rauc#53 You are also right that your case should be fatal but unintentionally it became a warning only. In master, this is already fixed by 3f4953b |
Yocto support was added with rauc/meta-rauc#102 |
Hi folks,
I'm trying to get configured pre-install and post-install hooks, which are not slot-related, but system-related. So I would like to have code put into bundle with behaviour of handlers. Is there any internal solution for this? Is there way to just attach a file to bundle?
In order to attach file I tried to add new slot with type=file to manifest (tarball with my scripts).
Than I created handlers which unpack tarball and execute scripts. Sounds good.
But rauc install does not work for me if manifest has extra slot (system.conf with 3 slots and bundle manifest with 4 slots).
As you can see install succeeded but no update performed:
That would be great if there is a way to get things working with extra slot.
Thanks
The text was updated successfully, but these errors were encountered: