[Bug 907482] Re: Casper options are not honored by the initramfs

Stéphane Graber stgraber at stgraber.org
Wed Oct 3 18:28:43 UTC 2012


** Changed in: casper (Ubuntu)
       Status: New => Fix Committed

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

Title:
  Casper options are not honored by the initramfs

Status in “casper” package in Ubuntu:
  Fix Committed

Bug description:
  When booting a custom CD you should be able to set a number of options
  as listed in the casper man page

  http://manpages.ubuntu.com/manpages/oneiric/man7/casper.7.html

  The ones I am wanting to use are

       hostname=HOSTNAME , userfullname=USERFULLNAME , username=USERNAME
                Those parameters lets you override values read from  the  config
                file.

  The problems are :

  1. If you boot an x/k/ubuntu desktop CD, and use those options,
  hostname=foo username=bar userfullname=foobar , none of those options
  are honored because of the casper scripts in the initramfs >_<

  #1 My preference would obviously be to honor the man pages, it would be nice if casper worked as it should.
  #2 If you do not want to allow these boot options, consider updating the ubuntu man pages. It is frustrating when things do not work according to the man page.

  If you then try to customize the cd
  https://help.ubuntu.com/community/LiveCDCustomization

  2. The casper scripts over write /etc/casper.conf at some point in
  using mksquashfs. So even if I edit /etc/casper.conf it is not
  properly packaged on the resulting iso.

  So the "solution" is to manually unpackage the initramfs and start
  hacking through the customizations to the scripts or build a CD from
  scratch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/907482/+subscriptions




More information about the foundations-bugs mailing list