Need scripting for automatic ubiquity: pre commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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).
Related branches
Changed in dell: | |
status: | Confirmed → Fix Released |
Changed in dell: | |
status: | Fix Released → Confirmed |
Changed in dell: | |
status: | Confirmed → Fix Released |
tags: | added: cqa-verified |
Changed in somerville: | |
importance: | Undecided → Critical |
status: | New → Fix Released |
no longer affects: | dell |
Must have for our factory install