revert alsa related refactoring
This commit is contained in:
parent
0be9f3e6dd
commit
c9358b443d
@ -53,9 +53,14 @@ fi
|
||||
function pre_customize_image__ayn-odin2_alsa_ucm_conf() {
|
||||
display_alert "Add alsa-ucm-conf for ${BOARD}" "${RELEASE}" "warn"
|
||||
(
|
||||
(
|
||||
cd "${SDCARD}/usr/share/alsa" || exit 6
|
||||
curl -L "https://github.com/AYNTechnologies/alsa-ucm-conf/archive/refs/tags/v1.2.13.tar.gz" | tar xvzf - --strip-components=1
|
||||
)
|
||||
curl -L -o temp.zip "https://github.com/AYNTechnologies/alsa-ucm-conf/archive/refs/heads/ayn/v1.2.13.zip"
|
||||
unzip -o temp.zip
|
||||
unzip_dir=$(unzip -Z1 temp.zip | head -n1 | cut -d/ -f1)
|
||||
cp -rf "${unzip_dir}/"* .
|
||||
rm -rf "$unzip_dir" temp.zip
|
||||
) )
|
||||
}
|
||||
|
||||
function post_family_tweaks_bsp__ayn-odin2_firmware() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user