aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaos <haos.engine@gmail.com>2015-10-29 09:17:47 +0100
committerChaos <haos.engine@gmail.com>2015-10-29 09:17:47 +0100
commitb8a554c597e0e83ba13a5913afe5df66233a3f9e (patch)
tree9b73bbf811b44fecd84082e2c32a6137484ee71c
parentadded SHA512 stage3 verification (diff)
downloaddocker-images-b8a554c597e0e83ba13a5913afe5df66233a3f9e.tar.gz
docker-images-b8a554c597e0e83ba13a5913afe5df66233a3f9e.tar.bz2
docker-images-b8a554c597e0e83ba13a5913afe5df66233a3f9e.zip
removed unnecessary comments
-rwxr-xr-xamd64-hardened-nomultilib/build.sh3
-rwxr-xr-xamd64-hardened/build.sh3
-rwxr-xr-xamd64-nomultilib/build.sh3
-rwxr-xr-xamd64/build.sh3
-rwxr-xr-xx86/build.sh3
5 files changed, 0 insertions, 15 deletions
diff --git a/amd64-hardened-nomultilib/build.sh b/amd64-hardened-nomultilib/build.sh
index 83bbbed..cbe178b 100755
--- a/amd64-hardened-nomultilib/build.sh
+++ b/amd64-hardened-nomultilib/build.sh
@@ -1,11 +1,8 @@
# First param is package tarball, 2nd is the *.DIGEST file
VerifyShaOfStage3()
{
- #echo $1 $2
- #ls -l $1 $2
test_sum=$(awk -v myvar="$1" '$2==myvar {for(i=1; i<=1; i++) { print $1; exit}}' $2)
calculated_sum=$(sha512sum $1 | awk '{print $1}' -)
- #echo aaaa $test_sum bbb $calculated_sum
if [[ "$test_sum" == "$calculated_sum" ]]; then
return 0
else
diff --git a/amd64-hardened/build.sh b/amd64-hardened/build.sh
index 83bbbed..cbe178b 100755
--- a/amd64-hardened/build.sh
+++ b/amd64-hardened/build.sh
@@ -1,11 +1,8 @@
# First param is package tarball, 2nd is the *.DIGEST file
VerifyShaOfStage3()
{
- #echo $1 $2
- #ls -l $1 $2
test_sum=$(awk -v myvar="$1" '$2==myvar {for(i=1; i<=1; i++) { print $1; exit}}' $2)
calculated_sum=$(sha512sum $1 | awk '{print $1}' -)
- #echo aaaa $test_sum bbb $calculated_sum
if [[ "$test_sum" == "$calculated_sum" ]]; then
return 0
else
diff --git a/amd64-nomultilib/build.sh b/amd64-nomultilib/build.sh
index 83bbbed..cbe178b 100755
--- a/amd64-nomultilib/build.sh
+++ b/amd64-nomultilib/build.sh
@@ -1,11 +1,8 @@
# First param is package tarball, 2nd is the *.DIGEST file
VerifyShaOfStage3()
{
- #echo $1 $2
- #ls -l $1 $2
test_sum=$(awk -v myvar="$1" '$2==myvar {for(i=1; i<=1; i++) { print $1; exit}}' $2)
calculated_sum=$(sha512sum $1 | awk '{print $1}' -)
- #echo aaaa $test_sum bbb $calculated_sum
if [[ "$test_sum" == "$calculated_sum" ]]; then
return 0
else
diff --git a/amd64/build.sh b/amd64/build.sh
index 83bbbed..cbe178b 100755
--- a/amd64/build.sh
+++ b/amd64/build.sh
@@ -1,11 +1,8 @@
# First param is package tarball, 2nd is the *.DIGEST file
VerifyShaOfStage3()
{
- #echo $1 $2
- #ls -l $1 $2
test_sum=$(awk -v myvar="$1" '$2==myvar {for(i=1; i<=1; i++) { print $1; exit}}' $2)
calculated_sum=$(sha512sum $1 | awk '{print $1}' -)
- #echo aaaa $test_sum bbb $calculated_sum
if [[ "$test_sum" == "$calculated_sum" ]]; then
return 0
else
diff --git a/x86/build.sh b/x86/build.sh
index afe95fc..6841875 100755
--- a/x86/build.sh
+++ b/x86/build.sh
@@ -1,11 +1,8 @@
# First param is package tarball, 2nd is the *.DIGEST file
VerifyShaOfStage3()
{
- #echo $1 $2
- #ls -l $1 $2
test_sum=$(awk -v myvar="$1" '$2==myvar {for(i=1; i<=1; i++) { print $1; exit}}' $2)
calculated_sum=$(sha512sum $1 | awk '{print $1}' -)
- #echo aaaa $test_sum bbb $calculated_sum
if [[ "$test_sum" == "$calculated_sum" ]]; then
return 0
else