deploy: Ensure boot directory is open before accessing it
authorRogerio Guerra Borin <rogerio.borin@toradex.com>
Tue, 12 Mar 2024 20:02:58 +0000 (17:02 -0300)
committerRogerio Guerra Borin <rogerio.borin@toradex.com>
Tue, 12 Mar 2024 20:29:35 +0000 (17:29 -0300)
commit4efb44f35a099c54b9e2895cea9622a97ab6d638
tree521f29ac414e46d2df88752f5632cf974b1e9ec4
parent223a1af4b537268b3e3decdf763bec0dc196b11d
deploy: Ensure boot directory is open before accessing it

This fixes a bug in the (early) deployment pruning function which before
tried to access the boot directory without opening it first.

Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
src/libostree/ostree-sysroot-deploy.c