Re: poudriere jails accidentally broken

From: Olivier Certner <olce_at_freebsd.org>
Date: Thu, 23 May 2024 16:21:26 UTC
Hi,

> Is there a way to re-create the '@clean' without having to rebuild
> all the ports? I realise this is my own idiot fault, and that the answer
> to this is probably "no", but I thought I'd ask here first.

This should work (assuming your poudriere jails are under '/usr/local/poudriere/jails'):

rm /usr/local/poudriere/jails/14S-amd64/.poudriere-snap-clean
zfs snapshot ssd/poudriere/jails/14S-amd64@clean
touch /usr/local/poudriere/jails/14S-amd64/.poudriere-snap-clean

Regards.

-- 
Olivier Certner