apt key is stored in the wrong place
Bug #1912801 reported by
Igor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After the latest subiquity update which includes the latest curtin, my autoinstallation script stopped working.
After looking at the error log, I found that curtin stores the apt key I provide for my repo in the wrong place. It just puts it in the target's root directory instead of /etc/apt/
It looks like the following commit broke this: https:/
I submitted a PR to fix the issue: https:/
Related branches
~mwhudson/curtin:revert-lp1892494
- Server Team CI bot: Needs Fixing (continuous-integration)
- Ryan Harper (community): Approve
-
Diff: 286 lines (+43/-106)2 files modifiedcurtin/commands/apt_config.py (+10/-14)
tests/unittests/test_apt_source.py (+33/-92)
To post a comment you must log in.
Hi,
Thanks for filing a bug! The github curtin repository is a read-only mirror; at this time fixes to curtin are done through launchpad, instructions for contributing are available here:
https:/ /curtin. readthedocs. io/en/latest/ topics/ hacking. html
Could you provide the portion of your autoinstall script where you specify the key so we can reproduce the issue?
I think the fix looks good; but would like to reproduce and then your fix can also include an update to the unittests to ensure we don't break this workflow again.
Thanks!