diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-22 10:37:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-22 12:45:48 +0000 |
commit | dae42c830d8159c8d2b99bc6e1cc42d774ce57cd (patch) | |
tree | 6c26d07775d39cfc57f558db3086d059586feaf7 /main | |
parent | 2c3f6a6f647e7e6dce08acf871a7438ee46fc05a (diff) | |
download | aports-dae42c830d8159c8d2b99bc6e1cc42d774ce57cd.tar.bz2 aports-dae42c830d8159c8d2b99bc6e1cc42d774ce57cd.tar.xz |
main/aports-build: build only netboot and minirootfs for edge releases
Diffstat (limited to 'main')
-rw-r--r-- | main/aports-build/APKBUILD | 6 | ||||
-rw-r--r-- | main/aports-build/aports-build | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD index ea3e0a0d02..68472ed461 100644 --- a/main/aports-build/APKBUILD +++ b/main/aports-build/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=aports-build -pkgver=1.3 -pkgrel=6 +pkgver=1.4 +pkgrel=0 pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux" url="https://alpinelinux.org" arch="noarch" @@ -40,7 +40,7 @@ package() { "$pkgdir"/etc/buildrepo/plugins.d/report-build-errors.lua } -sha512sums="dca1f4dee6b04374f67b244c8851515968d4b0132c265c1982570e3a288b1da10f8d5460ba1470cb334980301f6baab471155d716f4bac13750c4433a1e4066a aports-build +sha512sums="3ecbdb1e8724562f3c4fe07f2b4ee5e5fc2135598a41e1acfb4ba27e9750e3df272c0fb7c9e78823d1408d6e6ddfeec9ac5e0ea540e241ca31f8e86958068e18 aports-build 821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd 62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua" diff --git a/main/aports-build/aports-build b/main/aports-build/aports-build index 5457822584..3d53a817b8 100644 --- a/main/aports-build/aports-build +++ b/main/aports-build/aports-build @@ -70,8 +70,14 @@ create_release() { cd "$aports" abuild-apk add --virtual .alpine-release-deps $release_deps - sh scripts/mkimage.sh --repository $packages/main --yaml \ - --tag "$release" --outdir $releasedir || return 1 + if [ "$rel" = "edge" ]; then + sh scripts/mkimage.sh --repository $packages/main --yaml \ + --tag "$release" --outdir $releasedir --profile "minirootfs netboot" \ + || return 1 + else + sh scripts/mkimage.sh --repository $packages/main --yaml \ + --tag "$release" --outdir $releasedir || return 1 + fi if $use_network; then ssh $upload_host mkdir -p "${upload_iso#${upload_host}:}" |