Merge lp:~corey.bryant/curtin/trunk into lp:~curtin-dev/curtin/trunk
Proposed by
Corey Bryant
Status: | Superseded |
---|---|
Proposed branch: | lp:~corey.bryant/curtin/trunk |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
84 lines (+60/-0) 1 file modified
curtin/commands/install.py (+60/-0) |
To merge this branch: | bzr merge lp:~corey.bryant/curtin/trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
curtin developers | Pending | ||
Review via email:
|
This proposal has been superseded by a proposal from 2014-02-14.
Description of the change
Add kexec support and a minor update to example launch command
Sample usage: curtin install --set "power_
To post a comment you must log in.
Corey,
Thanks for the merge request.
* The 'opt_map' fix seems reasonable. Not the way I had thoght of implementing it, but that should be fine.
The other option is to just not bother rebooting, but have curtin call 'kexec' itself.
As I'm thinking... maybe that would be better. As if you reboot, kexec-tools will load the kernel by reading /boot/grub (or attempt to) in its root filesystem. However, we want to load the one that is in the *installed* OS's filesystem.
* when you use subp, best to not run through 'sh' unless necessary. Ie: args=[' sh', '-c', 'apt-get install kexec-tools -qy']) args=[' apt-get' , 'install', '-qy', 'kexec-tools'])
- util.subp(
+ util.subp(
* I generally prefer long format arguments to programs as they're more self documenting: args=[' apt-get' , 'install', '--quiet', '--assume-yes', 'kexec-tools'])
+ util.subp(
Thanks!