diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2020-04-26 14:55:29 +0000 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2020-04-27 07:42:22 +0000 |
commit | 34b1e543c91cfb89c29687c799ac941085d83307 (patch) | |
tree | 8974d19b4b8fd4aa9980ee9172b8afd8b294b62b | |
parent | 88bbedb26e24ec313d7809592e91f351b0f346d5 (diff) | |
download | meta-updater-34b1e543c91cfb89c29687c799ac941085d83307.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 ce9f984..d29d4c4 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -38,9 +38,6 @@ IMAGE_CMD_ostree () { | |||
38 | mkdir sysroot | 38 | mkdir sysroot |
39 | ln -sf sysroot/ostree ostree | 39 | ln -sf sysroot/ostree ostree |
40 | 40 | ||
41 | rm -rf tmp/* | ||
42 | ln -sf sysroot/tmp tmp | ||
43 | |||
44 | mkdir -p usr/rootdirs | 41 | mkdir -p usr/rootdirs |
45 | 42 | ||
46 | mv etc usr/ | 43 | mv etc usr/ |