two-images: construction reproductible de rocky10 et debian13 par Packer, test de démarrage syonad/two#53
Some checks failed
Tests / check (push) Failing after 39s

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-24 13:53:56 +02:00
commit fe401b9a12
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
18 changed files with 937 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
mapfile -t filesystems < <(findmnt -rno TARGET,FSTYPE -R /mnt | awk '$2 == "ext4" || $2 == "xfs" || $2 == "vfat" { print $1 }')
for fs in "${filesystems[@]}"; do
fstrim -v "${fs}"
done
umount -R /mnt
sync