All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: yocto-patches@lists.yoctoproject.org
Subject: Re: [meta-rockchip][PATCH v2 1/2] provide a filesystem overlay example
Date: Sat, 13 Dec 2025 02:10:18 -0500	[thread overview]
Message-ID: <20251213071018.GA29788@localhost> (raw)
In-Reply-To: <20251212182420.24920-1-twoerner@gmail.com>

On Fri 2025-12-12 @ 01:24:19 PM, Trevor Woerner wrote:
> Most implementations that use an A/B, full-partition update mechanism
> (such as RAUC configured for this scenario) need some way of preserving
> system configurations in a location that survives updates. The RAUC demo
> provided in this layer is an example of a full-partition update,
> therefore provide an example of using a filesystem overlay to preserve
> the /etc and /home locations.
> 
> This example is gated by a configuration knob:
> 
> 	RK_OVERLAY_DEMO
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
> changes since v1:
> - the commit message was updated to identify the locations that the demo
>   will overlay (/etc and /home)
> - the README blurb was updated:
>   - to also indicate which locations will have an overlay in the demo
>   - to indicate the kernel config requirement
>   - to explain options on how to include the root's home directory in
>     the overlay
> - use the standard bitbake variable to place the unit files in the
>   standard systemd system unit file location (/usr/lib/systemd)
> - use RequiresMountsFor as the overlay mount unit's dependency mechanism
> ---
>  README                                        | 50 +++++++++++++++++++
>  conf/machine/include/rockchip-rauc.inc        |  1 +
>  .../systemd/data-partition-overlay_1.0.bb     | 22 ++++++++
>  .../recipes-core/systemd/files/etc.mount      | 12 +++++
>  .../recipes-core/systemd/files/home.mount     | 12 +++++
>  5 files changed, 97 insertions(+)
>  create mode 100644 dynamic-layers/rk-rauc-demo/recipes-core/systemd/data-partition-overlay_1.0.bb
>  create mode 100644 dynamic-layers/rk-rauc-demo/recipes-core/systemd/files/etc.mount
>  create mode 100644 dynamic-layers/rk-rauc-demo/recipes-core/systemd/files/home.mount

Pushed to meta-rockchip, master branch.


      parent reply	other threads:[~2025-12-13  7:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12 18:24 [meta-rockchip][PATCH v2 1/2] provide a filesystem overlay example Trevor Woerner
2025-12-12 18:24 ` [meta-rockchip][PATCH v2 2/2] abd-partition: place unit file in system location Trevor Woerner
2025-12-13  7:11   ` Trevor Woerner
2025-12-12 19:11 ` [yocto-patches] [meta-rockchip][PATCH v2 1/2] provide a filesystem overlay example Quentin Schulz
2025-12-13  7:10 ` Trevor Woerner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251213071018.GA29788@localhost \
    --to=twoerner@gmail.com \
    --cc=yocto-patches@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.