Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
3a1cff29
Commit
3a1cff29
authored
Aug 29, 2022
by
Holger Levsen
Browse files
reproducible Debian: mv debootstrap tar archive to the expected location
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
bf292af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_debstrap.sh
View file @
3a1cff29
...
@@ -58,19 +58,19 @@ for LOOP in "first" "second" ; do
...
@@ -58,19 +58,19 @@ for LOOP in "first" "second" ; do
mmdebstrap
)
sudo
$REALTOOL
$SUITE
>
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
.tar
mmdebstrap
)
sudo
$REALTOOL
$SUITE
>
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
.tar
;;
;;
debootstrap
)
sudo
$REALTOOL
$SUITE
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
debootstrap
)
sudo
$REALTOOL
$SUITE
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
sudo tar
--mtime
=
"@
$SOURCE_DATE_EPOCH
"
--clamp-mtime
-C
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
-cf
${
SUITE
}
.tar
${
SUITE
}
sudo tar
--mtime
=
"@
$SOURCE_DATE_EPOCH
"
--clamp-mtime
-C
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
-cf
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
.tar
${
SUITE
}
sudo rm
-rf
--one-file-system
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
sudo rm
-rf
--one-file-system
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
;;
;;
*
)
echo
"Failure:
${
TOOL
}
is unsupported."
*
)
echo
"Failure:
${
TOOL
}
is unsupported."
exit
1
exit
1
;;
;;
esac
esac
mv
$BUILDDIR
/
$SUBDIR
$RESULTSDIR
/ 1>/dev/null
done
done
output_echo
"Done running
${
TOOL
}
twice."
output_echo
"Done running
${
TOOL
}
twice."
# show sha256sum results
# show sha256sum results
mv
$BUILDDIR
/b1
$BUILDDIR
/b2
$RESULTSDIR
/ 1>/dev/null
sha256sum
$RESULTSDIR
/b1/
${
TOOL
}
/
${
SUITE
}
.tar
$RESULTSDIR
/b2/
${
TOOL
}
/
${
SUITE
}
.tar
sha256sum
$RESULTSDIR
/b1/
${
TOOL
}
/
${
SUITE
}
.tar
$RESULTSDIR
/b2/
${
TOOL
}
/
${
SUITE
}
.tar
# show human readable results
# show human readable results
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment