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
bdd2390d
Commit
bdd2390d
authored
Aug 29, 2022
by
Holger Levsen
Browse files
reproducible Debian: fix typo and be more verbose
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
4bdda15e
Changes
1
Show whitespace changes
Inline
Side-by-side
bin/reproducible_debstrap.sh
View file @
bdd2390d
...
@@ -19,6 +19,7 @@ cleanup() {
...
@@ -19,6 +19,7 @@ cleanup() {
# Cleanup the workspace and results directory
# Cleanup the workspace and results directory
for
CLEANUP
in
${
BUILDDIR
}
${
RESULTSDIR
}
;
do
for
CLEANUP
in
${
BUILDDIR
}
${
RESULTSDIR
}
;
do
if
[
!
-z
"
$CLEANUP
"
]
;
then
if
[
!
-z
"
$CLEANUP
"
]
;
then
output_echo
"Removing
${
CLEANUP
}
"
sudo rm
-rf
--one-file-system
${
CLEANUP
}
sudo rm
-rf
--one-file-system
${
CLEANUP
}
fi
fi
done
done
...
@@ -67,7 +68,7 @@ for LOOP in "first" "second" ; do
...
@@ -67,7 +68,7 @@ for LOOP in "first" "second" ; do
done
done
for
FILE
in
/etc/machine-id /var/cache/ldconfig/aux-cache
;
do
for
FILE
in
/etc/machine-id /var/cache/ldconfig/aux-cache
;
do
output_echo
"Warning: modifying
$TOOL
result, deleting unreproducible file
$FILE
because it will be created as needed"
output_echo
"Warning: modifying
$TOOL
result, deleting unreproducible file
$FILE
because it will be created as needed"
sudo rm
-rf
--one-file-system
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
/FILE
sudo rm
-rf
--one-file-system
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
/
$
FILE
done
done
sudo tar
--mtime
=
"@
$SOURCE_DATE_EPOCH
"
--clamp-mtime
-C
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
-cf
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
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
}
...
...
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