From 274a7eac0599f259c1328f5bd32f61625bfe989c Mon Sep 17 00:00:00 2001 From: Mateusz Moscicki Date: Thu, 1 Jul 2021 15:52:43 +0200 Subject: [PATCH] Allow access to the progress file This is needed to automatic validation of checkpont & restore procedure. Change-Id: I72f6607b92e6612f06430c6e7a52259053e577f8 --- upgrade/update.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upgrade/update.sh.in b/upgrade/update.sh.in index 4339f95..747b4bc 100755 --- a/upgrade/update.sh.in +++ b/upgrade/update.sh.in @@ -41,6 +41,9 @@ PROGRESS_INIT() mkdir -p ${PROGRESS_DIR} echo "$1" > ${PROGRESS_DIR}/total echo "0" > ${PROGRESS_DIR}/progress + chsmack -a _ ${PROGRESS_DIR} + chsmack -a _ ${PROGRESS_DIR}/total + chsmack -a _ ${PROGRESS_DIR}/progress # if GUI is available, run the GUI if [ -e "/usr/bin/rw-update-ani" ]; then -- 2.7.4