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:05:40 +0200 |
| commit | 8b25f99f49f345b55720f1dc583bd981902191b6 (patch) | |
| tree | 2c8478dd05b946ad19c95aafbd03f91f304d00ec /classes | |
| parent | 534a0ccfc3e37801b4a51cc518c7cf5c5553b6c2 (diff) | |
| download | meta-updater-8b25f99f49f345b55720f1dc583bd981902191b6.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 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/ |
