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 12:02:33 +0200 |
commit | bfc257df1e74d4ff530636322b916271c6380e4c (patch) | |
tree | df5d22ffc833542660e521b8bca4bfd17fe48d87 /classes | |
parent | 8e0f62a19264d3239d1e857809414d5cb4ef8a63 (diff) | |
download | meta-updater-bfc257df1e74d4ff530636322b916271c6380e4c.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>
Diffstat (limited to 'classes')
-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/ |