pine64-alsa-ucm: fix installation directory
This commit is contained in:
@@ -18,8 +18,13 @@ stdenv.mkDerivation {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/share/alsa
|
mkdir -p $out/share/alsa/ucm2/{Allwinner/A64,Rockchip/rk3399/}
|
||||||
cp -R ucm2 $out/share/alsa/ucm2
|
cp -R ucm2/PinePhone $out/share/alsa/ucm2/Allwinner/A64/
|
||||||
|
cp -R ucm2/PinePhonePro $out/share/alsa/ucm2/Rockchip/rk3399/
|
||||||
|
|
||||||
|
mkdir -p $out/share/alsa/ucm2/conf.d/simple-card
|
||||||
|
ln -s ../../Rockchip/rk3399/PinePhonePro/PinePhonePro.conf $out/share/alsa/ucm2/conf.d/simple-card/PinePhonePro.conf
|
||||||
|
ln -s ../../Allwinner/A64/PinePhone/PinePhone.conf $out/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
Reference in New Issue
Block a user