live-config script is broken in ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
live-config (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
An image created with live-build uses the scripts provided by live-config to configure the image during boot.
But the live-config main script (config.sh) is broken in ubuntu.
Ways to reproduce:
- Boot the newly build image with the noautologin or noxautologin kernel parameters.
What should happen:
- The live-config main script (config.sh) should execute the configuration scripts.
What happens:
- There is an error message about '???-sysvinit' not found and config.sh aborts.
Why it happens:
- The live config package in ubuntu removes the '007-gdm3' and '016-sysvinit' files, necessary for config.sh to run.
Proposed solution:
- It's a small problem that lies in the config.sh script. The noautologin and noxautologin options asks config.sh to NOT execute some scripts (007-gdm3 and 016-sysvinit in this case). But if these scripts are not available, config.sh aborts.
The simple attached patch fixes this config.sh behaviour and makes its script inclusion/exclusion routines much more robust. Please consider it for inclusion. Thank you.
Changed in live-config (Ubuntu): | |
assignee: | Leo Iannacone (l3on) → nobody |
Using live-config-3.0~a22 from Ubuntu Oneiric.
Bug is present in all architectures.