Public bug reported:

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.

** Affects: live-config (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: config.sh live-boot live-build live-config

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913874

Title:
  live-config script is broken in ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-config/+bug/913874/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to