aboutsummaryrefslogtreecommitdiff
path: root/scripts/QCOM/21-customize
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/QCOM/21-customize')
-rwxr-xr-xscripts/QCOM/21-customize5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/QCOM/21-customize b/scripts/QCOM/21-customize
index 5d9fe3f..27a216c 100755
--- a/scripts/QCOM/21-customize
+++ b/scripts/QCOM/21-customize
@@ -2,7 +2,7 @@
set -e
cat << EOF > $target/etc/fstab
-/dev/disk/by-partlabel/${ROOTFS_PARTLABEL} / ext4 rw,relatime,data=ordered 0 1
+PARTLABEL=${ROOTFS_PARTLABEL} / ext4 rw,relatime,data=ordered 0 1
EOF
if ifclass INSTALLER; then
@@ -15,6 +15,9 @@ if ifclass INSTALLER; then
EOF
fi
+# Add tsched=0 on module-udev-detect to fix distorted sound
+sed -i "s|^load-module module-udev-detect|load-module module-udev-detect tsched=0|" $target/etc/pulse/default.pa
+
# In case initrd doesn't exist, create it, else update
if [ -f $target/boot/initrd.img-${KVERS} ]
then