pine64-alsa-ucm: fix installation directory
This commit is contained in:
@@ -18,8 +18,13 @@ stdenv.mkDerivation {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/alsa
|
||||
cp -R ucm2 $out/share/alsa/ucm2
|
||||
mkdir -p $out/share/alsa/ucm2/{Allwinner/A64,Rockchip/rk3399/}
|
||||
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
|
||||
'';
|
||||
|
Reference in New Issue
Block a user