[Bug 144845] Re: Need scripting for automatic ubiquity: pre commands

Timothy R. Chavez timothy.chavez at canonical.com
Thu Apr 10 12:48:43 UTC 2014


The bug task for the somerville project has been removed by an automated
script.  This bug has been cloned on that project and is available here:
https://bugs.launchpad.net/bugs/1305846

** No longer affects: somerville

-- 
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/144845

Title:
  Need scripting for automatic ubiquity: pre commands

Status in “casper” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: casper

  Automatic ubiquity needs some scripting hooks for running scripts
  before it starts the install.

  Background:
      There are two circumstances when these scripts will run: 
      A) during a factory install
      B) during a customer re-install

  It is expected that for (A), there will be absolutely no user-
  interaction, everything will be completely automatic.

  For (B), we need to ask the user two questions:
    1) A confirmation question so that the user acknowledges that they will lose all data on the system
    2) A question about if they would like to save the contents of /home (optional, informed by cjwatson that this might not be feasible).

  The expected method of distinguishing between (A) and (B) is that we
  will lay down a flag file during (A), so that it will be detected the
  next run-through and operate in mode (B).

  The current install of Feisty does the question from the console, but
  this is not a requirement for Gutsy. We could easily write a small GTK
  app to throw up a confirmation screen from X, if the scripts are run
  after X is started (This is a better user experience.)

  Requirements:
      The script needs to be able to access files on the hard drive. 
      For mode (B), the script will need to be able to repartition the hard drive (deleting partitions sda3, and sda4.) This can be accomplished by parted, so no special arrangements need to be made to run this before the hdd is mounted (as far as I understand things currently).

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



More information about the foundations-bugs mailing list