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:04:05 +0200 |
commit | 7621621aa3a37f21200adc4c21f1b9118312735e (patch) | |
tree | be43680187472bef6af7fa57d0bbf1dc2ab6a30c | |
parent | 17347988d63bb265be674e36383504c5c684c2b7 (diff) | |
download | meta-updater-7621621aa3a37f21200adc4c21f1b9118312735e.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/ |