no swupd state data removing in 1st build stage

During the 1st stage build of multi-stage build, when
run swupd os-install, the swupd state data are saved to
/swupd_state, which will not be copied to the target.
So we do not need to remove swupd state data.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
This commit is contained in:
Liu, Jianjun
2019-07-24 01:03:34 +00:00
committed by Liu, Jianjun
parent 3259d3bab3
commit 8710d447d3
8 changed files with 8 additions and 16 deletions
+1 -2
View File
@@ -15,8 +15,7 @@ RUN source /os-release && \
mkdir /install_root \
&& swupd os-install -V ${VERSION_ID} \
--path /install_root --statedir /swupd-state \
--bundles=httpd --no-boot-update \
&& rm -rf /install_root/var/lib/swupd/*
--bundles=httpd --no-boot-update
# For some Host OS configuration with redirect_dir on,
# extra data are saved on the upper layer when the same