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
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
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
abuild
Commits
c2a0126e
Commit
c2a0126e
authored
Jul 23, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: remove broken links in abuild temp repo. sign the control.tar.gz
parent
ac09f449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
abuild.in
abuild.in
+11
-5
No files found.
abuild.in
View file @
c2a0126e
...
...
@@ -453,6 +453,7 @@ create_apks() {
cd
"
$dir
"
tar
-c
$(
cat
"
$dir
"
/.metafiles
)
| abuild-tar
--cut
\
|
gzip
-9
>
control.tar.gz
abuild-sign
-q
control.tar.gz
||
exit
1
# create the final apk
cat
control.tar.gz data.tar.gz
>
"
$PKGDEST
"
/
$apk
...
...
@@ -466,17 +467,23 @@ apkcache() {
fi
local
apk
mkdir
-p
"
$apkcache
"
||
return
1
set
--
cd
"
$apkcache
"
# remove broken links
for
apk
in
*
.apk
;
do
if
[
-L
"
$apk
"
]
&&
[
!
-f
"
$apk
"
]
;
then
rm
-f
"
$apk
"
fi
done
# create links for this package
for
apk
in
$(
listpkg
)
;
do
ln
-sf
"
$PKGDEST
"
/
$apk
"
$apkcache
"
/
$apk
done
# update the apkcache cache here
msg
"Updating the cached abuild repository index..."
(
local
sign
=
".SIGN.RSA.
${
SIGN_PUBLIC_KEY
##*/
}
"
local
oldindex
=
cd
"
$apkcache
"
if
[
-f
APKINDEX.tar.gz
]
;
then
oldindex
=
"--index APKINDEX.tar.gz"
fi
...
...
@@ -484,7 +491,6 @@ apkcache() {
msg
"Signing the index..."
abuild-sign
-q
APKINDEX.tar.gz.unsigned
||
exit
1
mv
APKINDEX.tar.gz.unsigned APKINDEX.tar.gz
)
}
# predefined splitfunc doc
...
...
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