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
06f47311
Commit
06f47311
authored
Aug 29, 2022
by
Holger Levsen
Browse files
reproducible Debian: work around two more logfiles kept by debootstrap
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
955cc9ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_debstrap.sh
View file @
06f47311
...
@@ -61,9 +61,9 @@ for LOOP in "first" "second" ; do
...
@@ -61,9 +61,9 @@ 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
}
for
i
in
/var/log/alternatives.log
;
do
for
i
in
/var/log/bootstrap.log /var/log/dpkg.log
/var/log/alternatives.log
;
do
output_echo
"Warning: modifying
$TOOL
result, deleting unreproducible logfile
$LOGFILE
"
output_echo
"Warning: modifying
$TOOL
result, deleting unreproducible logfile
$LOGFILE
"
sudo rm
-rf
--one-file-system
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
/
var/log/alternatives.log
sudo rm
-rf
--one-file-system
$BUILDDIR
/
$SUBDIR
/
${
TOOL
}
/
${
SUITE
}
/
$LOGFILE
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