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
297b9827
Commit
297b9827
authored
Aug 29, 2022
by
Holger Levsen
Browse files
reproducible Debian: correct tar and sudo syntax for new debootstrap job
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
b2ed852e
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_debstrap.sh
View file @
297b9827
...
@@ -59,7 +59,7 @@ for LOOP in "first" "second" ; do
...
@@ -59,7 +59,7 @@ 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
${
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."
...
...
hosts/common/etc/sudoers.d/jenkins
View file @
297b9827
...
@@ -24,7 +24,7 @@ jenkins ALL= \
...
@@ -24,7 +24,7 @@ jenkins ALL= \
/bin/rm -rf --one-file-system /schroots/*, \
/bin/rm -rf --one-file-system /schroots/*, \
/bin/rm -rf --one-file-system /srv/workspace/pbuilder/*, \
/bin/rm -rf --one-file-system /srv/workspace/pbuilder/*, \
/bin/rm -rf --one-file-system /srv/workspace/live-build*, \
/bin/rm -rf --one-file-system /srv/workspace/live-build*, \
/bin/rm -rf --one-file-system /srv/workspace/
mm
debstrap*, \
/bin/rm -rf --one-file-system /srv/workspace/
*
debstrap*, \
/bin/rm -rf --one-file-system /var/lib/sbuild/build/*, \
/bin/rm -rf --one-file-system /var/lib/sbuild/build/*, \
/bin/rm -rf --one-file-system /var/lib/schroot/union/*, \
/bin/rm -rf --one-file-system /var/lib/schroot/union/*, \
/bin/rm -rf --one-file-system /tmp/*, \
/bin/rm -rf --one-file-system /tmp/*, \
...
...
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