summaryrefslogtreecommitdiff
path: root/morphlib/stagingarea.py
Commit message (Collapse)AuthorAgeFilesLines
...
* bins: move errno from stagingareaRichard Maw2012-05-151-1/+0
| | | | | This import was forgotten when the artifact extract code was moved into bins, so it could be used in builder
* builder: use the same tar extract logic for all artifactsRichard Maw2012-05-141-82/+2
| | | | | Before only the staging area had symbolic links handled, now strata and systems will have the same logic.
* stagingarea: fix dir detectionRichard Maw2012-04-301-4/+4
|
* Improve artifact extraction logic when overwriting existing stuff on filesystemLars Wirzenius2012-04-301-3/+49
| | | | | | | | | We had a problem where something in the bootstrap would fail because two different chunk artifacts had a path (/tools/lib64) exist as a directory exist as a symlink (to /tools/lib) versus a directory, and morph confusing things. The new logic should handle this better.
* stagingarea: when extracting, clobber outputRichard Maw2012-04-271-0/+3
| | | | | | I really don't like this, but it causes the bootstrap to fail because /bin/bash exists for compatibility and the stratum also creates /bin/bash.
* stagingarea: remove path from chrootRichard Maw2012-04-261-1/+1
| | | | | | | chroot may not be installed to /usr/sbin/chroot, this breaks bootstrap because chroot is installed in /tree/tools/sbin. PATH should be set, so putting the absolute path in should be unnecessary
* Restructure code so coverage is happyLars Wirzenius2012-04-261-8/+7
|
* Monkey patch Python's tarfile.TarFile for proper errors, ignoring overwritesLars Wirzenius2012-04-261-0/+31
|
* Log installed artifacts; do not log shell commandsLars Wirzenius2012-04-251-2/+4
| | | | | The -x to sh didn't actually produce any output to help in my debugging, so I remove it now.
* Fix how we run commands in a chrootLars Wirzenius2012-04-201-1/+2
| | | | | | We'll get back to linux-user-chroot later, but to do that, we need to sort out how we deal with the install-commands without needing real or fake root for them.
* Make StagingArea get temporary directory separately from root directoryLars Wirzenius2012-04-181-6/+4
| | | | | | When we are not using --staging-chroot (e.g., bootstrap), we need to specify the temporary directory separately, because it needs to obey things like $TMPDIR.
* Make StagingArea create build and install directories, run commandsLars Wirzenius2012-04-181-1/+59
|
* Add a class to manage the staging area for buildsLars Wirzenius2012-04-121-0/+60