From c260b4ac557c52ffb2fdfc7341e8f67dcb7f3b8d Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Thu, 12 Sep 2019 15:43:08 +0100 Subject: [PATCH] Fix bug --- scripts/install_client.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install_client.sh b/scripts/install_client.sh index 6a568dc67..d3f10f9c9 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -80,13 +80,14 @@ find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; find . -type f -exec /bin/sh -c "file {} | grep -q 'shell script' && chmod +x {}" \; find . -type f -exec /bin/sh -c "file {} | grep -q 'public key' && chmod 400 {}" \; + +sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules + cp --preserve=mode -RT . / cd $SCRIPT_DIR rm -rf /tmp/system -sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules - apt-get -y install overlayroot echo overlayroot=\"device:dev=/dev/disk/by-partlabel/01-tmp-system,recurse=0\" >> /etc/overlayroot.conf