Skip to content

Commit

Permalink
config/rootfs/debos: fix ext4 corrupt images
Browse files Browse the repository at this point in the history
Fix ext4 file system image corruption by adding the postprocess
attribute to the steps that move the image file.

Link: #863
Signed-off-by: Denys Fedoryshchenko <nuclearcat@nuclearcat.com>
  • Loading branch information
nuclearcat authored and gctucker committed Nov 15, 2021
1 parent 1facbcd commit f68edce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/rootfs/debos/rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ actions:
- action: run
description: Move image to output directory
command: mv ${ARTIFACTDIR}/rootfs.ext4 ${ARTIFACTDIR}/{{ $basename -}}/
postprocess: true

- action: run
command: xz -f ${ARTIFACTDIR}/{{ $basename -}}/rootfs.ext4
postprocess: true

- action: run
description: update-initramfs step
Expand Down

0 comments on commit f68edce

Please sign in to comment.