Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
9fa8dbf7
Commit
9fa8dbf7
authored
7 years ago
by
Timo Teräs
Browse files
Options
Downloads
Patches
Plain Diff
main/aports-build: add efi release dependencies, modernize
parent
43c03bd3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/aports-build/APKBUILD
+9
-18
9 additions, 18 deletions
main/aports-build/APKBUILD
main/aports-build/aports-build
+2
-1
2 additions, 1 deletion
main/aports-build/aports-build
with
11 additions
and
19 deletions
main/aports-build/APKBUILD
+
9
−
18
View file @
9fa8dbf7
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
aports-build
pkgname
=
aports-build
pkgver
=
1.
1
pkgver
=
1.
2
pkgrel
=
6
pkgrel
=
0
pkgdesc
=
"MQTT based build-on-git-push scripts for Alpine Linux"
pkgdesc
=
"MQTT based build-on-git-push scripts for Alpine Linux"
url
=
"http://alpinelinux.org"
url
=
"http://alpinelinux.org"
arch
=
"noarch"
arch
=
"noarch"
license
=
"GPL2"
license
=
"GPL2"
options
=
"!check"
depends
=
"abuild>2.20.0 mosquitto-clients alpine-sdk mqtt-exec rsync lua-aports
depends
=
"abuild>2.20.0 mosquitto-clients alpine-sdk mqtt-exec rsync lua-aports
lua5.2-cjson lua5.2-mqtt-publish"
lua5.2-cjson lua5.2-mqtt-publish"
depends_dev
=
""
depends_dev
=
""
...
@@ -20,15 +21,6 @@ source="aports-build
...
@@ -20,15 +21,6 @@ source="aports-build
"
"
builddir
=
"
$srcdir
"
builddir
=
"
$srcdir
"
prepare
()
{
local
i
cd
"
$builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
build
()
{
build
()
{
cd
"
$builddir
"
cd
"
$builddir
"
...
@@ -37,19 +29,18 @@ build() {
...
@@ -37,19 +29,18 @@ build() {
package
()
{
package
()
{
cd
"
$builddir
"
cd
"
$builddir
"
install
-Dm755
"
$srcdir
"
/aports-build
\
install
-Dm755
"
$srcdir
"
/aports-build
\
"
$pkgdir
"
/usr/bin/aports-build
||
return
1
"
$pkgdir
"
/usr/bin/aports-build
install
-d
"
$pkgdir
"
/etc/init.d
||
return
1
install
-d
"
$pkgdir
"
/etc/init.d
ln
-s
mqtt-exec
"
$pkgdir
"
/etc/init.d/mqtt-exec.aports-build
||
return
1
ln
-s
mqtt-exec
"
$pkgdir
"
/etc/init.d/mqtt-exec.aports-build
install
-Dm644
"
$srcdir
"
/mqtt-exec.aports-build.confd
\
install
-Dm644
"
$srcdir
"
/mqtt-exec.aports-build.confd
\
"
$pkgdir
"
/etc/conf.d/mqtt-exec.aports-build
||
return
1
"
$pkgdir
"
/etc/conf.d/mqtt-exec.aports-build
install
-Dm644
"
$srcdir
"
/report-build-errors.lua
\
install
-Dm644
"
$srcdir
"
/report-build-errors.lua
\
"
$pkgdir
"
/etc/buildrepo/plugins.d/report-build-errors.lua
\
"
$pkgdir
"
/etc/buildrepo/plugins.d/report-build-errors.lua
||
return
1
}
}
sha512sums
=
"
d0b3547322e0073583c9bcf262c56204940303d7c9512cc7b4bd3182c84db9acbbecfafa28d9a323d013ac91c55ea9bf
c0
9
5f
1098d590e57ae219a55e285bebd
aports-build
sha512sums
=
"
e5fc3d6993f387a21aa73c9c0dc7caefad8f8420fb62044566cd0cb02ca7a65d2b69e8213e97b5d6d
c0
3
5f
ca0e7d31a4c5d3134d066fe1a27bb166cd6e8a1f53
aports-build
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd
62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd
ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua"
ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua"
This diff is collapsed.
Click to expand it.
main/aports-build/aports-build
+
2
−
1
View file @
9fa8dbf7
...
@@ -67,7 +67,8 @@ create_release() {
...
@@ -67,7 +67,8 @@ create_release() {
local
release
=
"
$1
"
local
release
=
"
$1
"
local
release_deps
=
"abuild apk-tools alpine-conf busybox fakeroot xorriso rsync"
local
release_deps
=
"abuild apk-tools alpine-conf busybox fakeroot xorriso rsync"
case
"
$arch
"
in
case
"
$arch
"
in
x86
*
)
release_deps
=
"
$release_deps
syslinux"
;;
aarch64|arm
*
)
release_deps
=
"
$release_deps
mtools grub-efi"
;;
x86
*
)
release_deps
=
"
$release_deps
syslinux mtools grub-efi"
;;
ppc64le
)
release_deps
=
"
$release_deps
grub grub-ieee1275"
;;
ppc64le
)
release_deps
=
"
$release_deps
grub grub-ieee1275"
;;
esac
esac
...
...
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