diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2019-07-03 14:44:09 +0000 |
---|---|---|
committer | Stéphane Desneux <stephane.desneux@iot.bzh> | 2019-07-07 21:13:20 +0000 |
commit | f8735714d019273bbc17beab1a288aed9291de62 (patch) | |
tree | e724b07da2df8c6835cea7a66929bba4a42c461b /templates/machine/dra7xx-evm/50_local.conf.inc | |
parent | ea174a74a9e3325e07b6daa2f998b40f58981d56 (diff) |
netboot: systemd must mount /tmp and /run
When using netboot, the initrd script mounts /tmp and /run before pivoting on
the new rootfs and then running systemd. As a consequence, systemd doesn't try
to remount /tmp or /run (and the correct smack labels are not applied on /tmp
and /run, leading to many issues).
This patch unmounts /tmp and /run just before running systemd which will
then mount them with correct labels.
Bug-AGL: SPEC-2596
Change-Id: I4cd7b67f04c232a6e48c777fb5fefa6c46f6744a
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'templates/machine/dra7xx-evm/50_local.conf.inc')
0 files changed, 0 insertions, 0 deletions