From c85563b3ce97245df668c4b8cee30e667fbd2d6e Mon Sep 17 00:00:00 2001 From: debianpepper Date: Tue, 16 Jan 2024 16:16:10 +0900 Subject: [PATCH] Updated: testing Calamres building Signed-off-by: debianpepper --- iso_configs/hooks/live/0040-set-plymouth | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/iso_configs/hooks/live/0040-set-plymouth b/iso_configs/hooks/live/0040-set-plymouth index 90a811dc..f1f39b9d 100755 --- a/iso_configs/hooks/live/0040-set-plymouth +++ b/iso_configs/hooks/live/0040-set-plymouth @@ -7,3 +7,28 @@ rm -f /etc/alternatives/desktop-theme # Then re-add it ln -s /usr/share/desktop-base/lines-theme /etc/alternatives/desktop-theme + +set -e +# install dependencies use for calamares +apt install \ + qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev \ + cmake python3-pyqt5 qttools5-dev libqt5svg5-dev \ + libyaml-cpp-dev libpolkit-qt5-1-dev libkf5coreaddons-dev \ + qttools5-dev-tools extra-cmake-modules libkf5crash-dev -y + + +# Clone the Calamares installer +git clone https://github.com/calamares/calamares.git /opt/calamares +# change to Calamares +cd /opt/calamares +# Create a folder called build +mkdir build +# Change into the build directory +cd /opt/calamares/build +# Check the make source +cmake .. +# Compile it +make +# Install Calamares +make install +