Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
signlk
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
landing-teams
qcomlt
migration
signlk
Commits
4e25c5e7
Commit
4e25c5e7
authored
8 years ago
by
Nico Dechesne (Stage)
Browse files
Options
Downloads
Patches
Plain Diff
signlk: do not clean tmpdir in debug mode
Signed-off-by:
Nicolas Dechesne
<
nicolas.dechesne@linaro.org
>
parent
8aab70a2
Branches
64bit
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
signlk.sh
+3
-1
3 additions, 1 deletion
signlk.sh
with
3 additions
and
1 deletion
signlk.sh
+
3
−
1
View file @
4e25c5e7
...
...
@@ -176,6 +176,8 @@ dd if=$ROOT of=$OUTFILE count=$root_file_size bs=1 seek=$[$hash_seg_offset+$mi_h
dd
if
=
$tmpdir
/hashSeg
of
=
$OUTFILE
bs
=
1
skip
=
$[$mi_hdr_size
+
$data_file_size
+
$sig_file_size
+
$atte_file_size
+
$root_file_size
]
seek
=
$[$hash_seg_offset
+
$mi_hdr_size
+
$data_file_size
+
$sig_file_size
+
$atte_file_size
+
$root_file_size
]
2>/dev/null
dd
if
=
$TMPOUTFILE
of
=
$OUTFILE
bs
=
1
skip
=
$[$hash_seg_offset
+
$hash_seg_file_size
]
seek
=
$[$hash_seg_offset
+
$hash_seg_file_size
]
2>/dev/null
rm
-rf
$tmpdir
if
!
[[
$-
=
~ x
]]
;
then
rm
-rf
$tmpdir
fi
echo
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment