armbian-next: mvebu.conf::family_tweaks(): small armbian-next'ify for better logging

This commit is contained in:
Ricardo Pardini 2023-01-04 15:53:16 +01:00
parent b8e595aef4
commit 8fa7f36b4f
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -54,11 +54,11 @@ family_tweaks() {
[[ $(type -t family_tweaks_s) == function ]] && family_tweaks_s
# Tweak to force SYS time to be synced from RTC at startup
install -m 755 $SRC/packages/bsp/mvebu/hwclock-set $SDCARD/lib/udev/
run_host_command_logged install -m 755 "${SRC}"/packages/bsp/mvebu/hwclock-set "${SDCARD}"/lib/udev/
if [[ $DISTRIBUTION == "Ubuntu" ]]; then
chroot $SDCARD /bin/bash -c "apt-get -y -qq remove --auto-remove fake-hwclock linux-sound-base alsa-base alsa-utils bluez"
chroot_sdcard_apt_get_remove --auto-remove fake-hwclock linux-sound-base alsa-base alsa-utils bluez
else
chroot $SDCARD /bin/bash -c "apt-get -y -qq remove --auto-remove fake-hwclock alsa-utils bluez"
chroot_sdcard_apt_get_remove --auto-remove fake-hwclock alsa-utils bluez
fi
}