From: Roland Hieber <[email protected]> The images are already removed by 'clean root', so the image packages are built again anyways on the next build. Remove all left-over state for the image packages too, as those files are now useless.
Signed-off-by: Roland Hieber <[email protected]> --- bin/ptxdist | 2 ++ doc/ref_parameter.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ptxdist b/bin/ptxdist index a7be5cb3e..007e496da 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1041,6 +1041,8 @@ clean() { # we want to clean the root dir if [ "${1}" = "root" ]; then echo + echo "${PTXDIST_LOG_PROMPT}cleaning image packages..." + rm -fr -- "${STATEDIR}"/image-* echo "${PTXDIST_LOG_PROMPT}cleaning image directory..." rm -fr -- "${IMAGEDIR}" echo "${PTXDIST_LOG_PROMPT}cleaning root directory..." diff --git a/doc/ref_parameter.inc b/doc/ref_parameter.inc index 4aecb0471..35e689722 100644 --- a/doc/ref_parameter.inc +++ b/doc/ref_parameter.inc @@ -154,7 +154,7 @@ Clean Actions This is a way to start a fresh build cycle. ``clean root`` - this action will only clean the root filesystem + this action will only clean the image packages and the root filesystem directories. All the build directories are left untouched. After using this action, the next ``go`` action will regenerate all opkg archives from the already built packages as well as the root filesystem -- 2.20.1 _______________________________________________ ptxdist mailing list [email protected]
