← Back to issue list

Overlay debconf configuration

View original Github issue

Metadata

Project
imagecraft
Number
#363
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Triaged enhancement requesting a plugin to apply package debconf selections to image overlays, replacing chroot-based override scripts; it remains open and unimplemented.

Suggested action: keep open

Reason: The request is a valid, maintainer-filed enhancement with a concrete use case, and it is marked Status: Triaged and Type: Enhancement. The current plugin registry contains mmdebstrap, snap-preseed, and uc-prepare but no debconf plugin, and no debconf-related implementation commit was found; schema and reconfigure semantics may still need design.

Evaluated by: mr-cal-bot

Impact: 65 Quick Win: 20 Complexity: 58 Confidence: 91 Actionability: 72

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Add a plugin that can set debconf configuration for a package. Essentially, replace override scripts like these: ``` + # Set console-setup codeset to Uni2 + echo "console-setup console-setup/codesetcode string Uni2" | \ + chroot $CRAFT_OVERLAY debconf-set-selections + echo "console-setup console-setup/codeset47 string . Combined - Latin; Slavic Cyrillic; Greek" | \ + chroot $CRAFT_OVERLAY debconf-set-selections + chroot $CRAFT_OVERLAY sed -i -e 's,^CODESET.*,CODESET="Uni2",g' \ + -e 's,^FONTFACE.*,FONTFACE="Fixed",g' \ + /etc/default/console-setup + + # Set grub cloud-style installation for non-interactive grub updates LP: #2054103 + echo "grub-pc grub-efi/cloud_style_installation boolean true" | \ + chroot $CRAFT_OVERLAY debconf-set-selections + echo "grub-pc grub-pc/cloud_style_installation boolean true" | \ + chroot $CRAFT_OVERLAY debconf-set-selections + chroot $CRAFT_OVERLAY dpkg-reconfigure --frontend=noninteractive console-setup ``` ### The problem it solves A big part of images is setting the debconf configuration.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 65
Quick Win: 20
Complexity: 58
Confidence: 91
Actionability: 72
keep open Triaged enhancement requesting a plugin to apply package debconf selections to image overlays, replacing chroot-based override scripts; it remains open and unimplemented.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 21
Complexity: 45
Confidence: 84
Actionability: 68
keep open Feature request (maintainer-filed, triaged Enhancement) to add an Imagecraft plugin that sets debconf configuration for packages, replacing long override scripts that pipe debconf-set-selections/dpkg-reconfigure into $CRAFT_OVERLAY
stealth/space-bunny-alpha
Impact: 52
Quick Win: 20
Complexity: 44
Confidence: 92
Actionability: 70
needs triage Requested package-specific debconf configuration for image overlays to replace manual override scripts; unlabelled, with related Debcraft work noted and scope awaiting triage.
qwen3.6-35b-a3b-mtp-q6
Impact: 45
Quick Win: 20
Staleness: 45
Complexity: 55
Confidence: 65
Support Request: 0
needs triage Feature request to add a debconf configuration plugin for imagecraft, replacing manual override scripts. Untriaged, no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 20
Complexity: 50
Confidence: 85
Support Request: 10
needs triage Feature request to add a plugin for setting debconf configuration in overlays, replacing manual chroot scripts. Currently unlabelled and awaiting maintainer triage.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 40
Confidence: 85
Support Request: 5
needs triage Feature request to add a plugin for setting debconf configuration in the overlay, replacing manual chroot scripts. Freshly opened by a maintainer with one comment referencing related work.

Update history

Date Change
updated

Related work

  • Related To: canonical/debcraft#146 (confidence 96%)

    A maintainer explicitly linked open Debcraft issue #146, which covers package-side debconf configuration scripts rather than applying selections to an image overlay.

Related issues

No related issues found above the similarity threshold.