From 9aa156628bc5fbcbb0ec9d53cc2a4b032867c28c Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 18 Oct 2024 18:32:07 +0200 Subject: [PATCH] prepare a first integration of usody-sanitize in session with cayo we see this just works for Monday --- Makefile | 15 +++++++++++++++ deploy-workbench.sh | 10 +++++++--- workbench-script.py | 13 +++++++++++-- 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index fdc7099..77262c2 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,21 @@ boot_iso_uefi_secureboot: -drive file=deploy/iso/workbench_debug.iso,cache=none,if=virtio,format=raw,index=0,media=disk \ -boot menu=on +test_usody_sanitize: + # TODO adapt settings accordingly for this test + # ERASE=y ./deploy-workbench.sh + # create 3 disks for testing + qemu-img create -f raw test_sanitize_disk1.img 1G + qemu-img create -f raw test_sanitize_disk2.img 1G + qemu-img create -f raw test_sanitize_disk3.img 1G + sudo qemu-system-x86_64 \ + -enable-kvm -m 2G -vga qxl -netdev user,id=wan -device virtio-net,netdev=wan,id=nic1 \ + -drive format=raw,file=iso/workbench_debug.iso,cache=none,if=virtio \ + -drive format=raw,file=test_sanitize_disk1.img,cache=none,if=virtio \ + -drive format=raw,file=test_sanitize_disk2.img,cache=none,if=virtio \ + -drive format=raw,file=test_sanitize_disk3.img,cache=none,if=virtio + + es_gen_po: cp locale/es/LC_MESSAGES/messages.po locale/es/LC_MESSAGES/messages.pot.bak pygettext3 -p locale/es/LC_MESSAGES/ workbench-script.py diff --git a/deploy-workbench.sh b/deploy-workbench.sh index 78d3aaf..bad0c29 100755 --- a/deploy-workbench.sh +++ b/deploy-workbench.sh @@ -264,6 +264,8 @@ prepare_app() { # startup script execution cat > "${ISO_PATH}/chroot/root/.profile" <