From c09e6bcab69023ae1a94847d8d5525aa8b33575b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Tue, 8 Nov 2022 12:38:11 +0100 Subject: [PATCH] Error triggered when changing BSP package (#4394) --- lib/functions/bsp/bsp-cli.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/functions/bsp/bsp-cli.sh b/lib/functions/bsp/bsp-cli.sh index c3a1ec0a9e..504f3efd05 100644 --- a/lib/functions/bsp/bsp-cli.sh +++ b/lib/functions/bsp/bsp-cli.sh @@ -249,8 +249,11 @@ create_board_package() { # won't recreate files if they were removed by user # TODO: Add proper handling for updated conffiles - #cat <<-EOF > "${destination}"/DEBIAN/conffiles - #EOF + # We are runing this script each time apt runs. If this package is removed, file is removed and error is triggered. + # Keeping armbian-apt-updates as a configuration, solve the problem + cat <<-EOF > "${destination}"/DEBIAN/conffiles + /usr/lib/armbian/armbian-apt-updates + EOF # copy common files from a premade directory structure rsync -a ${SRC}/packages/bsp/common/* ${destination}