Public bug reported:
As reported by Gabriel (and Blake)
There is a small [but crippling] bug in:
http://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/curtin/commands/hook.py#L41
that particular join will not have the desired effect. The second parameter must not contain a leading /. or it will become the root path.
>>> import os
>>>
>>> root_p = "/root"
>>> os.path.join(root_p, '/opt/curtin')
'/opt/curtin'
>>> os.path.join(root_p, 'opt/curtin')
'/root/opt/curtin'
** Affects: curtin
Importance: High
Assignee: Scott Moser (smoser)
Status: Fix Committed
** Affects: curtin (Ubuntu)
Importance: High
Status: Triaged
** Also affects: curtin
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to curtin in Ubuntu.
https://bugs.launchpad.net/bugs/1328521
Title:
curtin hook does not execute /opt/curtin/finalize
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions