From 72639d57112755436d74dacfc9bf5922ded5c764 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 29 Oct 2024 13:28:25 -0400 Subject: [PATCH] swupdate: add preserve files --- conf/distro/hvmpd.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 \ +" -- 2.20.1