26 lines
915 B
Diff
26 lines
915 B
Diff
From a3c0d6a3fee7958ebfb6f8bc3c70f053be5c3085 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Lebon <jonathan@jlebon.com>
|
|
Date: Sat, 27 May 2023 10:35:12 -0400
|
|
Subject: [PATCH 3/5] lib/deploy: Log case when auto-pruning is hopeless
|
|
|
|
For easier diagnostics.
|
|
---
|
|
src/libostree/ostree-sysroot-deploy.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
|
|
index fbaf83c5..7de6fdf3 100644
|
|
--- a/src/libostree/ostree-sysroot-deploy.c
|
|
+++ b/src/libostree/ostree-sysroot-deploy.c
|
|
@@ -2578,6 +2578,7 @@ auto_early_prune_old_deployments (OstreeSysroot *self, GPtrArray *new_deployment
|
|
{
|
|
/* Even if we auto-pruned, the new bootdirs wouldn't fit. Just let the
|
|
* code continue and let it hit ENOSPC. */
|
|
+ g_printerr ("Disabling auto-prune optimization; insufficient space left in bootfs\n");
|
|
return TRUE;
|
|
}
|
|
|
|
--
|
|
2.40.1
|
|
|