summaryrefslogtreecommitdiff
path: root/morphlib/plugins/tarball-systembuilder_plugin.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneded json module importsJavier Jardón2013-01-281-2/+1
|
* Write metadata for the rootfs itself into the rootfsSam Thursfield2012-10-261-0/+1
| | | | | | | | This makes it easier to identify what version of a system we are running. Tests are updated to check inside the contents of the rootfs we created, and the code to mount the rootfs as a loopback device was extracted out into tests.as-root/lib
* Make hardlink paths relativeRichard Maw2012-10-091-0/+3
| | | | | | Symlink paths are not altered, since their paths are relative to where the link is, not the root of the file system, and should be handled by the chunk's creation.
* Use os.path.relpath for fixing paths in tarball system builderRichard Maw2012-10-091-4/+2
|
* Actually construct a tarball for the rootfs-tarball system kind.Daniel Silverstone2012-10-051-0/+15
| | | | | | | | This adds tarball construction for rootfs-tarball. We deliberately choose compression level 1 because it gets us sufficient savings (ca. 60% smaller) while not wasting too much time (roughly 60% more time than uncompressed tar generation).
* python scripts: pep8ize codebaseRichard Maw2012-08-011-9/+8
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Refactor by breaking long expression into twoLars Wirzenius2012-07-261-2/+2
|
* Refactor to get rid of undescriptive variable namesLars Wirzenius2012-07-261-6/+4
|
* Refactor: move kernel artifact creation into base classLars Wirzenius2012-07-261-7/+1
|
* Fix rootfs-tarball to create kernel image on all archesLars Wirzenius2012-07-261-8/+7
| | | | Previously, it was only being created on ARM.
* Don't generate extlinux config for rootfs tarballLars Wirzenius2012-07-261-15/+0
| | | | | | If you want extlinux, use a system-kind that adds it. Just having the config file without actually installing extlinux seems less than useful.
* Move fstab creation into base classLars Wirzenius2012-07-261-13/+1
|
* Move strata unpacking into a base classLars Wirzenius2012-07-261-53/+1
|
* Start a tarball systembuilderLars Wirzenius2012-07-261-0/+161
Also, rename the syslinux-disk builder plugin file to make it clear it's a system builder plugin.