Skip to content

Commit f9f59b0

Browse files
committed
ENH: Disabling initramfs-tools hooks
Updating the initial RAM filesystem image needed for reboot is not necessary for these transient images
1 parent a228f25 commit f9f59b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ runs:
215215
# locale updates via language-pack-* or localepurge
216216
# Preventing these triggers can save 30–90 seconds per large apt-get block in Ubuntu CI environments.
217217
218+
# prevent initramfs-tools from updating RAM filesystem
219+
# updating the initial RAM filesystem image needed for reboot
220+
# is not necessary for these transient images
221+
export INITRD=No
218222
if [[ ${{ inputs.mandb }} == 'true' ]]; then
219223
STAGE_START_TIME=$(date +%s)
220224
BEFORE=$(getAvailableSpace)

0 commit comments

Comments
 (0)