summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-06-16 15:04:36 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-16 15:16:55 +0200
commitb6ca4a967c4a5553df1fa1ecbe749eebf1c3fe55 (patch)
tree3369de05f9c6d39680ccbb14046876a140b0edf6 /scripts/lib
parentaeeec7bd4aa3c350fc8461412f8c73d7bc26755c (diff)
downloadptxdist-b6ca4a967c4a5553df1fa1ecbe749eebf1c3fe55.tar.gz
ptxdist-b6ca4a967c4a5553df1fa1ecbe749eebf1c3fe55.tar.xz
ptxd_make_world_extract: don't call ptxd_bailout while holding a serialization token
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/ptxd_make_world_extract.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_extract.sh b/scripts/lib/ptxd_make_world_extract.sh
index 955c4872b..081e7f5de 100644
--- a/scripts/lib/ptxd_make_world_extract.sh
+++ b/scripts/lib/ptxd_make_world_extract.sh
@@ -69,6 +69,7 @@ extract: pkg_extract_dir=$(ptxd_print_path ${pkg_dir})"
tmpdir="$(mktemp -d "${pkg_dir}.XXXXXX")"
if ! ptxd_make_extract_archive "${pkg_src}" "${tmpdir}"; then
rm -rf "${tmpdir}"
+ ptxd_make_serialize_put
ptxd_bailout "failed to extract '${pkg_src}'."
fi
local depth=$[${pkg_strip_level:=1}+1]