Skip to content

Commit 154e933

Browse files
committed
fix: move delete rootfs in ci to prior to ISO step
Signed-off-by: m2 <[email protected]>
1 parent d363ea4 commit 154e933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ iso-organize extra_kargs: && (process-grub-template extra_kargs)
314314
# Hardcoded on the dmsquash-live source code unless specified otherwise via kargs
315315
# https://github.com/dracut-ng/dracut-ng/blob/0ffc61e536d1193cb837917d6a283dd6094cb06d/modules.d/90dmsquash-live/dmsquash-live-root.sh#L23
316316
cp {{ workdir }}/squashfs.img {{ isoroot }}/LiveOS/squashfs.img
317-
{{ if env('CI', '') != '' { "echo '" + style('warning') + "In CI - Deleting: " + rootfs + "...' " + NORMAL +"; rm -rf " + rootfs } else { '' } }}
318317

319318
# Build the ISO from the compressed image
320319
iso:
321320
#!/usr/bin/env bash
322321
{{ _ci_grouping }}
322+
{{ if env('CI', '') != '' { "echo '" + style('warning') + "In CI - Deleting: " + rootfs + "...' " + NORMAL +"; rm -rf " + rootfs } else { '' } }}
323323
{{ iso_dependencies }}
324324
BUILDER="$(iso_dependencies)"
325325
CMD='set -xeuo pipefail

0 commit comments

Comments
 (0)