Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
d43136f0
Commit
d43136f0
authored
Nov 22, 2010
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lbu: fix lbu status for encrypted apkovls
http://redmine.alpinelinux.org/issues/480
parent
620ede7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lbu.in
lbu.in
+6
-1
No files found.
lbu.in
View file @
d43136f0
...
...
@@ -140,6 +140,9 @@ unpack_apkovl() {
local
count
=
0
mkdir
-
p
"$dest"
mount_once
"$mnt"
if
[
-
n
"$ENCRYPTION"
];
then
f
=
"$f.$ENCRYPTION"
fi
if
[
! -f "$mnt/$f" ]; then
return
1
fi
...
...
@@ -147,7 +150,6 @@ unpack_apkovl() {
tar
-
C
"$dest"
-
zxf
"$mnt/$f"
return
fi
f
=
"$f.$ENCRYPTION"
check_openssl
while
[
$
count
-
lt
3
];
do
$
OPENSSL
enc
-
d
-$
ENCRYPTION
-
in
"$mnt/$f"
|
tar
\
...
...
@@ -564,7 +566,10 @@ cmd_status() {
unpack_apkovl
"$tmp/a"
#
generate
new
apkovl
and
extract
to
tmpdir
/
b
local
save_encryption
=
"$ENCRYPTION"
ENCRYPTION
=
cmd_package
-
|
tar
-
C
"$tmp/b"
-
zx
ENCRYPTION
=
"$save_encryption"
#
show
files
that
exists
in
a
but
not
in
b
as
deleted
local
f
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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