mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
Distribution-independent installer framework
When choosing `systemd-boot` as the bootloader, numerous problems occurred: - the kernel and initrd were not copied to the EFI System Partition, and therefore could not be reached by the bootloader - the fallback entry used the default initramfs image instead of the fallback image `systemd-boot` provides the `kernel-install` utility, which automatically copies the kernel + initramfs to the EFI partition, and creates the corresponding bootloader entry. Unfortunately, `kernel-install` cannot be used here as the module is not executed in a chroot. As setting up one only for running a single command would be overkill, this patch re-creates what `kernel-install` usually does: - copy the kernel and initramfs to their own subdirectory at the root of the EFI partition - create the corresponding entry configuration file To this end, the `systemd-boot` installation code in the `bootloader` module has been largely refactored, including removing a few duplicate LOCs. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
.tx | ||
ci | ||
CMakeModules | ||
data | ||
lang | ||
LICENSES | ||
man | ||
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
calamares.desktop | ||
calamares.desktop.in | ||
CalamaresBuildTreeSettings.cmake.in | ||
CalamaresConfig.cmake.in | ||
CalamaresConfigVersion.cmake.in | ||
CalamaresUse.cmake.in | ||
CHANGES | ||
cmake_uninstall.cmake.in | ||
CMakeLists.txt | ||
com.github.calamares.calamares.policy | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
settings.conf |
Calamares: Distribution-Independent Installer Framework
Report a Bug | Contribute | Translate | Freenode (IRC): #calamares | Wiki |
---|
Dependencies
Main:
- Compiler with C++11 support: GCC >= 4.9.0 or Clang >= 3.5.1
- CMake >= 3.2
- Qt >= 5.7
- yaml-cpp >= 0.5.1
- Python >= 3.3 (required for some modules)
- Boost.Python >= 1.55.0 (recommended, or PythonQt; one is required for some modules)
- PythonQt (recommended, or Boost.Python; one is required for some modules)
- extra-cmake-modules >= 5.18 (recommended; required for some modules)
Modules:
- welcome:
- NetworkManager
- UPower (optional, runtime)
- partition:
- extra-cmake-modules
- KF5: KCoreAddons, KConfig, KI18n, KService, KWidgetsAddons
- KPMcore >= 3.3
- bootloader:
- systemd-boot or GRUB
- unpackfs:
- squashfs-tools
- rsync
Building
See wiki for up to date building and deployment instructions.