rootfsinstall: rpi: allow update of running kernel

This commit is contained in:
Silvan Calarco 2021-04-27 00:03:47 +02:00
parent e856dc7951
commit de8deb26fa

View File

@ -612,6 +612,9 @@ dtparam=audio=on" > $BOOTMP/config.txt
# vlls directory: Additional GPU code, e.g. extra codecs.
# Not present in the initial release.
echo "protect_running_kernel=False" >> $ROOTMP/etc/dnf/dnf.conf
sed -i "s|installonly_limit=.*|installonly_limit=1|" $ROOTMP/etc/dnf/dnf.conf
[ "$SWHOME" -a "${SWHOME:0:4}" = "/tmp" ] && rm -rf $SWHOME
elif [ "$TARGETDEVICE" = "cubox" ]; then