summaryrefslogtreecommitdiff
path: root/morphlib/exts/rawdisk.write
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/baserock/james/writeexts_support_jetson'baserock/richardmaw/james/writeexts_support_jetsonRichard Maw2014-08-121-3/+4
|
* deploy: Fix double exception in rawdisk.writeSam Thursfield2014-03-041-1/+2
| | | | | | | If the disk image was not yet created then the os.remove() call fails and the original exception gets lost, causing confusion and sadness. Also print status earlier on failure
* Make parse_autostart() into more general get_environment_boolean()Sam Thursfield2014-03-041-1/+1
| | | | | Also, be more flexible when parsing environment booleans -- convert to lower case and match 0/1 and true/false as well as yes/no.
* deploy: Finish off the Btrfs system layout implementationSam Thursfield2014-03-041-0/+2
| | | | | | | | | | | | | | | The shared state directories defined in writeexts.py (/var, /home etc.) are now separate Btrfs subvolumes that are mounted in place using fstab. There are some warnings on mounting /var and /srv about the mountpoint not being empty. Not yet investigated. If a configure extension has already added / to the fstab, use the device it chose rather than assuming /dev/sda. This is required for the vdaboot.configure extension that we use for OpenStack deployments. Similarly, if a configure extension has added an entry for a state directory in /etc/fstab already, we don't replace it with a /state/xxx directory. That's only done as a default behaviour.
* Deployment failures will now remove the disk imageDan Firth2013-10-141-2/+8
|
* Only upgrade an older extlinux configuration if we want one.Tiago Gomes2013-06-141-1/+2
|
* Set up a symlink to the default system version in rawdisk/kvm/vboxTiago Gomes2013-06-141-1/+9
| | | | | | | deployments Also Change them to use the "default" symlink in the extlinux.conf they create, instead of hardcoding the current system version name
* Use the name factory for the first system version.Tiago Gomes2013-05-231-1/+1
|
* Implement raw disk upgrades.Tiago Gomes2013-05-231-4/+50
| | | | | We perform this by cloning an existing orig directory and then updating the contents using rsync
* Refactor: Add WriteExtension.create_local_system methodLars Wirzenius2013-02-071-18/+3
| | | | | | | | | | This allows code sharing amongst all the places that create a system in a raw disk image. This also adds the creation of a factory-run subvolume, and fixes error messages for errors that happen during a disk image creation. Suggested-By: Richard Maw Suggested-By: Sam Thursfield
* Remove debugging outputLars Wirzenius2013-02-071-6/+0
| | | | Suggested-By: Richard Maw
* Add a write extension for raw disk imagesLars Wirzenius2013-02-061-0/+70