* [pve-devel] [PATCH proxmox-offline-mirror] fix #6895: include non-free-firmware in auto-added debian repos
@ 2025-11-05 13:18 Robert Obkircher
2025-11-11 12:16 ` [pve-devel] applied: " Fabian Grünbichler
0 siblings, 1 reply; 2+ messages in thread
From: Robert Obkircher @ 2025-11-05 13:18 UTC (permalink / raw)
To: pve-devel
The bug report pointed out, that manually added Debian repos include
the non-free and non-free-firmware components by default, whereas the
automatically added repos do not include them.
It makes sense to auto-add non-free-firmware to match the behavior of
the installer. However, non-free better remains excluded, because in
this case there is no interactive prompt that allows the user to opt
out of the likely unnecessary component.
Signed-off-by: Robert Obkircher <r.obkircher@proxmox.com>
---
src/bin/proxmox-offline-mirror.rs | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/bin/proxmox-offline-mirror.rs b/src/bin/proxmox-offline-mirror.rs
index 23d64b7..1a752d2 100644
--- a/src/bin/proxmox-offline-mirror.rs
+++ b/src/bin/proxmox-offline-mirror.rs
@@ -368,20 +368,25 @@ fn action_add_mirror(config: &SectionConfigData) -> Result<Vec<MirrorConfig>, Er
let architectures = vec!["amd64".to_string(), "all".to_string()];
if add_debian_repo {
+ let components = if release >= &Release::Bookworm {
+ "main contrib non-free-firmware"
+ } else {
+ "main contrib"
+ };
extra_repos.push(derive_debian_repo(
release,
&DebianVariant::Main,
- "main contrib",
+ components,
)?);
extra_repos.push(derive_debian_repo(
release,
&DebianVariant::Updates,
- "main contrib",
+ components,
)?);
extra_repos.push(derive_debian_repo(
release,
&DebianVariant::Security,
- "main contrib",
+ components,
)?);
}
(
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* [pve-devel] applied: [PATCH proxmox-offline-mirror] fix #6895: include non-free-firmware in auto-added debian repos
2025-11-05 13:18 [pve-devel] [PATCH proxmox-offline-mirror] fix #6895: include non-free-firmware in auto-added debian repos Robert Obkircher
@ 2025-11-11 12:16 ` Fabian Grünbichler
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2025-11-11 12:16 UTC (permalink / raw)
To: pve-devel, Robert Obkircher
On Wed, 05 Nov 2025 14:18:18 +0100, Robert Obkircher wrote:
> The bug report pointed out, that manually added Debian repos include
> the non-free and non-free-firmware components by default, whereas the
> automatically added repos do not include them.
>
> It makes sense to auto-add non-free-firmware to match the behavior of
> the installer. However, non-free better remains excluded, because in
> this case there is no interactive prompt that allows the user to opt
> out of the likely unnecessary component.
>
> [...]
Applied, thanks!
[1/1] fix #6895: include non-free-firmware in auto-added debian repos
commit: b4bbe9ee76b02d5d27cda2203234616cb3ad9515
Best regards,
--
Fabian Grünbichler <f.gruenbichler@proxmox.com>
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-11 12:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-05 13:18 [pve-devel] [PATCH proxmox-offline-mirror] fix #6895: include non-free-firmware in auto-added debian repos Robert Obkircher
2025-11-11 12:16 ` [pve-devel] applied: " Fabian Grünbichler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox