Testing: Compiling Calamares from source

Then installing it during building via a hook

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2024-01-09 20:19:25 +09:00
parent d3660ae235
commit ce6f66cb2c
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,24 @@
#!/bin/sh
# 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
# Clone the Calamares installer
git clone https://github.com/calamares/calamares.git
# change to Calamares
cd calamares
# Create a folder called build
mkdir build
# Change into the build directory
cd build
# Check the make source
cmake ..
# Compile it
make
# Install Calamares
make install

View File

@ -171,8 +171,8 @@ LIGHT_DM_LIST = ('lightdm\n'
# General Shared packages to be installed.
GENERAL_SHARED_LIST = ('alsa-utils\n'
'bluez\n'
'calamares\n'
'calamares-settings-debian\n'
#'calamares\n'
#'calamares-settings-debian\n'
'console-setup\n'
'cups\n'
'curl\n'