Lines 684-690
Link Here
|
684 |
self.settings["source_path"]+"\nto "+\ |
684 |
self.settings["source_path"]+"\nto "+\ |
685 |
self.settings["chroot_path"]+\ |
685 |
self.settings["chroot_path"]+\ |
686 |
" (This may take some time) ...\n" |
686 |
" (This may take some time) ...\n" |
687 |
unpack_cmd="tar xjpf "+self.settings["source_path"]+" -C "+\ |
687 |
unpack_cmd="tar -I pbzip2 -xpf "+self.settings["source_path"]+" -C "+\ |
688 |
self.settings["chroot_path"] |
688 |
self.settings["chroot_path"] |
689 |
error_msg="Tarball extraction of "+\ |
689 |
error_msg="Tarball extraction of "+\ |
690 |
self.settings["source_path"]+" to "+\ |
690 |
self.settings["source_path"]+" to "+\ |
Lines 695-701
Link Here
|
695 |
self.settings["source_path"]+"\nto "+\ |
695 |
self.settings["source_path"]+"\nto "+\ |
696 |
self.settings["chroot_path"]+\ |
696 |
self.settings["chroot_path"]+\ |
697 |
" (This may take some time) ...\n" |
697 |
" (This may take some time) ...\n" |
698 |
unpack_cmd="tar xjpf "+self.settings["source_path"]+" -C "+\ |
698 |
unpack_cmd="tar -I pbzip2 -xpf "+self.settings["source_path"]+" -C "+\ |
699 |
self.settings["chroot_path"] |
699 |
self.settings["chroot_path"] |
700 |
error_msg="Tarball extraction of "+self.settings["source_path"]+\ |
700 |
error_msg="Tarball extraction of "+self.settings["source_path"]+\ |
701 |
" to "+self.settings["chroot_path"]+" failed." |
701 |
" to "+self.settings["chroot_path"]+" failed." |
Lines 793-799
Link Here
|
793 |
read_from_clst(self.settings["snapshot_cache_path"]+\ |
793 |
read_from_clst(self.settings["snapshot_cache_path"]+\ |
794 |
"catalyst-hash") |
794 |
"catalyst-hash") |
795 |
destdir=self.settings["snapshot_cache_path"] |
795 |
destdir=self.settings["snapshot_cache_path"] |
796 |
unpack_cmd="tar xjpf "+self.settings["snapshot_path"]+" -C "+destdir |
796 |
unpack_cmd="tar -I pbzip2 -xpf "+self.settings["snapshot_path"]+" -C "+destdir |
797 |
unpack_errmsg="Error unpacking snapshot" |
797 |
unpack_errmsg="Error unpacking snapshot" |
798 |
cleanup_msg="Cleaning up invalid snapshot cache at \n\t"+\ |
798 |
cleanup_msg="Cleaning up invalid snapshot cache at \n\t"+\ |
799 |
self.settings["snapshot_cache_path"]+\ |
799 |
self.settings["snapshot_cache_path"]+\ |
Lines 809-815
Link Here
|
809 |
cleanup_errmsg="Error removing existing snapshot directory." |
809 |
cleanup_errmsg="Error removing existing snapshot directory." |
810 |
cleanup_msg=\ |
810 |
cleanup_msg=\ |
811 |
"Cleaning up existing portage tree (This can take a long time)..." |
811 |
"Cleaning up existing portage tree (This can take a long time)..." |
812 |
unpack_cmd="tar xjpf "+self.settings["snapshot_path"]+" -C "+\ |
812 |
unpack_cmd="tar -I pbzip2 -xpf "+self.settings["snapshot_path"]+" -C "+\ |
813 |
self.settings["chroot_path"]+"/usr" |
813 |
self.settings["chroot_path"]+"/usr" |
814 |
unpack_errmsg="Error unpacking snapshot" |
814 |
unpack_errmsg="Error unpacking snapshot" |
815 |
|
815 |
|
Lines 1230-1236
Link Here
|
1230 |
|
1230 |
|
1231 |
print "Creating stage tarball..." |
1231 |
print "Creating stage tarball..." |
1232 |
|
1232 |
|
1233 |
cmd("tar cjpf "+self.settings["target_path"]+" -C "+\ |
1233 |
cmd("tar -I pbzip2 -cpf "+self.settings["target_path"]+" -C "+\ |
1234 |
self.settings["stage_path"]+" .",\ |
1234 |
self.settings["stage_path"]+" .",\ |
1235 |
"Couldn't create stage tarball",env=self.env) |
1235 |
"Couldn't create stage tarball",env=self.env) |
1236 |
|
1236 |
|