Testing: Calamares compile

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2024-01-17 14:11:59 +09:00
parent 7645ef67d7
commit 331b3b7e5a
1 changed files with 22 additions and 0 deletions

View File

@ -8,4 +8,26 @@ rm -f /etc/alternatives/desktop-theme
# Then re-add it # Then re-add it
ln -s /usr/share/desktop-base/lines-theme /etc/alternatives/desktop-theme ln -s /usr/share/desktop-base/lines-theme /etc/alternatives/desktop-theme
# 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