1 |
On Thu, May 21, 2020 at 10:34 AM Daniel Cordero <gentoo.catalyst@××××.ws> wrote: |
2 |
> |
3 |
> From: Daniel Cordero <catalyst@××××.io> |
4 |
> |
5 |
> When using a merge subpath (e.g. the embedded target's /tmp/mergeroot), |
6 |
> root_overlay() copies the overlay into the seed stage, rather than the subpath. |
7 |
> |
8 |
> Copy the files into destpath. When not using a subpath, destpath equals |
9 |
> chroot_path (so other stages are not affected). |
10 |
> --- |
11 |
> This is unpacked after the build. I don't see any possible reason why the |
12 |
> embedded target would need customisations after this point, and it |
13 |
> didn't match the behaviour of e.g. stage4/root_overlay. |
14 |
> |
15 |
> catalyst/base/stagebase.py | 2 +- |
16 |
> 1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
> |
18 |
> diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
19 |
> index ed9bb697..67c2d3e3 100644 |
20 |
> --- a/catalyst/base/stagebase.py |
21 |
> +++ b/catalyst/base/stagebase.py |
22 |
> @@ -841,7 +841,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
23 |
> "/root_overlay"]: |
24 |
> if os.path.exists(x): |
25 |
> log.info('Copying root_overlay: %s', x) |
26 |
> - cmd(['rsync', '-a', x + '/', self.settings['chroot_path']], |
27 |
> + cmd(['rsync', '-a', x + '/', self.settings['destpath']], |
28 |
> env=self.env) |
29 |
> |
30 |
> def bind(self): |
31 |
> -- |
32 |
> 2.26.2 |
33 |
|
34 |
Makes sense to me. Thanks! |