Hi Abhishek,
On 9/26/18 5:30 PM, Abhishek Kumar Rai wrote:
Hi Enrico,
Thanks for your prompt reply.
In my design , I have to do following things.
- Create a RAUC bundle consisting of App images and dbs -> ProductControl.bin,
Controls.bin, Operations.bin, ProductControl.db, Controls.db, Operations.db etc.
->*Bundle.raucb*
- On installation, both the images and db should go into AppFS. DataFS should
remain unaffected.
-“Post Install Hook” in RAUC shall be used to copy configuration data from the
current slot of DataFS to the newly installed slot.
Can we achieve above scenario(with system.conf in previous mail) using “Post
Install Hook” in manifest file. ?
note that ATM, there is only a per-slot post-install hook. But, we have a post
per-installation post-install *handler*.
This means, the hook will be executed right after, e.g., your App image is
copied and could be used to also write additional files you have in the bundle
to the same slot (despite I would assume to have .db files in the datafs
instead of appfs).
For copying DataFS content, you might want to join the discussion we have here:
https://github.com/rauc/rauc/issues/333
Maybe the discussion in https://github.com/rauc/rauc/issues/325 is also
something that might be useful for your purposes.
Best regards, Enrico
--
Pengutronix e.K. | Enrico Jörns |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
RAUC mailing list