[Bug 1672436] Re: Add an official hook API
Launchpad Bug Tracker
1672436 at bugs.launchpad.net
Fri Dec 8 10:41:08 UTC 2017
This bug was fixed in the package ubuntu-image - 1.3+18.04ubuntu1
---------------
ubuntu-image (1.3+18.04ubuntu1) bionic; urgency=medium
* Remove the snapcraft dependency by moving the gadget tree priming step away
from ubuntu-image. (LP: #1734655)
* Add support for defining the livecd-rootfs configuration path through
an environment variable. (LP: #1734949)
-- Ćukasz 'sil2100' Zemczak <lukasz.zemczak at ubuntu.com> Mon, 27 Nov
2017 11:12:08 +0100
** Changed in: ubuntu-image (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/1672436
Title:
Add an official hook API
Status in Ubuntu Image:
Fix Committed
Status in ubuntu-image package in Ubuntu:
Fix Released
Bug description:
Currently, to hook into the u-i build process, you have to use the
--thru, --until, and --resume options to temporarily stop the state
machine, do some out-of-band tweaking, and then resume the state
machine to produce the image. While darn handy, and a very useful
debugging/testing feature, these options are very problematic for
production.
State machine method names and indexes are *not* considered part of
the public API so I make no guarantees they won't change, even though
I try not to change them arbitrarily.
What we need instead is a collection of official build-process hooks
and a mechanism for users to invoke them. Such hooks *would* be part
of the public API, with the expected backward compatibility and
stability guarantees.
We need to do two things: first, we need to identify the possible hook
points where users of u-i might want to modify the image content, etc.
They probably will not be as numerous as the number of state machine
steps. Second, we need to identify a machinery for actually
specifying, locating, and running the hooks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1672436/+subscriptions
More information about the foundations-bugs
mailing list