зеркало из https://github.com/mozilla/gecko-dev.git
bug 316548 - Use bzip2 compression for linux installers, r=chase sr=bsmedberg
This commit is contained in:
Родитель
10ce46bcd5
Коммит
647a4edc1c
|
@ -35,7 +35,7 @@ sub BuildPlatformInstaller
|
||||||
rename ("$instRoot/mozilla-installer", "$instRoot/$mainExe-installer");
|
rename ("$instRoot/mozilla-installer", "$instRoot/$mainExe-installer");
|
||||||
rename ("$instRoot/mozilla-installer-bin", "$instRoot/$mainExe-installer-bin");
|
rename ("$instRoot/mozilla-installer-bin", "$instRoot/$mainExe-installer-bin");
|
||||||
|
|
||||||
system ("cd $gDirDistInstall/sea && tar -zcv --owner=0 --group=0 --numeric-owner --mode='go-w' -f $seiFileNameSpecific.tar.gz $mainExe-installer");
|
system ("cd $gDirDistInstall/sea && tar -jcv --owner=0 --group=0 --numeric-owner --mode='go-w' -f $seiFileNameSpecific.tar.bz2 $mainExe-installer");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ chdir("$RAW/..");
|
||||||
system("mv $RAW $ROOT/$SUBDIR");
|
system("mv $RAW $ROOT/$SUBDIR");
|
||||||
system("tar cvf $STUB/$aStubName.tar ./$SUBDIR/$aMozAppName-installer ./$SUBDIR/$aMozAppName-installer-bin ./$SUBDIR/installer.ini ./$SUBDIR/README ./$SUBDIR/config.ini ./$SUBDIR/MPL-1.1.txt");
|
system("tar cvf $STUB/$aStubName.tar ./$SUBDIR/$aMozAppName-installer ./$SUBDIR/$aMozAppName-installer-bin ./$SUBDIR/installer.ini ./$SUBDIR/README ./$SUBDIR/config.ini ./$SUBDIR/MPL-1.1.txt");
|
||||||
system("mv $ROOT/$SUBDIR $RAW");
|
system("mv $ROOT/$SUBDIR $RAW");
|
||||||
system("gzip $STUB/$aStubName.tar");
|
system("bzip2 $STUB/$aStubName.tar");
|
||||||
spew("Completed creating stub installer tarball");
|
spew("Completed creating stub installer tarball");
|
||||||
|
|
||||||
#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license,
|
#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license,
|
||||||
|
@ -174,7 +174,7 @@ spew("Creating blob (aka full or sea) installer tarball...");
|
||||||
system("mv $RAW $ROOT/$SUBDIR");
|
system("mv $RAW $ROOT/$SUBDIR");
|
||||||
system("tar cvf $BLOB/$aBlobName.tar ./$SUBDIR/");
|
system("tar cvf $BLOB/$aBlobName.tar ./$SUBDIR/");
|
||||||
system("mv $ROOT/$SUBDIR $RAW");
|
system("mv $ROOT/$SUBDIR $RAW");
|
||||||
system("gzip $BLOB/$aBlobName.tar");
|
system("bzip2 $BLOB/$aBlobName.tar");
|
||||||
spew("Completed creating blob (aka full or sea) installer tarball");
|
spew("Completed creating blob (aka full or sea) installer tarball");
|
||||||
chdir($_orig);
|
chdir($_orig);
|
||||||
|
|
||||||
|
|
|
@ -203,7 +203,7 @@ chdir("$RAW/..");
|
||||||
system("mv $RAW $ROOT/$SUBDIR");
|
system("mv $RAW $ROOT/$SUBDIR");
|
||||||
system($create_tar . "$STUB/$aStubName.tar ./$SUBDIR/$aMozAppName-installer ./$SUBDIR/$aMozAppName-installer-bin ./$SUBDIR/installer.ini ./$SUBDIR/README ./$SUBDIR/config.ini ./$SUBDIR/MPL-1.1.txt");
|
system($create_tar . "$STUB/$aStubName.tar ./$SUBDIR/$aMozAppName-installer ./$SUBDIR/$aMozAppName-installer-bin ./$SUBDIR/installer.ini ./$SUBDIR/README ./$SUBDIR/config.ini ./$SUBDIR/MPL-1.1.txt");
|
||||||
system("mv $ROOT/$SUBDIR $RAW");
|
system("mv $ROOT/$SUBDIR $RAW");
|
||||||
system("gzip $STUB/$aStubName.tar");
|
system("bzip2 $STUB/$aStubName.tar");
|
||||||
spew("Completed creating stub installer tarball");
|
spew("Completed creating stub installer tarball");
|
||||||
|
|
||||||
#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license,
|
#// tar and gzip mozilla-installer, mozilla-installer-bin, README, license,
|
||||||
|
@ -212,7 +212,7 @@ spew("Creating blob (aka full or sea) installer tarball...");
|
||||||
system("mv $RAW $ROOT/$SUBDIR");
|
system("mv $RAW $ROOT/$SUBDIR");
|
||||||
system($create_tar . "$BLOB/$aBlobName.tar ./$SUBDIR/");
|
system($create_tar . "$BLOB/$aBlobName.tar ./$SUBDIR/");
|
||||||
system("mv $ROOT/$SUBDIR $RAW");
|
system("mv $ROOT/$SUBDIR $RAW");
|
||||||
system("gzip $BLOB/$aBlobName.tar");
|
system("bzip2 $BLOB/$aBlobName.tar");
|
||||||
spew("Completed creating blob (aka full or sea) installer tarball");
|
spew("Completed creating blob (aka full or sea) installer tarball");
|
||||||
chdir($_orig);
|
chdir($_orig);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче