← Back to team overview

mythbuntu-dev team mailing list archive

[Bug 904482] [NEW] Generate /etc/casper.conf when building a livefs instead of having casper guess the product name at boot time

 

You have been subscribed to a public bug by Mario Limonciello (superm1):

Today's casper (1.295) now uses the product name as the username and
hostname, instead of the hardcoded "ubuntu" we used to have everywhere.

It's doing that by parsing .disk/info at boot time and changing its environment to what it finds in there.
This works fine except that it's then non-trivial for something running in the live environment to know what hostname and username ended up using (well, hostname is pretty easy :)).

Instead, it'd be better to have /etc/casper.conf in the livefs contain
the right HOST and USERNAME, these will then be used by casper
(deprecating the code I added today) and by software running in the live
environment like ubiquity (through its ubiquity.casper module).

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Generate /etc/casper.conf when building a livefs instead of having casper guess the product name at boot time
https://bugs.launchpad.net/bugs/904482
You received this bug notification because you are a member of mythbuntu-dev, which is subscribed to the bug report.