[yocto] How to run script before mount rootfs
Szabolcs Báder
sb at baader.hu
Wed Jul 3 09:59:43 PDT 2019
Hi,
I created for Raspberry Pi a simple OS-boot-switcher. I change a param from
rootfs, reboot and new OS run. I would like to add to for this flow a
parameter to create ro boot and rootfs.
I would like to read this parameter at boot and depend on this choose which
OS will load. How could I define this at boot (eg. from cmdline.txt or with
a shell script or load c code ..?). What is the best idea/ way to do that
within Yocto?
Thanks in advance,
Szabolcs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190703/84dbae14/attachment.html>
More information about the yocto
mailing list