Skip to content

Commit f68edce

Browse files
nuclearcatgctucker
authored andcommitted
config/rootfs/debos: fix ext4 corrupt images
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 <[email protected]>
1 parent 1facbcd commit f68edce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/rootfs/debos/rootfs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,11 @@ actions:
143143
- action: run
144144
description: Move image to output directory
145145
command: mv ${ARTIFACTDIR}/rootfs.ext4 ${ARTIFACTDIR}/{{ $basename -}}/
146+
postprocess: true
146147

147148
- action: run
148149
command: xz -f ${ARTIFACTDIR}/{{ $basename -}}/rootfs.ext4
150+
postprocess: true
149151

150152
- action: run
151153
description: update-initramfs step

0 commit comments

Comments
 (0)