diff options
author | Karel Kočí <cynerd@email.cz> | 2020-09-28 22:17:22 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-09-28 22:17:22 +0200 |
commit | 9f07a980bfe4bf407261e64ec5d77f317e528a7e (patch) | |
tree | 74a44964aebb00c1a4186a9c852444f228c99d2f | |
parent | ddde96199e90583b91c3c116f555ec394f8c6490 (diff) | |
download | alpine-personal-pkgs-9f07a980bfe4bf407261e64ec5d77f317e528a7e.tar.gz alpine-personal-pkgs-9f07a980bfe4bf407261e64ec5d77f317e528a7e.tar.bz2 alpine-personal-pkgs-9f07a980bfe4bf407261e64ec5d77f317e528a7e.zip |
pkgs-root: expand and fix raspberry pi 2
-rw-r--r-- | pkgs-root/APKBUILD | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/pkgs-root/APKBUILD b/pkgs-root/APKBUILD index 4725429..0d61e0b 100644 --- a/pkgs-root/APKBUILD +++ b/pkgs-root/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Karel Kočí <cynerd@email.cz> # Maintainer: Karel Kočí <cynerd@email.cz> pkgname=pkgs-root -pkgver=0.3.14 +pkgver=0.3.15 pkgrel=1 pkgdesc="Personal root package" url="https://git.cynerd.cz/alpine-personal-pkgs/" @@ -12,7 +12,9 @@ options="!check" subpackages=" $pkgname-base:base $pkgname-virtual:virtual + $pkgname-rpi-common:rpi_common $pkgname-rpi:rpi + $pkgname-rpi2:rpi2 $pkgname-rpi-wireless:rpi_wireless $pkgname-mpd:mpd $pkgname-kodi:kodi @@ -29,7 +31,7 @@ base() { depends=" alpine-base personal-repo - acct-cynerd + acct acct-cynerd chrony openssh @@ -41,6 +43,7 @@ base() { util-linux rsync curl file tree findutils vim htop ncdu + parted " mkdir -p "$pkgdir-base" } @@ -54,17 +57,32 @@ virtual() { mkdir -p "$pkgdir-virtual" } -rpi() { +rpi_common() { depends=" $pkgname-base btrfs-progs - linux-rpi raspberrypi-bootloader mesa-dri-vc4 - raspberrypi + raspberrypi raspberrypi-bootloader zram-init-openrc " + mkdir -p "$pkgdir-rpi-common" +} + +rpi() { + depends=" + $pkgname-rpi-common + linux-rpi mesa-dri-vc4 + " mkdir -p "$pkgdir-rpi" } +rpi2() { + depends=" + $pkgname-rpi-common + linux-rpi2 + " + mkdir -p "$pkgdir-rpi2" +} + rpi_wireless() { depends=" $pkgname-rpi @@ -139,7 +157,7 @@ host_public() { host_mpd_home() { depends=" - $pkgname-rpi + $pkgname-rpi2 $pkgname-mpd " mkdir -p "$pkgdir-host-mpd-home" |