Small cleanup
This commit is contained in:
parent
7040128e35
commit
55bb4139e7
@ -57,6 +57,6 @@ family_tweaks()
|
||||
{
|
||||
# execute specific tweaks function if present
|
||||
[[ $(type -t family_tweaks_s) == function ]] && family_tweaks_s
|
||||
|
||||
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq remove --auto-remove linux-sound-base alsa-base alsa-utils bluez>/dev/null 2>&1"
|
||||
}
|
||||
|
||||
@ -40,7 +40,6 @@ write_uboot_platform()
|
||||
|
||||
family_tweaks()
|
||||
{
|
||||
|
||||
# enable service installed from BSP
|
||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable odroid-c1-hdmi.service >/dev/null 2>&1"
|
||||
}
|
||||
|
||||
@ -62,8 +62,8 @@ family_tweaks()
|
||||
echo "fdt_file=rk3288-miniarm.dtb" >> $SDCARD/boot/armbianEnv.txt
|
||||
echo "console=ttyS3,115200n8" >> $SDCARD/boot/armbianEnv.txt
|
||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable tinker-bluetooth.service >/dev/null 2>&1"
|
||||
chroot $SDCARD /bin/bash -c "sed -i -e '/#load-module module-alsa-sink/r /usr/local/bin/pulseaudio.txt' /etc/pulse/default.pa >/dev/null 2>&1"
|
||||
chroot $SDCARD /bin/bash -c "rm /usr/local/bin/pulseaudio.txt"
|
||||
sed -i -e '/#load-module module-alsa-sink/r $SDCARD/usr/local/bin/pulseaudio.txt' $SDCARD/etc/pulse/default.pa >/dev/null 2>&1
|
||||
rm -f /usr/local/bin/pulseaudio.txt
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user