From: Hugo Villeneuve Date: Tue, 29 Oct 2024 17:28:25 +0000 (-0400) Subject: swupdate: add preserve files X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=72639d57112755436d74dacfc9bf5922ded5c764;p=yocto%2Fmeta-hvmpd.git swupdate: add preserve files --- diff --git a/conf/distro/hvmpd.conf b/conf/distro/hvmpd.conf index 6ba2fe1..a3f5fb4 100644 --- a/conf/distro/hvmpd.conf +++ b/conf/distro/hvmpd.conf @@ -48,3 +48,16 @@ WIC_CREATE_EXTRA_ARGS:append = " --no-fstab-update" ALSA_DEVICE_ID ?= "0" SOUND_CARD ?= "default" + +# List of files/folders to preserve between updates: +SWU_PRESERVE_FILES ?= "\ + /root/.bash_history \ + /etc/hostname \ + /etc/localtime \ + /etc/ssh/ssh_host_ecdsa_key \ + /etc/ssh/ssh_host_ecdsa_key.pub \ + /etc/ssh/ssh_host_ed25519_key \ + /etc/ssh/ssh_host_ed25519_key.pub \ + /etc/ssh/ssh_host_rsa_key \ + /etc/ssh/ssh_host_rsa_key.pub \ +"