← Back to issue list

Overlay debconf configuration

View original Github issue

Metadata

Project
imagecraft
Number
#363
Type
issue
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Feature request to add a debconf configuration plugin for imagecraft, replacing manual override scripts. Untriaged, no maintainer response.

Suggested action: needs triage

Reason: This is a feature request with no labels, no maintainer response, and no assignee after 72 days. The author provided clear motivation (replacing manual override scripts) and referenced a related debcraft#146 issue about debconf config support. It needs maintainer assessment to determine scope, priority, and whether it belongs in imagecraft or debcraft.

Impact: 45 Quick Win: 20.25 Staleness: 45 Complexity: 55 Confidence: 65 Support Request: 0

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
qwen3.6-35b-a3b-mtp-q6
Impact: 45
Quick Win: 20.25
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 45
Confidence: 90
Support Request: 10
needs triage Feature request to add a plugin for configuring debconf settings in overlays, replacing manual chroot scripts. Currently unlabelled and awaiting maintainer triage.

Update history

No update history recorded yet.

Related work

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

    The issue body explicitly references this debcraft issue about debconf config support, noting it would be 'more about defining the configuration than modifying it'.

Related issues

Issue Project State Summary Similarity
#146 [Feature] Add support for debconf config script debcraft open Feature request for debconf config/templates deployment in debcraft. Triaged (Jira DEBCRAFT-67), and the core functionality has since been implemented via merged installdebconf helper PRs #156 and #162. No activity for about 4 months.
78%