From 8bce8c562c077c0798d98e47c49c33e460e85cfd Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 8 Oct 2012 12:41:52 +0000
Subject: [PATCH] main/alpine-baselayout: blacklist microcode by default

Other option would be to ship intel and amd ucode, but the licenses
are questionable
---
 main/alpine-baselayout/APKBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index aaffe4400ecf..d50f84c4a05b 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=alpine-baselayout
 pkgver=2.2.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Alpine base dir structure and init scripts"
 url=http://git.alpinelinux.org/cgit/alpine-baselayout
 depends=
@@ -29,6 +29,9 @@ package() {
 	make install PREFIX= DESTDIR="$pkgdir" || return 1
 	rm -rf "$pkgdir"/etc/issue "$pkgdir"/usr/share/udhcpc \
 		"$pkgdir"/etc/init.d/vlan
+	
+	# lets blacklist microcode
+	echo "blacklist microcode" > "$pkgdir"/etc/modprobe.d/microcode.conf
 }
 md5sums="225dbf5b50ae6d3d188ff92c5746bc36  alpine-baselayout-2.2.0.tar.bz2
 3e219db536b13811c34e03c9c32229cb  0001-blacklist-viafb-and-e_powersaver.patch"
-- 
GitLab