aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2018-06-25 15:45:41 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-06-25 15:45:41 +0000
commitfa980e8f2ed77d48a51e1df9c94e8501f5a1e89a (patch)
tree97452f0510cd7b8e0a176ab963d80d0f8be2ba46
parent1fe29f1b7520cac22a3622c7e7f1d2112587f467 (diff)
downloadaports-fa980e8f2ed77d48a51e1df9c94e8501f5a1e89a.tar.gz
aports-fa980e8f2ed77d48a51e1df9c94e8501f5a1e89a.tar.bz2
aports-fa980e8f2ed77d48a51e1df9c94e8501f5a1e89a.tar.xz
main/mkinitfs: add vc4 to kms for rpi
-rw-r--r--main/mkinitfs/0001-features-add-vc4-to-kms-for-rpi.patch21
-rw-r--r--main/mkinitfs/APKBUILD8
2 files changed, 26 insertions, 3 deletions
diff --git a/main/mkinitfs/0001-features-add-vc4-to-kms-for-rpi.patch b/main/mkinitfs/0001-features-add-vc4-to-kms-for-rpi.patch
new file mode 100644
index 00000000000..367370f49ec
--- /dev/null
+++ b/main/mkinitfs/0001-features-add-vc4-to-kms-for-rpi.patch
@@ -0,0 +1,21 @@
+From ace78b7225286039bf89aaae86a02b653a8ef64d Mon Sep 17 00:00:00 2001
+From: Carlo Landmeter <clandmeter@alpinelinux.org>
+Date: Mon, 25 Jun 2018 15:25:02 +0000
+Subject: [PATCH] features: add vc4 to kms for rpi
+
+---
+ features.d/kms.modules | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/features.d/kms.modules b/features.d/kms.modules
+index 8806aab..b62e75b 100644
+--- a/features.d/kms.modules
++++ b/features.d/kms.modules
+@@ -3,3 +3,4 @@ kernel/drivers/gpu
+ kernel/drivers/i2c
+ kernel/drivers/video
+ kernel/arch/x86/video/fbdev.ko
++kernel/drivers/gpu/drm/vc4/vc4.ko
+--
+2.18.0
+
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 4362c2ff565..5be902c012d 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -2,7 +2,7 @@
pkgname=mkinitfs
pkgver=3.3.0
_ver=${pkgver%_git*}
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url="https://git.alpinelinux.org/cgit/mkinitfs"
arch="all"
@@ -15,7 +15,8 @@ makedepends="$makedepends_build $makedepends_host"
depends="busybox>=1.28.2-r1 apk-tools>=2.9.1 lddtree>=1.25"
install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade"
triggers="$pkgname.trigger=/usr/share/kernel/*"
-source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz"
+source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz
+ 0001-features-add-vc4-to-kms-for-rpi.patch"
builddir="$srcdir/$pkgname-$_ver"
build() {
@@ -28,4 +29,5 @@ package() {
make install DESTDIR="$pkgdir"
}
-sha512sums="dbbb97fda1c2febe5fc226072232ffeb69c03fb9173c0434d5cecc6e4fda2e62a1f725a3083d1bedc2397cbf3b95ce28628788d70b4440902ee3648db738c2c9 mkinitfs-3.3.0.tar.xz"
+sha512sums="dbbb97fda1c2febe5fc226072232ffeb69c03fb9173c0434d5cecc6e4fda2e62a1f725a3083d1bedc2397cbf3b95ce28628788d70b4440902ee3648db738c2c9 mkinitfs-3.3.0.tar.xz
+f1f5de4b5825ab221f7f929bf36e121217f34f36cfdec153ceb829f0fad6f63ea057239aa84690792f6d701d350d2dca375fcf91e05862394f8aaa0181a1ed58 0001-features-add-vc4-to-kms-for-rpi.patch"