From de8deb26faec61c93329479b595ec96679c8b9e3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 27 Apr 2021 00:03:47 +0200 Subject: [PATCH] rootfsinstall: rpi: allow update of running kernel --- src/rootfsinstall.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rootfsinstall.sh b/src/rootfsinstall.sh index e15d2fe..13649d3 100755 --- a/src/rootfsinstall.sh +++ b/src/rootfsinstall.sh @@ -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