Browse Source

do clean-up of intermediate files at the end

Outside any specific stages, mostly because stages could potentially
share files.

Changelog: None

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
1.1.x
Mirza Krak 6 years ago
parent
commit
02f4d0a380
  1. 11
      mender-convert

11
mender-convert

@ -409,10 +409,6 @@ do_make_sdimg_raspberrypi3() {
((step++))
set_fstab $device_type
[[ $keep != "-k" ]] && { rm -f $output_dir/boot.vfat\
$output_dir/cmdline.txt $output_dir/config.txt\
$output_dir/rootfs.img; }
return 0
}
@ -460,9 +456,6 @@ do_make_sdimg_qemux86_64() {
((step++))
set_fstab $device_type
[[ $keep != "-k" ]] && { rm -f $output_dir/boot.vfat\
$output_dir/syslinux.cfg $output_dir/rootfs.img; }
return 0
}
@ -885,4 +878,8 @@ case "$1" in
;;
esac
[[ $keep != "-k" ]] && { rm -f $output_dir/boot.vfat \
$output_dir/cmdline.txt $output_dir/config.txt \
$output_dir/syslinux.cfg $output_dir/rootfs.img; }
exit 0

Loading…
Cancel
Save