rootfsinstall: rpi: allow update of running kernel
This commit is contained in:
parent
e856dc7951
commit
de8deb26fa
@ -612,6 +612,9 @@ dtparam=audio=on" > $BOOTMP/config.txt
|
|||||||
# vlls directory: Additional GPU code, e.g. extra codecs.
|
# vlls directory: Additional GPU code, e.g. extra codecs.
|
||||||
# Not present in the initial release.
|
# 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
|
[ "$SWHOME" -a "${SWHOME:0:4}" = "/tmp" ] && rm -rf $SWHOME
|
||||||
|
|
||||||
elif [ "$TARGETDEVICE" = "cubox" ]; then
|
elif [ "$TARGETDEVICE" = "cubox" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user