[Bug 703959] Re: execscript is run too early
Serge Hallyn
703959 at bugs.launchpad.net
Wed Jan 19 16:55:49 UTC 2011
Indeed, looking at the lucid source, I see that the post_install() calls
the execscripts before the --only-chroot checks, whereas
hypervisor.py:install_os(), which installs the bootloader, gets called
after.
I assume it's there for a reason so don't want to blindly move it.
Would like guidance from Soren: was the intent of execscripts to be
called after full os install, or after initial chroot build? Should a
new --os-execripts or somesuch option be added to allow scripts to be
called after full OS install?
As a workaround you should be able to have the early execscript create
an /etc/default/grub, though I'm not sure whether dpkg would then
require interaction to ask whether to use your existing
/etc/default/grub.
** Changed in: vm-builder (Ubuntu)
Assignee: (unassigned) => Soren Hansen (soren)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
https://bugs.launchpad.net/bugs/703959
Title:
execscript is run too early
More information about the Ubuntu-server-bugs
mailing list