diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-05-16 19:29:31 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-05-16 19:29:31 +0000 |
commit | df0edf72b94f3323336222e147c3b4bb4f1c0e2d (patch) | |
tree | 70f4a7ec3fc940d7856074d22c70e74d23231731 | |
parent | aeadd6cb6573d422ef9648af90d257d06934ce67 (diff) | |
download | draklive-df0edf72b94f3323336222e147c3b4bb4f1c0e2d.tar draklive-df0edf72b94f3323336222e147c3b4bb4f1c0e2d.tar.gz draklive-df0edf72b94f3323336222e147c3b4bb4f1c0e2d.tar.bz2 draklive-df0edf72b94f3323336222e147c3b4bb4f1c0e2d.tar.xz draklive-df0edf72b94f3323336222e147c3b4bb4f1c0e2d.zip |
allow to build squashfs with prefix different from chroot
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -187,7 +187,7 @@ my %loop = ( my ($live, $dir) = @_; my $dest = get_builddir($live) . $live->{prefix}{build}{loopbacks} . '/' . $dir->{location}; mkdir_p(dirname($dest)); - my $root = get_system_root($live); + my $root = $dir->{root} || get_system_root($live); my $src = $root . $dir->{build_from}; my $total = directory_usage($src); print "have to process " . int($total/1000000) . " MB\n"; |