diff options
| author | Stefan Agner <stefan.agner@toradex.com> | 2020-04-26 14:55:29 +0000 |
|---|---|---|
| committer | Laurent Bonnans <laurent.bonnans@here.com> | 2020-06-02 10:12:06 +0200 |
| commit | 52276a4ee4f2e8cd63a186ed8775c8d2f2b18216 (patch) | |
| tree | 298faf09234aeb0aa9d3a00e8c37fe30a232d720 | |
| parent | 1841b99deec9aee37156726c1a895776b0ccf96a (diff) | |
| download | meta-updater-52276a4ee4f2e8cd63a186ed8775c8d2f2b18216.tar.gz | |
image_types_ostree: drop unnecessary tmp handling
The current code clears tmp and then creates a symlink inside it to
/sysroot/tmp:
tmp
└── tmp -> sysroot/tmp
This is likely a mistake and the root tmp should have pointed to
sysroot/tmp. However, since /tmp is mounted as a tmpfs anyways, we can
get rid of all this logic.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| -rw-r--r-- | classes/image_types_ostree.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 533d338..a3eae24 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
| @@ -37,9 +37,6 @@ IMAGE_CMD_ostree () { | |||
| 37 | mkdir sysroot | 37 | mkdir sysroot |
| 38 | ln -sf sysroot/ostree ostree | 38 | ln -sf sysroot/ostree ostree |
| 39 | 39 | ||
| 40 | rm -rf tmp/* | ||
| 41 | ln -sf sysroot/tmp tmp | ||
| 42 | |||
| 43 | mkdir -p usr/rootdirs | 40 | mkdir -p usr/rootdirs |
| 44 | 41 | ||
| 45 | mv etc usr/ | 42 | mv etc usr/ |
