Generate aports for busybox-static-armhf and -aarch64

...and add generating both aports to the testsuite.
This commit is contained in:
Oliver Smith 2017-07-05 18:24:47 +02:00
parent 4fd1420f09
commit a7beb4a1f7
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
3 changed files with 59 additions and 1 deletions

View File

@ -0,0 +1,29 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen busybox-static-aarch64
pkgname=busybox-static-aarch64
pkgver=1.26.2
pkgrel=8
_arch="aarch64"
_mirror="https://nl.alpinelinux.org/alpine/"
url="http://busybox.net"
license="GPL2"
arch="all"
options="!check !strip"
pkgdesc="Statically linked Busybox for $_arch"
_target="$(arch_to_hostspec $_arch)"
source="
busybox-static-$pkgver-r$pkgrel-$_arch.apk::$_mirror/edge/main/$_arch/busybox-static-$pkgver-r$pkgrel.apk
"
package() {
mkdir -p "$pkgdir/usr/$_target"
cd "$pkgdir/usr/$_target"
tar -xf $srcdir/busybox-static-$pkgver-r$pkgrel-$_arch.apk
rm .PKGINFO .SIGN.*
}
sha512sums="7daaafd1c8a8b6cca2dfc92bd57cb06e5e411027c2d6f7de8af735669b0c2e00c232331e9785f7e1a717fcc182b4e39f1906ee62b64579fa9a29cdff670b1549 busybox-static-1.26.2-r8-aarch64.apk"

View File

@ -0,0 +1,29 @@
# Automatically generated aport, do not edit!
# Generator: pmbootstrap aportgen busybox-static-armhf
pkgname=busybox-static-armhf
pkgver=1.26.2
pkgrel=8
_arch="armhf"
_mirror="https://nl.alpinelinux.org/alpine/"
url="http://busybox.net"
license="GPL2"
arch="all"
options="!check !strip"
pkgdesc="Statically linked Busybox for $_arch"
_target="$(arch_to_hostspec $_arch)"
source="
busybox-static-$pkgver-r$pkgrel-$_arch.apk::$_mirror/edge/main/$_arch/busybox-static-$pkgver-r$pkgrel.apk
"
package() {
mkdir -p "$pkgdir/usr/$_target"
cd "$pkgdir/usr/$_target"
tar -xf $srcdir/busybox-static-$pkgver-r$pkgrel-$_arch.apk
rm .PKGINFO .SIGN.*
}
sha512sums="099c47767ed7f86f6a106afaa8b6e8dc33af4c7c7803d84a576f6640370bc52c995d1a65c5734337882e3452f2c79ebe0809b3120a7582f529f3d036f44c0b65 busybox-static-1.26.2-r8-armhf.apk"

View File

@ -48,7 +48,7 @@ def test_aportgen(args):
pkgnames = []
for arch in pmb.config.build_device_architectures:
# gcc twice, so the output folder already exists -> different code path
for pkgname in ["binutils", "musl", "gcc", "gcc"]:
for pkgname in ["binutils", "musl", "busybox-static", "gcc", "gcc"]:
pkgnames.append(pkgname + "-" + arch)
for pkgname in pkgnames:
pmb.aportgen.generate(args, pkgname)