diff --git a/pkg/de-p1st-gpu-amdgpu/README.md b/pkg/de-p1st-gpu-amdgpu/README.md index 47a3f98..47dc7c8 100644 --- a/pkg/de-p1st-gpu-amdgpu/README.md +++ b/pkg/de-p1st-gpu-amdgpu/README.md @@ -62,7 +62,7 @@ Example output: * archwiki -> AMDGPU#AMDGPU_PRO * archwiki -> AMDGPU_PRO -The amdgpu-pro-installer contains proprietary components for +The `amdgpu-pro-installer` contains proprietary components for AMDGPU (it works on top of AMDGPU). Quote about the opengl part (from archwiki -> AMDGPU): diff --git a/pkg/de-p1st-gpu-amdgpu/mkinitcpio.conf.holoscript b/pkg/de-p1st-gpu-amdgpu/mkinitcpio.conf.holoscript index 51d564f..7e43dcd 100644 --- a/pkg/de-p1st-gpu-amdgpu/mkinitcpio.conf.holoscript +++ b/pkg/de-p1st-gpu-amdgpu/mkinitcpio.conf.holoscript @@ -3,5 +3,7 @@ # stdout: modified config set -e -# add amdgpu to MODULES array +# note: MODULES is also modified by de-p1st-mkinitcpio + +# add to start of MODULES array sed 's|^MODULES=(|MODULES=(amdgpu |' diff --git a/pkg/de-p1st-mkinitcpio/PKGBUILD b/pkg/de-p1st-mkinitcpio/PKGBUILD index e9a3fb1..6dfd9d7 100644 --- a/pkg/de-p1st-mkinitcpio/PKGBUILD +++ b/pkg/de-p1st-mkinitcpio/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=mkinitcpio _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.11 +pkgver=0.0.12 pkgrel=1 pkgdesc="mkinitcpio configuration" arch=('any') diff --git a/pkg/de-p1st-mkinitcpio/mkinitcpio.conf.holoscript b/pkg/de-p1st-mkinitcpio/mkinitcpio.conf.holoscript index 51ee6ef..d88852f 100644 --- a/pkg/de-p1st-mkinitcpio/mkinitcpio.conf.holoscript +++ b/pkg/de-p1st-mkinitcpio/mkinitcpio.conf.holoscript @@ -6,9 +6,6 @@ set -e # save stdin in variable stdin="$(cat)" -# assert MODULES is empty -echo "$stdin" | grep --quiet '^MODULES=()' - # assert HOOKS is as expected echo "$stdin" | grep --quiet '^HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)' @@ -18,7 +15,9 @@ echo "$stdin" | grep --quiet '^HOOKS=(base udev autodetect modconf block filesys # assert lz4 COMPRESSION is uncommented echo "$stdin" | grep --quiet '^#COMPRESSION="lz4"' -# 1) add to MODULES; 2 replace HOOKS; 3) uncomment lz4 COMPRESSION +# note: MODULES is also modified by de-p1st-gpu-* + +# 1) add to start of MODULES array; 2 replace HOOKS; 3) uncomment lz4 COMPRESSION echo "$stdin" | sed ' s|^MODULES=(|MODULES=(crc32c-intel |; s|^#COMPRESSION="lz4".*$|COMPRESSION="lz4"|;