1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Ignore clock skew in container libc/package builds using make.

It is common for containers to have clock skew so the build process takes care of this issue independently.
This commit is contained in:
David Steele 2017-04-10 17:20:21 -04:00
parent b63ede5614
commit 8546571461
2 changed files with 10 additions and 4 deletions

View File

@ -211,6 +211,10 @@
<release-item>
<p>Update wording for release note sections.</p>
</release-item>
<release-item>
<p>Ignore clock skew in container libc/package builds using make. It is common for containers to have clock skew so the build process takes care of this issue independently.</p>
</release-item>
</release-refactor-list>
</release-doc-list>

View File

@ -457,17 +457,19 @@ eval
($bContainerExists ? "docker exec -i test-build bash -c '" : '') .
"cd ${strBuildPath} && perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none" .
($bContainerExists ? "'" : ''),
{bShowOutputAsync => $bLogDetail});
{bSuppressStdErr => true, bShowOutputAsync => $bLogDetail});
executeTest(
($bContainerExists ? 'docker exec -i test-build ' : '') .
"make -C ${strBuildPath}",
{bSuppressStdErr => true, bShowOutputAsync => $bLogDetail});
executeTest(
($bContainerExists ? 'docker exec -i test-build ' : '') .
"make -C ${strBuildPath} test", {bShowOutputAsync => $bLogDetail});
"make -C ${strBuildPath} test",
{bSuppressStdErr => true, bShowOutputAsync => $bLogDetail});
executeTest(
($bContainerExists ? 'docker exec -i test-build ' : 'sudo ') .
"make -C ${strBuildPath} install", {bShowOutputAsync => $bLogDetail});
"make -C ${strBuildPath} install",
{bSuppressStdErr => true, bShowOutputAsync => $bLogDetail});
if ($bContainerExists)
{
@ -476,7 +478,7 @@ eval
if ($strBuildVM eq $strVmHost)
{
executeTest("sudo make -C ${strBuildPath} install");
executeTest("sudo make -C ${strBuildPath} install", {bSuppressStdErr => true});
# Load the module dynamically
require pgBackRest::LibC;