BSP: Meson64 remove legacy kernel support scripts

We've killed off the C2 legacy kernel, the scripts serve no purpose.
This commit is contained in:
Tony
2018-11-11 22:36:45 -05:00
committed by GitHub
parent 352b2584d2
commit cf2a061d67

View File

@@ -166,19 +166,12 @@ family_tweaks()
{
echo "#Allow ttyAML0 root" >> $SDCARD/etc/securetty
echo "ttyAML0" >> $SDCARD/etc/securetty
# enable service installed from BSP
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable odroid-c2-hdmi.service >/dev/null 2>&1"
}
family_tweaks_bsp()
{
install -m 755 $SRC/packages/bsp/odroid/c2_init.sh $destination/usr/lib/armbian/c2_init.sh
cp $SRC/packages/bsp/odroid/odroid-c2-hdmi.service $destination/lib/systemd/system/
if [[ $BRANCH != default ]]; then
mkdir -p $destination/etc/udev/rules.d
mkdir -p $destination/usr/local/bin
cp $SRC/packages/bsp/rockchip/hdmi.rules $destination/etc/udev/rules.d
install -m 755 $SRC/packages/bsp/rockchip/hdmi-hotplug $destination/usr/local/bin
fi
}