├── data
├── example-root
│ ├── var
│ │ └── lib
│ │ │ ├── dbus
│ │ │ └── .dummy
│ │ │ └── initramfs-tools
│ ├── usr
│ │ └── share
│ │ │ └── zoneinfo
│ │ │ ├── .dummy
│ │ │ ├── UTC
│ │ │ ├── Zulu
│ │ │ └── America
│ │ │ └── New_York
│ ├── etc
│ │ ├── sudoers.d
│ │ │ └── 10-installer
│ │ ├── group
│ │ ├── issue
│ │ ├── profile
│ │ ├── bash.bashrc
│ │ └── locale.gen
│ ├── xbin
│ │ ├── useradd
│ │ └── linux-version
│ └── README.md
├── images
│ ├── fail.svgz
│ ├── no.svgz
│ ├── squid.png
│ ├── yes.svgz
│ ├── information.svgz
│ ├── no.svgz.license
│ ├── bugs.svg.license
│ ├── fail.svgz.license
│ ├── help.svg.license
│ ├── release.svg.license
│ ├── squid.png.license
│ ├── squid.svg.license
│ ├── yes.svgz.license
│ ├── information.svgz.license
│ ├── boot-environment.svg.license
│ ├── partition-disk.svg.license
│ ├── partition-manual.svg.license
│ ├── partition-table.svg.license
│ ├── partition-alongside.svg.license
│ ├── partition-erase-auto.svg.license
│ ├── partition-partition.svg.license
│ ├── partition-replace-os.svg.license
│ ├── help-donate.svg.license
│ ├── state-error.svg.license
│ ├── state-ok.svg.license
│ ├── state-warning.svg.license
│ ├── state-ok.svg
│ ├── state-error.svg
│ ├── help-donate.svg
│ └── state-warning.svg
├── config-appimage
│ ├── branding
│ │ └── default
│ │ │ ├── squid.png
│ │ │ └── squid.png.license
│ ├── modules
│ │ └── keyboard.conf
│ └── settings.conf
└── completion
│ └── bash
│ └── calamares
├── src
├── qml
│ ├── calamares-qt5
│ │ ├── CMakeLists.txt
│ │ └── slideshow
│ │ │ ├── qmldir.license
│ │ │ ├── qmldir
│ │ │ ├── BackButton.qml
│ │ │ ├── ForwardButton.qml
│ │ │ └── SlideCounter.qml
│ └── calamares-qt6
│ │ ├── CMakeLists.txt
│ │ └── slideshow
│ │ ├── qmldir.license
│ │ ├── qmldir
│ │ ├── BackButton.qml
│ │ ├── ForwardButton.qml
│ │ └── SlideCounter.qml
├── modules
│ ├── unpackfsc
│ │ ├── tests
│ │ │ ├── 1.global
│ │ │ └── 1.job
│ │ ├── CMakeLists.txt
│ │ ├── unpackfsc.schema.yaml
│ │ ├── TarballRunner.h
│ │ ├── ErofsRunner.h
│ │ ├── Runners.cpp
│ │ └── UnsquashRunner.h
│ ├── partition
│ │ ├── tests
│ │ │ ├── 1b-legacy.conf
│ │ │ ├── 1a-legacy.conf
│ │ │ ├── 3a-min-too-large.conf
│ │ │ ├── 2b-modern.conf
│ │ │ ├── 2c-mixed.conf
│ │ │ ├── 2d-overlap.conf
│ │ │ ├── 2a-legacy.conf
│ │ │ └── ClearMountsJobTests.h
│ │ ├── gui
│ │ │ ├── PartitionViewSelectionFilter.h
│ │ │ ├── BootInfoWidget.h
│ │ │ ├── ListPhysicalVolumeWidgetItem.h
│ │ │ └── DeviceInfoWidget.h
│ │ ├── jobs
│ │ │ ├── PartitionJob.cpp
│ │ │ └── ClearTempMountsJob.h
│ │ └── core
│ │ │ └── SizeUtils.h
│ ├── locale
│ │ ├── images
│ │ │ ├── bg.png
│ │ │ ├── pin.png
│ │ │ ├── bg.png.license
│ │ │ ├── pin.png.license
│ │ │ ├── timezone_-1.0.png
│ │ │ ├── timezone_-2.0.png
│ │ │ ├── timezone_-3.0.png
│ │ │ ├── timezone_-3.5.png
│ │ │ ├── timezone_-4.0.png
│ │ │ ├── timezone_-4.5.png
│ │ │ ├── timezone_-5.0.png
│ │ │ ├── timezone_-5.5.png
│ │ │ ├── timezone_-6.0.png
│ │ │ ├── timezone_-7.0.png
│ │ │ ├── timezone_-8.0.png
│ │ │ ├── timezone_-9.0.png
│ │ │ ├── timezone_-9.5.png
│ │ │ ├── timezone_0.0.png
│ │ │ ├── timezone_1.0.png
│ │ │ ├── timezone_10.0.png
│ │ │ ├── timezone_10.5.png
│ │ │ ├── timezone_11.0.png
│ │ │ ├── timezone_12.0.png
│ │ │ ├── timezone_13.0.png
│ │ │ ├── timezone_2.0.png
│ │ │ ├── timezone_3.0.png
│ │ │ ├── timezone_3.5.png
│ │ │ ├── timezone_4.0.png
│ │ │ ├── timezone_4.5.png
│ │ │ ├── timezone_5.0.png
│ │ │ ├── timezone_5.5.png
│ │ │ ├── timezone_5.75.png
│ │ │ ├── timezone_6.0.png
│ │ │ ├── timezone_6.5.png
│ │ │ ├── timezone_7.0.png
│ │ │ ├── timezone_8.0.png
│ │ │ ├── timezone_9.0.png
│ │ │ ├── timezone_9.5.png
│ │ │ ├── timezone_-10.0.png
│ │ │ ├── timezone_-11.0.png
│ │ │ └── timezone_12.75.png
│ │ ├── SetTimezoneJob.h
│ │ └── LCLocaleDialog.h
│ ├── localeq
│ │ ├── img
│ │ │ ├── minus.png
│ │ │ ├── plus.png
│ │ │ ├── pin.svg.license
│ │ │ ├── locale.svg.license
│ │ │ ├── minus.png.license
│ │ │ └── plus.png.license
│ │ ├── localeq.qrc
│ │ └── localeq-qt6.qrc
│ ├── unpackfs
│ │ ├── tests
│ │ │ ├── 3.job
│ │ │ ├── 1.global
│ │ │ ├── 2.global
│ │ │ ├── 3.global
│ │ │ ├── 4.global
│ │ │ ├── 5.global
│ │ │ ├── 6.global
│ │ │ ├── 7.global
│ │ │ ├── 6.job
│ │ │ ├── 7.job
│ │ │ ├── 8.job
│ │ │ ├── 8.global
│ │ │ ├── 5.job
│ │ │ ├── 9.global
│ │ │ ├── 9.job
│ │ │ └── 4.job
│ │ └── module.desc
│ ├── usersq
│ │ ├── usersq.qrc
│ │ ├── usersq-qt6.qrc
│ │ └── usersq.conf
│ ├── packages
│ │ ├── tests
│ │ │ ├── 1.global
│ │ │ ├── pm-pacman-2.yaml
│ │ │ ├── pm-pacman-1.yaml
│ │ │ └── 2.job
│ │ └── module.desc
│ ├── plasmalnf
│ │ ├── page_plasmalnf.qrc
│ │ ├── view-preview.png
│ │ ├── view-preview.png.license
│ │ ├── view-preview.svg.license
│ │ ├── view-preview.svg
│ │ └── PlasmaLnfJob.h
│ ├── preservefiles
│ │ ├── tests
│ │ │ ├── 1e-empty.conf
│ │ │ ├── 1f-bad.conf
│ │ │ ├── 1a-log.conf
│ │ │ ├── 1b-config.conf
│ │ │ ├── 1c-src.conf
│ │ │ └── 1d-filename.conf
│ │ └── CMakeLists.txt
│ ├── users
│ │ ├── images
│ │ │ ├── invalid.png
│ │ │ ├── valid.png
│ │ │ ├── valid.png.license
│ │ │ └── invalid.png.license
│ │ ├── tests
│ │ │ ├── 3-wing.conf
│ │ │ ├── 7bo-shell.conf
│ │ │ ├── 7bn-shell.conf
│ │ │ ├── 6e-issue-1672.conf
│ │ │ ├── 6a-issue-1672.conf
│ │ │ ├── 6b-issue-1672.conf
│ │ │ ├── 6c-issue-1672.conf
│ │ │ ├── 6d-issue-1672.conf
│ │ │ ├── 7co-shell.conf
│ │ │ ├── 7cn-shell.conf
│ │ │ ├── 7eo-shell.conf
│ │ │ ├── 7en-shell.conf
│ │ │ ├── 4-audio.conf
│ │ │ ├── 7do-shell.conf
│ │ │ ├── 7ao-shell.conf
│ │ │ ├── 7dn-shell.conf
│ │ │ ├── 7an-shell.conf
│ │ │ ├── 7fb-shell.conf
│ │ │ ├── 7fn-shell.conf
│ │ │ ├── 7fo-shell.conf
│ │ │ ├── 8f-issue-2362.conf
│ │ │ ├── 8a-issue-2362.conf
│ │ │ ├── 8c-issue-2362.conf
│ │ │ ├── 8d-issue-2362.conf
│ │ │ ├── 8e-issue-2362.conf
│ │ │ ├── 8g-issue-2362.conf
│ │ │ ├── 8h-issue-2362.conf
│ │ │ ├── 5-issue-1523.conf
│ │ │ └── 8b-issue-2362.conf
│ │ ├── users.qrc
│ │ ├── CreateUserJob.h
│ │ └── SetHostNameJob.h
│ ├── welcomeq
│ │ ├── img
│ │ │ ├── squid.png
│ │ │ ├── squid.png.license
│ │ │ ├── language-icon-48px.png
│ │ │ ├── chevron-left-solid.svg.license
│ │ │ ├── language-icon-48px.png.license
│ │ │ └── chevron-left-solid.svg
│ │ ├── welcomeq.qrc
│ │ └── welcomeq-qt6.qrc
│ ├── displaymanager
│ │ ├── tests
│ │ │ ├── 1.global
│ │ │ ├── CMakeTests.txt
│ │ │ └── test-dm-sddm.py
│ │ └── module.desc
│ ├── keyboard
│ │ ├── images
│ │ │ ├── restore.png
│ │ │ └── restore.png.license
│ │ ├── keyboard.qrc
│ │ ├── keyboard.schema.yaml
│ │ ├── AdditionalLayoutInfo.h
│ │ └── CMakeLists.txt
│ ├── netinstall
│ │ ├── tests
│ │ │ ├── 1c-unset.conf
│ │ │ ├── data-empty.yaml
│ │ │ ├── 1c-none.conf
│ │ │ ├── 1a-single-bad.conf
│ │ │ ├── data-error.yaml
│ │ │ ├── 1a-single-empty.conf
│ │ │ ├── 1a-single-error.conf
│ │ │ ├── 1b-single-large.conf
│ │ │ ├── 1b-single-small.conf
│ │ │ ├── 1d-fallback-bad.conf
│ │ │ ├── 1d-fallback-large.conf
│ │ │ ├── 1d-fallback-small.conf
│ │ │ ├── data-small.yaml
│ │ │ ├── 1d-fallback-mixed.conf
│ │ │ └── data-large.yaml
│ │ ├── groupstreeview.h
│ │ └── CMakeLists.txt
│ ├── welcome
│ │ ├── language-icon-128px.png
│ │ ├── language-icon-48px.png
│ │ ├── tests
│ │ │ ├── 1b-checkinternet.conf
│ │ │ ├── 1a-checkinternet.conf
│ │ │ ├── 1e-checkinternet.conf
│ │ │ ├── 1c-checkinternet.conf
│ │ │ ├── 1d-checkinternet.conf
│ │ │ ├── 1g-checkinternet.conf
│ │ │ ├── 1f-checkinternet.conf
│ │ │ └── 1h-checkinternet.conf
│ │ ├── language-icon-128px.png.license
│ │ ├── language-icon-48px.png.license
│ │ ├── welcome.qrc
│ │ └── checker
│ │ │ └── partman_devices.h
│ ├── finishedq
│ │ ├── seedling.svg.license
│ │ ├── finishedq.qrc
│ │ ├── finishedq-qt6.qrc
│ │ └── seedling.svg
│ ├── keyboardq
│ │ ├── data
│ │ │ ├── button_bkg_left.png
│ │ │ ├── button_bkg_center.png
│ │ │ ├── button_bkg_right.png
│ │ │ ├── enter.svg.license
│ │ │ ├── pan-end-symbolic.svg.license
│ │ │ ├── shift.svg.license
│ │ │ ├── backspace.svg.license
│ │ │ ├── button_bkg_center.png.license
│ │ │ ├── button_bkg_left.png.license
│ │ │ ├── button_bkg_right.png.license
│ │ │ └── pan-end-symbolic.svg
│ │ ├── keyboardq.conf
│ │ └── CMakeLists.txt
│ ├── packagechooserq
│ │ ├── images
│ │ │ ├── plasma.png
│ │ │ ├── libreoffice.jpg
│ │ │ ├── libreoffice.jpg.license
│ │ │ ├── no-selection.png
│ │ │ ├── no-selection.png.license
│ │ │ └── plasma.png.license
│ │ ├── packagechooserq.qrc
│ │ └── packagechooserq-qt6.qrc
│ ├── packagechooser
│ │ ├── images
│ │ │ ├── calamares.png
│ │ │ ├── calamares.png.license
│ │ │ ├── no-selection.png
│ │ │ └── no-selection.png.license
│ │ ├── packagechooser.qrc
│ │ ├── Tests.h
│ │ └── ItemAppData.h
│ ├── grubcfg
│ │ ├── tests
│ │ │ ├── 1.global
│ │ │ ├── 2.global
│ │ │ ├── 3.global
│ │ │ ├── 4.global
│ │ │ ├── 2.job
│ │ │ ├── 4.job
│ │ │ ├── 3.job
│ │ │ └── CMakeTests.txt
│ │ └── module.desc
│ ├── notesqml
│ │ ├── notesqml.qrc
│ │ └── CMakeLists.txt
│ ├── dummypython
│ │ ├── tests
│ │ │ └── 1.global
│ │ ├── module.desc
│ │ └── dummypython.conf
│ ├── summaryq
│ │ ├── img
│ │ │ ├── keyboard.svg.license
│ │ │ └── lokalize.svg.license
│ │ ├── summaryq.qrc
│ │ ├── summaryq-qt6.qrc
│ │ └── CMakeLists.txt
│ ├── tracking
│ │ ├── level-none.svg.license
│ │ ├── level-user.svg.license
│ │ ├── level-install.svg.license
│ │ ├── level-machine.svg.license
│ │ ├── page_trackingstep.qrc
│ │ ├── CMakeLists.txt
│ │ └── TrackingType.h
│ ├── openrcdmcryptcfg
│ │ ├── openrcdmcryptcfg.conf
│ │ └── module.desc
│ ├── initcpiocfg
│ │ ├── test.yaml
│ │ ├── module.desc
│ │ └── initcpiocfg.schema.yaml
│ ├── mkinitfs
│ │ └── module.desc
│ ├── dracut
│ │ ├── module.desc
│ │ ├── dracut.schema.yaml
│ │ └── dracut.conf
│ ├── fstab
│ │ ├── module.desc
│ │ ├── test.yaml
│ │ ├── test2.yaml
│ │ └── fstab.schema.yaml
│ ├── mount
│ │ ├── module.desc
│ │ └── tests
│ │ │ ├── 2.job
│ │ │ ├── 1.job
│ │ │ ├── 3.global
│ │ │ ├── 3.job
│ │ │ ├── 2.global
│ │ │ ├── 4.global
│ │ │ ├── 4.job
│ │ │ └── 1.global
│ ├── plymouthcfg
│ │ ├── module.desc
│ │ └── plymouthcfg.schema.yaml
│ ├── services-openrc
│ │ └── module.desc
│ ├── services-systemd
│ │ ├── module.desc
│ │ └── services-systemd.schema.yaml
│ ├── hwclock
│ │ └── module.desc
│ ├── bootloader
│ │ ├── test.yaml
│ │ ├── module.desc
│ │ └── tests
│ │ │ └── CMakeTests.txt
│ ├── networkcfg
│ │ └── module.desc
│ ├── zfshostid
│ │ ├── module.desc
│ │ └── zfshostid.schema.yaml
│ ├── initramfscfg
│ │ ├── module.desc
│ │ ├── encrypt_hook_nokey
│ │ └── encrypt_hook
│ ├── rawfs
│ │ ├── module.desc
│ │ └── tests
│ │ │ ├── 1.global
│ │ │ ├── 1.job
│ │ │ └── CMakeTests.txt
│ ├── luksopenswaphookcfg
│ │ ├── luksopenswaphookcfg.conf
│ │ ├── luksopenswaphookcfg.schema.yaml
│ │ ├── CMakeLists.txt
│ │ └── LOSHJob.h
│ ├── umount
│ │ ├── umount.schema.yaml
│ │ ├── CMakeLists.txt
│ │ └── umount.conf
│ ├── zfs
│ │ ├── CMakeLists.txt
│ │ └── zfs.schema.yaml
│ ├── dummyprocess
│ │ └── module.desc
│ ├── localecfg
│ │ └── module.desc
│ ├── removeuser
│ │ ├── removeuser.schema.yaml
│ │ ├── CMakeLists.txt
│ │ └── removeuser.conf
│ ├── dummycpp
│ │ ├── CMakeLists.txt
│ │ ├── dummycpp.conf
│ │ └── module.desc
│ ├── dracutlukscfg
│ │ └── CMakeLists.txt
│ ├── initcpio
│ │ ├── initcpio.schema.yaml
│ │ ├── CMakeLists.txt
│ │ ├── Tests.h
│ │ └── initcpio.conf
│ ├── luksbootkeyfile
│ │ ├── luksbootkeyfile.schema.yaml
│ │ ├── CMakeLists.txt
│ │ └── luksbootkeyfile.conf
│ ├── shellprocess
│ │ └── CMakeLists.txt
│ ├── machineid
│ │ ├── CMakeLists.txt
│ │ └── machineid.schema.yaml
│ ├── oemid
│ │ ├── CMakeLists.txt
│ │ ├── oemid.conf
│ │ └── IDJob.h
│ ├── license
│ │ ├── CMakeLists.txt
│ │ └── license.schema.yaml
│ ├── initramfs
│ │ ├── CMakeLists.txt
│ │ └── Tests.h
│ ├── summary
│ │ └── CMakeLists.txt
│ ├── contextualprocess
│ │ ├── CMakeLists.txt
│ │ └── Tests.h
│ ├── finished
│ │ ├── finished.schema.yaml
│ │ └── CMakeLists.txt
│ ├── fsresizer
│ │ └── Tests.h
│ └── interactiveterminal
│ │ ├── interactiveterminal.conf
│ │ └── InteractiveTerminalPage.h
├── branding
│ ├── default
│ │ ├── banner.png
│ │ ├── squid.png
│ │ ├── languages.png
│ │ ├── languages.png.license
│ │ ├── squid.png.license
│ │ ├── banner.png.license
│ │ └── lang
│ │ │ ├── calamares-default_ar.ts
│ │ │ ├── calamares-default_en.ts
│ │ │ ├── calamares-default_eo.ts
│ │ │ ├── calamares-default_nl.ts
│ │ │ └── calamares-default_fr.ts
│ └── CMakeLists.txt
├── libcalamares
│ ├── testdata
│ │ ├── yaml-list.conf
│ │ └── localetest_nl.ts
│ ├── utils
│ │ ├── PluginFactory.cpp
│ │ └── UMask.cpp
│ ├── CalamaresVersionX.h.in
│ ├── compat
│ │ ├── Size.h
│ │ ├── Mutex.h
│ │ └── CheckBox.h
│ ├── modulesystem
│ │ └── Actions.h
│ ├── network
│ │ └── Tests.h
│ ├── JobExample.cpp
│ ├── CalamaresVersion.h.in
│ ├── pybind11
│ │ └── Pybind11Helpers.h
│ ├── geoip
│ │ ├── GeoIPTests.h
│ │ └── GeoIPFixed.cpp
│ └── CppJob.cpp
├── calamares
│ └── calamares.qrc
├── CMakeLists.txt
└── libcalamaresui
│ ├── widgets
│ └── FixedAspectRatioLabel.h
│ └── utils
│ └── QtCompat.h
├── 3rdparty
├── pybind11
│ ├── include
│ │ └── pybind11
│ │ │ ├── common.h
│ │ │ ├── eigen.h
│ │ │ └── eigen
│ │ │ └── common.h
│ ├── MANIFEST.in
│ ├── CMakeLists.txt
│ └── SECURITY.md
└── kdsingleapplication
│ └── src.pro
├── .git-blame-ignore-revs
├── .gersemirc
├── CMakeModules
└── i18n.qrc.in
├── ci
├── coverity-model.c
├── libcalamares
│ ├── __init__.py
│ ├── job.py
│ ├── globalstorage.py
│ └── utils.py
├── astylerc
├── deps-endeavouros.sh
├── deps-kaos.sh
├── deps-neon.sh
├── deps-fedora-qt6.sh
└── deps-fedora-qt6-boost.sh
└── calamares.desktop.in
/data/example-root/var/lib/dbus/.dummy:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/data/example-root/usr/share/zoneinfo/.dummy:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/data/example-root/var/lib/initramfs-tools:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/data/example-root/etc/sudoers.d/10-installer:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt5/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | calamares_install_qml()
2 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt6/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | calamares_install_qml()
2 |
--------------------------------------------------------------------------------
/src/modules/unpackfsc/tests/1.global:
--------------------------------------------------------------------------------
1 | ---
2 | rootMountPoint: /tmp/fstest
3 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/1b-legacy.conf:
--------------------------------------------------------------------------------
1 | ---
2 | efiSystemPartitionSize: 100MB
3 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/1a-legacy.conf:
--------------------------------------------------------------------------------
1 | ---
2 | efiSystemPartitionSize: 100MiB
3 |
--------------------------------------------------------------------------------
/data/images/fail.svgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/images/fail.svgz
--------------------------------------------------------------------------------
/data/images/no.svgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/images/no.svgz
--------------------------------------------------------------------------------
/data/images/squid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/images/squid.png
--------------------------------------------------------------------------------
/data/images/yes.svgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/images/yes.svgz
--------------------------------------------------------------------------------
/data/images/information.svgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/images/information.svgz
--------------------------------------------------------------------------------
/src/modules/unpackfsc/tests/1.job:
--------------------------------------------------------------------------------
1 | ---
2 | source: /tmp/src.fsa
3 | sourcefs: fsarchive
4 | destination: "/calasrc"
5 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt5/slideshow/qmldir.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: no
2 | SPDX-License-Identifier: CC0-1.0
3 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt6/slideshow/qmldir.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: no
2 | SPDX-License-Identifier: CC0-1.0
3 |
--------------------------------------------------------------------------------
/data/example-root/etc/group:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | root:x:0:
5 |
--------------------------------------------------------------------------------
/src/branding/default/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/branding/default/banner.png
--------------------------------------------------------------------------------
/src/branding/default/squid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/branding/default/squid.png
--------------------------------------------------------------------------------
/src/modules/locale/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/bg.png
--------------------------------------------------------------------------------
/src/modules/locale/images/pin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/pin.png
--------------------------------------------------------------------------------
/src/modules/localeq/img/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/localeq/img/minus.png
--------------------------------------------------------------------------------
/src/modules/localeq/img/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/localeq/img/plus.png
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/3.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | unpack: []
5 |
--------------------------------------------------------------------------------
/src/modules/usersq/usersq.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | usersq.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/data/images/no.svgz.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/branding/default/languages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/branding/default/languages.png
--------------------------------------------------------------------------------
/src/modules/packages/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | rootMountPoint: /tmp
4 |
--------------------------------------------------------------------------------
/src/modules/plasmalnf/page_plasmalnf.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | view-preview.png
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/tests/1e-empty.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | item: []
4 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | bogus: true
5 |
--------------------------------------------------------------------------------
/src/modules/users/images/invalid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/users/images/invalid.png
--------------------------------------------------------------------------------
/src/modules/users/images/valid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/users/images/valid.png
--------------------------------------------------------------------------------
/src/modules/welcomeq/img/squid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/welcomeq/img/squid.png
--------------------------------------------------------------------------------
/data/example-root/xbin/useradd:
--------------------------------------------------------------------------------
1 | #! /bin/true
2 | #
3 | # SPDX-FileCopyrightText: no
4 | # SPDX-License-Identifier: CC0-1.0
5 | #
6 |
--------------------------------------------------------------------------------
/data/images/bugs.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/fail.svgz.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/help.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/release.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/squid.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/squid.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/yes.svgz.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/displaymanager/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | rootMountPoint: /tmp
4 |
--------------------------------------------------------------------------------
/src/modules/plasmalnf/view-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/plasmalnf/view-preview.png
--------------------------------------------------------------------------------
/data/example-root/usr/share/zoneinfo/UTC:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/example-root/usr/share/zoneinfo/UTC
--------------------------------------------------------------------------------
/data/example-root/usr/share/zoneinfo/Zulu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/example-root/usr/share/zoneinfo/Zulu
--------------------------------------------------------------------------------
/data/example-root/xbin/linux-version:
--------------------------------------------------------------------------------
1 | #! /bin/true
2 | #
3 | # SPDX-FileCopyrightText: no
4 | # SPDX-License-Identifier: CC0-1.0
5 | #
6 |
--------------------------------------------------------------------------------
/data/images/information.svgz.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboard/images/restore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/keyboard/images/restore.png
--------------------------------------------------------------------------------
/src/modules/localeq/img/pin.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/tests/1f-bad.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | item:
4 | bop: 1
5 |
--------------------------------------------------------------------------------
/data/images/boot-environment.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/partition-disk.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/partition-manual.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/partition-table.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/branding/default/languages.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/branding/default/squid.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/locale/images/bg.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/locale/images/pin.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-1.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-1.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-2.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-2.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-3.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-3.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-3.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-3.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-4.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-4.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-4.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-4.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-5.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-5.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-5.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-5.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-6.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-6.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-7.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-7.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-8.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-8.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-9.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-9.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-9.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-9.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_0.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_0.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_1.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_1.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_10.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_10.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_10.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_10.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_11.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_11.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_12.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_12.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_13.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_13.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_2.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_2.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_3.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_3.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_3.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_3.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_4.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_4.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_4.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_4.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_5.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_5.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_5.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_5.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_5.75.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_5.75.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_6.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_6.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_6.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_6.5.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_7.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_7.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_8.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_8.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_9.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_9.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_9.5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_9.5.png
--------------------------------------------------------------------------------
/src/modules/localeq/img/locale.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/localeq/img/minus.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/localeq/img/plus.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1c-unset.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 |
--------------------------------------------------------------------------------
/src/modules/users/images/valid.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/welcome/language-icon-128px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/welcome/language-icon-128px.png
--------------------------------------------------------------------------------
/src/modules/welcome/language-icon-48px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/welcome/language-icon-48px.png
--------------------------------------------------------------------------------
/src/modules/welcomeq/img/squid.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/example-root/etc/issue:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | This is an example /etc/issue file.
5 |
--------------------------------------------------------------------------------
/data/images/partition-alongside.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/partition-erase-auto.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/partition-partition.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/partition-replace-os.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2015 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/branding/default/banner.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/finishedq/seedling.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2021 FontAwesome
2 | SPDX-License-Identifier: CC-BY-4.0
3 |
--------------------------------------------------------------------------------
/src/modules/keyboard/images/restore.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/button_bkg_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/keyboardq/data/button_bkg_left.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-10.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-10.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_-11.0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_-11.0.png
--------------------------------------------------------------------------------
/src/modules/locale/images/timezone_12.75.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/locale/images/timezone_12.75.png
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/data-empty.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | bogus: true
6 |
7 |
--------------------------------------------------------------------------------
/src/modules/packagechooserq/images/plasma.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/packagechooserq/images/plasma.png
--------------------------------------------------------------------------------
/src/modules/users/images/invalid.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/config-appimage/branding/default/squid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/config-appimage/branding/default/squid.png
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/button_bkg_center.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/keyboardq/data/button_bkg_center.png
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/button_bkg_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/keyboardq/data/button_bkg_right.png
--------------------------------------------------------------------------------
/src/modules/packagechooser/images/calamares.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/packagechooser/images/calamares.png
--------------------------------------------------------------------------------
/src/modules/usersq/usersq-qt6.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | usersq-qt6.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/modules/welcomeq/img/language-icon-48px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/welcomeq/img/language-icon-48px.png
--------------------------------------------------------------------------------
/data/config-appimage/branding/default/squid.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/help-donate.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/state-error.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/images/state-ok.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | branding:
5 | bootloaderEntryName: generic
6 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/enter.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2019 https://www.onlinewebfonts.com/fonts
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/pan-end-symbolic.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2022 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/shift.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2019 https://www.onlinewebfonts.com/fonts
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/packagechooser/images/calamares.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Teo Mrnjavac
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/packagechooser/images/no-selection.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/packagechooser/images/no-selection.png
--------------------------------------------------------------------------------
/src/modules/packagechooserq/images/libreoffice.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/packagechooserq/images/libreoffice.jpg
--------------------------------------------------------------------------------
/src/modules/packagechooserq/images/libreoffice.jpg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/packagechooserq/images/no-selection.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/src/modules/packagechooserq/images/no-selection.png
--------------------------------------------------------------------------------
/src/modules/packagechooserq/images/no-selection.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/users/tests/3-wing.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | defaultGroups: [ wing, wheel, users ]
6 |
--------------------------------------------------------------------------------
/src/modules/welcomeq/img/chevron-left-solid.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2020 demmm
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/data/example-root/usr/share/zoneinfo/America/New_York:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CachyOS/cachyos-calamares/HEAD/data/example-root/usr/share/zoneinfo/America/New_York
--------------------------------------------------------------------------------
/data/images/state-warning.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/backspace.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2019 https://www.onlinewebfonts.com/fonts
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1c-none.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl: []
7 |
--------------------------------------------------------------------------------
/src/modules/notesqml/notesqml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | notesqml.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/modules/packagechooserq/images/plasma.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2021 pngegg
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/2.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir/
5 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/3.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
5 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/4.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
5 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/5.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
5 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/6.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
5 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/7.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
5 |
--------------------------------------------------------------------------------
/3rdparty/pybind11/include/pybind11/common.h:
--------------------------------------------------------------------------------
1 | #include "detail/common.h"
2 | #warning "Including 'common.h' is deprecated. It will be removed in v3.0. Use 'pybind11.h'."
3 |
--------------------------------------------------------------------------------
/src/modules/dummypython/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | firmwareType: bios
5 | bootLoader: grub
6 | empty:
7 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/button_bkg_center.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2019 MarcoPellin
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/button_bkg_left.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2019 MarcoPellin
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/button_bkg_right.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2019 MarcoPellin
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/3a-min-too-large.conf:
--------------------------------------------------------------------------------
1 | ---
2 | efi:
3 | recommendedSize: 133MiB
4 | minimumSize: 200MiB
5 | label: "bigmin"
6 |
--------------------------------------------------------------------------------
/src/modules/summaryq/img/keyboard.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2021 KDE Visual Design Group
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/summaryq/img/lokalize.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2021 KDE Visual Design Group
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/tracking/level-none.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/tracking/level-user.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7bo-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly empty
6 | userShell: ""
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1b-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Nothing at all
5 | ---
6 | bogus: 1
7 |
--------------------------------------------------------------------------------
/data/example-root/etc/profile:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Global .profile -- add /sbin_1
5 | PATH=$PATH:/sbin_1:/xbin
6 |
--------------------------------------------------------------------------------
/src/modules/finishedq/finishedq.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | finishedq.qml
4 | seedling.svg
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/modules/openrcdmcryptcfg/openrcdmcryptcfg.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | configFilePath: /etc/conf.d/dmcrypt
6 |
--------------------------------------------------------------------------------
/src/modules/plasmalnf/view-preview.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/plasmalnf/view-preview.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/tracking/level-install.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/tracking/level-machine.svg.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7bn-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly empty
6 | user:
7 | shell: ""
8 |
9 |
--------------------------------------------------------------------------------
/data/example-root/etc/bash.bashrc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Global .profile -- add /sbin_1
5 | PATH=$PATH:/sbin_1:/xbin
6 |
--------------------------------------------------------------------------------
/src/modules/users/tests/6e-issue-1672.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | doautologin: true
6 | autologingroup: wheel
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/packagechooser/images/no-selection.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2014 Uri Herrera and others
2 | SPDX-License-Identifier: LGPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/users/tests/6a-issue-1672.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | autologinGroup: derp
6 | doAutologin: true
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/6b-issue-1672.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | autologinGroup: derp
6 | doAutoLogin: true
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/6c-issue-1672.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | autoLoginGroup: derp
6 | doAutologin: true
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/6d-issue-1672.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | autoLoginGroup: derp
6 | doAutoLogin: true
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7co-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Non-absolute path is ignored
6 | userShell: dash
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/users/users.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | images/invalid.png
4 | images/valid.png
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7cn-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Non-absolute path is ignored
6 | user:
7 | shell: dash
8 |
9 |
--------------------------------------------------------------------------------
/.git-blame-ignore-revs:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | 18fef8dfe5d926ec0bc979562553adf4db8db2e9
5 | 874a0c1f38b0da4e5bc83083b13a63b1c7eed935
6 |
--------------------------------------------------------------------------------
/src/modules/initcpiocfg/test.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | rootMountPoint: /tmp/mount
4 | partitions:
5 | - fs: ext4
6 | mountPoint: "/"
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/mkinitfs/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "mkinitfs"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/6.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | unpack:
5 | - source: .
6 | sourcefs: ext4
7 | destination: fakedest
8 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/7.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | unpack:
5 | - source: .
6 | sourcefs: ext4
7 | destination: realdest
8 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/8.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | unpack:
5 | - source: .
6 | sourcefs: ext4
7 | destination: realdest
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7eo-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly set with full path
6 | userShell: /usr/bin/dash
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/welcome/language-icon-128px.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2011 Farhat Datta and Onur Mustak Cobanli, http://www.languageicon.org/
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/welcome/language-icon-48px.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2011 Farhat Datta and Onur Mustak Cobanli, http://www.languageicon.org/
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1a-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | requirements:
5 | internetCheckUrl: http://example.com
6 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1a-single-bad.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/bad.yaml
8 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/data-error.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | derp
5 | derp
6 | herpa-derp: no
7 | --
8 | # This file is not valid YAML
9 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/8.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir/
5 | localeConf:
6 | - LANG: nl
7 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7en-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly set with full path
6 | user:
7 | shell: /usr/bin/dash
8 |
9 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1e-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Empty list
5 | ---
6 | requirements:
7 | internetCheckUrl: []
8 |
--------------------------------------------------------------------------------
/src/modules/welcomeq/img/language-icon-48px.png.license:
--------------------------------------------------------------------------------
1 | SPDX-FileCopyrightText: 2011 Farhat Datta and Onur Mustak Cobanli, http://www.languageicon.org/
2 | SPDX-License-Identifier: GPL-3.0-or-later
3 |
--------------------------------------------------------------------------------
/src/modules/dracut/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "dracut"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/finishedq/finishedq-qt6.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | finishedq-qt6.qml
4 | seedling.svg
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/modules/fstab/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "fstab"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/mount/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "mount"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1c-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Set to blank
5 | ---
6 | requirements:
7 | internetCheckUrl: ""
8 |
--------------------------------------------------------------------------------
/src/modules/welcome/welcome.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | language-icon-128px.png
4 | language-icon-48px.png
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "grubcfg"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1a-single-empty.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-empty.yaml
8 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1a-single-error.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-error.yaml
8 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1b-single-large.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-large.yaml
8 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1b-single-small.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-small.yaml
8 |
--------------------------------------------------------------------------------
/src/modules/packagechooser/packagechooser.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | images/no-selection.png
4 | images/calamares.png
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/modules/packages/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "packages"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/2b-modern.conf:
--------------------------------------------------------------------------------
1 | ---
2 | efi:
3 | mountPoint: "/boot/thisismodern"
4 | recommendedSize: 80MiB
5 | minimumSize: 65MiB
6 | label: "UEFI"
7 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/5.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | unpack:
5 | - source: ./fakesource
6 | sourcefs: ext4
7 | destination: fakedest
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/4-audio.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | defaultGroups:
6 | - users
7 | - lp
8 | - wheel
9 | - audio
10 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7do-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Invalid setting (should be string), won't pass validation
6 | userShell: [1]
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/plymouthcfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "plymouthcfg"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/tests/1a-log.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | item:
5 | from: log
6 | dest: /var/log/Calamares.log
7 | perm: root:wheel:601
8 |
--------------------------------------------------------------------------------
/src/modules/summaryq/summaryq.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | summaryq.qml
4 | img/keyboard.svg
5 | img/lokalize.svg
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/2.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | btrfsSwapSubvol: ""
4 |
5 | # Expect a complaint and a default btrfs layout because the
6 | # partitions use btrfs
7 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/2c-mixed.conf:
--------------------------------------------------------------------------------
1 | ---
2 | efi:
3 | mountPoint: "/boot/thisismixed"
4 | minimumSize: 80MiB
5 |
6 | efiSystemPartitionSize: 175MiB
7 | efiSystemPartitionName: legacy
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7ao-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Unset (bogus needed to keep it valid YAML)
6 | # userShell: /usr/bin/dash
7 | bogus: true
8 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7dn-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Invalid setting (should be string), won't pass validation
6 | user:
7 | shell: [1]
8 |
9 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1d-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Set to something broken
5 | ---
6 | requirements:
7 | internetCheckUrl: false
8 |
--------------------------------------------------------------------------------
/src/modules/displaymanager/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "displaymanager"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/openrcdmcryptcfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "openrcdmcryptcfg"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/tests/1b-config.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | item:
4 | from: config
5 | dest: /var/log/Calamares-install.json
6 | perm: root:wheel:600
7 |
--------------------------------------------------------------------------------
/src/modules/services-openrc/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "services-openrc"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/services-systemd/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "services-systemd"
6 | interface: "python"
7 | script: "main.py"
8 |
--------------------------------------------------------------------------------
/src/modules/hwclock/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "hwclock"
6 | interface: "python"
7 | script: "main.py"
8 | noconfig: true
9 |
--------------------------------------------------------------------------------
/src/modules/keyboard/keyboard.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | kbd-model-map
4 | images/restore.png
5 | non-ascii-layouts
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/9.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # This test uses a small destination FS, to make rsync fail
4 | ---
5 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
6 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7an-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Unset (bogus needed to keep it valid YAML)
6 | user:
7 | # shell: /usr/bin/dash
8 | bogus: true
9 |
--------------------------------------------------------------------------------
/src/modules/bootloader/test.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | rootMountPoint: /tmp/mount
4 | bootLoader:
5 | installPath: /dev/sdb
6 | branding:
7 | shortProductName: "Generic Distro"
8 |
--------------------------------------------------------------------------------
/src/modules/networkcfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "networkcfg"
6 | interface: "python"
7 | script: "main.py"
8 | noconfig: true
9 |
--------------------------------------------------------------------------------
/src/modules/zfshostid/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "zfshostid"
6 | interface: "python"
7 | script: "main.py"
8 | noconfig: true
9 |
--------------------------------------------------------------------------------
/src/modules/initramfscfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | name: "initramfscfg"
6 | interface: "python"
7 | script: "main.py"
8 | noconfig: true
9 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/1.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | btrfsSwapSubvol: ""
4 |
5 | # No configuration needed because the partitions are
6 | # all filesystems that require no special handling.
7 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/3.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | partitions:
4 | - device: "/dev/sdb1"
5 | mountPoint: "/"
6 | fs: "btrfs"
7 | partitionChoices:
8 | swap: file
9 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/3.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | btrfsSwapSubvol: ""
4 |
5 | # No configuration needed because the partitions are
6 | # all filesystems that require no special handling.
7 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/tests/1c-src.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | item:
4 | src: /root/.cache/calamares/session.log
5 | dest: /var/log/Calamares.log
6 | perm: root:wheel:600
7 |
--------------------------------------------------------------------------------
/src/modules/packages/tests/pm-pacman-2.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | backend: pacman
4 | operations: []
5 |
6 | # Leave some things unspecified
7 | pacman:
8 | num_retries: 3
9 |
10 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/tests/1d-filename.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | item:
4 | src: /root/.cache/calamares/session.log
5 | dest: /var/log/Calamares.log
6 | perm: root:wheel:600
7 |
--------------------------------------------------------------------------------
/src/modules/summaryq/summaryq-qt6.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | summaryq-qt6.qml
4 | img/keyboard.svg
5 | img/lokalize.svg
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/2.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | partitions:
4 | - device: "/dev/sdb1"
5 | mountPoint: "/"
6 | fs: "btrfs"
7 |
8 | # Expect a complaint and a default btrfs layout
9 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7fb-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly set with full path
6 | user:
7 | shell: /usr/bin/new
8 | bogus: true
9 |
10 | userShell: /usr/bin/old
11 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/9.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # This test uses a small destination FS, to make rsync fail
4 | ---
5 | unpack:
6 | - source: .
7 | sourcefs: ext4
8 | destination: smalldest
9 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7fn-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly set with full path
6 | user:
7 | shell: /usr/bin/new
8 | bogus: true
9 |
10 | # userShell: /usr/bin/old
11 |
--------------------------------------------------------------------------------
/src/modules/users/tests/7fo-shell.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | # Explicitly set with full path
6 | user:
7 | # shell: /usr/bin/new
8 | bogus: true
9 |
10 | userShell: /usr/bin/old
11 |
--------------------------------------------------------------------------------
/.gersemirc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Gersemi configuration
5 | color: false
6 | definitions: [ CMakeModules/CalamaresAddTest.cmake ]
7 | line_length: 120
8 | quiet: false
9 | unsafe: false
10 |
11 |
--------------------------------------------------------------------------------
/CMakeModules/i18n.qrc.in:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | @calamares_i18n_qrc_content@
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8f-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | home_permissions: Bogus
12 |
--------------------------------------------------------------------------------
/src/modules/packages/tests/pm-pacman-1.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | backend: pacman
4 | operations: []
5 |
6 | pacman:
7 | num_retries: 4
8 | disable_download_timeout: true
9 | needed_only: true
10 |
11 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8a-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | home_permissions: "o700"
12 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8c-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | home_permissions: "o126"
12 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8d-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | home_permissions: rwx--x---
12 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8e-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | home_permissions: -w---xr--
12 |
--------------------------------------------------------------------------------
/src/modules/rawfs/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # Module metadata file for block-copy jobmodule
4 | # Syntax is YAML 1.2
5 | ---
6 | type: "job"
7 | name: "rawfs"
8 | interface: "python"
9 | script: "main.py"
10 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/2.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | firmwareType: bios
5 | bootLoader: grub
6 | rootMountPoint: /tmp/calamares/grubcfg-test-2
7 |
8 | branding:
9 | bootloaderEntryName: generic
10 | partitions: []
11 |
12 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/3.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | firmwareType: bios
5 | bootLoader: grub
6 | rootMountPoint: /tmp/calamares/grubcfg-test-3
7 |
8 | branding:
9 | bootloaderEntryName: generic
10 | partitions: []
11 |
12 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/4.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | firmwareType: bios
5 | bootLoader: grub
6 | rootMountPoint: /tmp/calamares/grubcfg-test-4
7 |
8 | branding:
9 | bootloaderEntryName: generic
10 | partitions: []
11 |
12 |
--------------------------------------------------------------------------------
/src/modules/packagechooserq/packagechooserq.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | packagechooserq.qml
4 | images/libreoffice.jpg
5 | images/no-selection.png
6 | images/plasma.png
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # Syntax is YAML 1.2
4 | ---
5 | type: "job"
6 | name: "unpackfs"
7 | interface: "python"
8 | script: "main.py"
9 | requiredModules: [ mount ]
10 | weight: 12
11 |
--------------------------------------------------------------------------------
/3rdparty/pybind11/MANIFEST.in:
--------------------------------------------------------------------------------
1 | prune tests
2 | recursive-include pybind11/include/pybind11 *.h
3 | recursive-include pybind11 *.py
4 | recursive-include pybind11 py.typed
5 | include pybind11/share/cmake/pybind11/*.cmake
6 | include LICENSE README.rst SECURITY.md pyproject.toml setup.py setup.cfg
7 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt5/slideshow/qmldir:
--------------------------------------------------------------------------------
1 | module calamares.slideshow
2 |
3 | Presentation 1.0 Presentation.qml
4 | Slide 1.0 Slide.qml
5 |
6 | NavButton 1.0 NavButton.qml
7 | ForwardButton 1.0 ForwardButton.qml
8 | BackButton 1.0 BackButton.qml
9 |
10 | SlideCounter 1.0 SlideCounter.qml
11 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt6/slideshow/qmldir:
--------------------------------------------------------------------------------
1 | module calamares.slideshow
2 |
3 | Presentation 1.0 Presentation.qml
4 | Slide 1.0 Slide.qml
5 |
6 | NavButton 1.0 NavButton.qml
7 | ForwardButton 1.0 ForwardButton.qml
8 | BackButton 1.0 BackButton.qml
9 |
10 | SlideCounter 1.0 SlideCounter.qml
11 |
--------------------------------------------------------------------------------
/src/modules/dummypython/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # Module metadata file for dummy python jobmodule
4 | # Syntax is YAML 1.2
5 | ---
6 | type: "job"
7 | name: "dummypython"
8 | interface: "python"
9 | script: "main.py"
10 |
--------------------------------------------------------------------------------
/src/modules/unpackfs/tests/4.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Test that a "bogus" sourcefs (a filesystem kind that does not
5 | # exist) fails gracefully.
6 | ---
7 | unpack:
8 | - source: .
9 | sourcefs: bogus
10 | destination: /
11 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1g-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Multiple, all valid, in short-list form
5 | ---
6 | requirements:
7 | internetCheckUrl: [ http://example.com, http://bogus.example.com, http://nonexistent.example.com ]
8 |
--------------------------------------------------------------------------------
/src/modules/zfshostid/zfshostid.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2022 Anke Boersma
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/zfshostid
6 | additionalProperties: false
7 | type: object
8 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/2d-overlap.conf:
--------------------------------------------------------------------------------
1 | ---
2 | efi:
3 | mountPoint: "/boot/thisoverlaps"
4 | minimumSize: 100MiB
5 | recommendedSize: 300MiB
6 |
7 | efiSystemPartition: "/boot/ignored"
8 | efiSystemPartitionSize: 175MiB
9 | efiSystemPartitionName: legacy
10 |
--------------------------------------------------------------------------------
/src/modules/luksopenswaphookcfg/luksopenswaphookcfg.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Writes an openswap configuration with LUKS settings to the given path
5 | ---
6 | # Path of the configuration file to write (in the target system)
7 | configFilePath: /etc/openswap.conf
8 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/2a-legacy.conf:
--------------------------------------------------------------------------------
1 | ---
2 | # Deprecated alias of efi.mountPoint
3 | efiSystemPartition: "/boot/thisisatest"
4 |
5 | # Deprecated alias of efi.recommendedSize
6 | efiSystemPartitionSize: 75MiB
7 |
8 | # Deprecated alias of efi.label
9 | efiSystemPartitionName: testLabel
10 |
--------------------------------------------------------------------------------
/src/modules/rawfs/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | rootMountPoint: /tmp/unpackfs-test-run-rootdir3/
5 | partitions:
6 | - mountPoint: /
7 | device: /dev/sda1
8 | fs: ext4
9 | - mountPoint: /home
10 | device: /dev/sda2
11 | fs: ext4
12 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/4.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | partitions:
4 | - device: "/dev/sdb1"
5 | mountPoint: "/"
6 | fs: "btrfs"
7 | - device: "/dev/sdb2"
8 | mountPoint: "/home"
9 | fs: "ext4"
10 | partitionChoices:
11 | swap: file
12 |
--------------------------------------------------------------------------------
/src/modules/packagechooserq/packagechooserq-qt6.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | packagechooserq-qt6.qml
4 | images/libreoffice.jpg
5 | images/no-selection.png
6 | images/plasma.png
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ci/coverity-model.c:
--------------------------------------------------------------------------------
1 | /* Model file for Coverity checker.
2 | See https://scan.coverity.com/tune
3 |
4 | Calamares doesn't seem to geenerate any false positives,
5 | so the model-file is empty.
6 |
7 | SPDX-FileCopyrightText: 2017 Adriaan de Groot
8 | SPDX-License-Identifier: BSD-2-Clause
9 | */
10 |
--------------------------------------------------------------------------------
/src/modules/tracking/page_trackingstep.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | level-none.svg
4 | level-install.svg
5 | level-machine.svg
6 | level-user.svg
7 | ../../../data/images/information.svgz
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1f-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Multiple, all valid
5 | ---
6 | requirements:
7 | internetCheckUrl:
8 | - http://example.com
9 | - http://bogus.example.com
10 | - http://nonexistent.example.com
11 |
--------------------------------------------------------------------------------
/src/modules/packages/tests/2.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | backend: dummy
4 | operations:
5 | - install:
6 | - pre-script: touch /tmp/foo
7 | package: vi
8 | post-script: rm /tmp/foo
9 | - wget
10 | - binutils
11 | - remove:
12 | - vi
13 | - wget
14 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8g-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | # This is a number, not a string, due to vagaries of YAML
12 | home_permissions: "0750"
13 |
--------------------------------------------------------------------------------
/src/modules/welcome/tests/1h-checkinternet.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # "0" is a valid URL (?) but "" is not
5 | ---
6 | requirements:
7 | internetCheckUrl:
8 | - http://example.com
9 | - 0
10 | - ""
11 | - http://nonexistent.example.com
12 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/2.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | overwrite: true
5 | keep_distributor: false
6 | defaults:
7 | GRUB_TIMEOUT: 5
8 | GRUB_DEFAULT: "saved"
9 | GRUB_DISABLE_SUBMENU: true
10 | GRUB_TERMINAL_OUTPUT: "console"
11 | GRUB_DISABLE_RECOVERY: true
12 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1d-fallback-bad.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-nonexistent.yaml
8 | - file://$TESTDIR/data-empty.yaml
9 | - file://$TESTDIR/data-empty.yaml
10 | - file://$TESTDIR/data-bad.yaml
11 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1d-fallback-large.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-nonexistent.yaml
8 | - file://$TESTDIR/data-bad.yaml
9 | - file://$TESTDIR/data-large.yaml
10 | - file://$TESTDIR/data-small.yaml
11 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1d-fallback-small.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-nonexistent.yaml
8 | - file://$TESTDIR/data-bad.yaml
9 | - file://$TESTDIR/data-small.yaml
10 | - file://$TESTDIR/data-large.yaml
11 |
--------------------------------------------------------------------------------
/src/modules/umount/umount.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/umount
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | emergency: { type: boolean }
10 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8h-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | forbidden_names:
8 | - me
9 | - myself
10 | - moi
11 | # This is a number, which is interpreted by YAML as decimal even with a leading 0
12 | home_permissions: 0751
13 |
--------------------------------------------------------------------------------
/src/modules/localeq/localeq.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | localeq.qml
4 | Map.qml
5 | Offline.qml
6 | img/locale.svg
7 | img/minus.png
8 | img/pin.svg
9 | img/plus.png
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/4.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 |
4 | btrfsSubvolumes:
5 | - mountPoint: /
6 | subvolume: /@
7 | - mountPoint: /home
8 | subvolume: /@home
9 | - mountPoint: /var/cache
10 | subvolume: /@cache
11 | - mountPoint: /var/log
12 | subvolume: /@log
13 |
--------------------------------------------------------------------------------
/src/modules/users/tests/5-issue-1523.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | defaultGroups:
6 | - adm
7 | - name: foo
8 | must_exist: false
9 | system: true
10 | - name: bar
11 | must_exist: true
12 | - name: foobar
13 | must_exist: false
14 | system: false
15 |
--------------------------------------------------------------------------------
/src/modules/mount/tests/1.global:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | partitions:
4 | - device: "/dev/sdb1"
5 | mountPoint: "/"
6 | fs: "ext4"
7 | - device: "/dev/sdb2"
8 | mountPoint: "/home"
9 | fs: "ext4"
10 | - device: "/dev/sdb3"
11 | mountPoint: ""
12 | fs: "linuxswap"
13 |
--------------------------------------------------------------------------------
/ci/libcalamares/__init__.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Stubs for part of the Python API from libcalamares
5 | # (although the **actual** API is presented through
6 | # Boost::Python, not as a bare C-extension) so that
7 | # pylint doesn't complain about libcalamares internals.
8 |
9 | VERSION_SHORT="1.0"
10 |
--------------------------------------------------------------------------------
/src/libcalamares/testdata/yaml-list.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # YAML dump
5 | ---
6 | "cow": "moo"
7 | "derp": 17
8 | "dwarfs":
9 | - "sleepy"
10 | - "sneezy"
11 | - "doc"
12 | horse:
13 | hoofs: 4
14 | colors:
15 | mane: black
16 | neck: roan
17 | tail: white
18 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/4.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | overwrite: true
5 | prefer_grub_d: true
6 | keep_distributor: false
7 | defaults:
8 | GRUB_TIMEOUT: 5
9 | GRUB_DEFAULT: "saved"
10 | GRUB_DISABLE_SUBMENU: true
11 | GRUB_TERMINAL_OUTPUT: "console"
12 | GRUB_DISABLE_RECOVERY: true
13 |
--------------------------------------------------------------------------------
/src/modules/users/tests/8b-issue-2362.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | user:
6 | shell: /usr/bin/new
7 | # Order of names here doesn't matter (and "nobody" and "root" are always added)
8 | forbidden_names:
9 | - myself
10 | - moi
11 | - me
12 | - root
13 | home_permissions: "o755"
14 |
--------------------------------------------------------------------------------
/src/modules/bootloader/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | type: "job"
5 | interface: "python"
6 | name: "bootloader"
7 | script: "main.py"
8 | # The partition module sets up the EFI firmware type
9 | # global key, which is used to decide how to install.
10 | requiredModules: [ "partition" ]
11 |
--------------------------------------------------------------------------------
/src/modules/plymouthcfg/plymouthcfg.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/plymouthcfg
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | plymouth_theme: { type: string }
10 |
--------------------------------------------------------------------------------
/src/calamares/calamares.qrc:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | calamares-sidebar.qml
8 | calamares-navigation.qml
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/modules/zfs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(zfs
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | ZfsJob.cpp
11 | SHARED_LIB
12 | )
13 |
--------------------------------------------------------------------------------
/src/modules/dummyprocess/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # Module metadata file for dummy process jobmodule
4 | # Syntax is YAML 1.2
5 | ---
6 | type: "job"
7 | name: "dummyprocess"
8 | interface: "process"
9 | chroot: false
10 | command: "/bin/sh -c \"sleep 5 ; touch ~/calamares-dummyprocess\""
11 | timeout: 8
12 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/3.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | ---
4 | overwrite: true
5 | prefer_grub_d: true # But it doesn't exist
6 | keep_distributor: false
7 | defaults:
8 | GRUB_TIMEOUT: 5
9 | GRUB_DEFAULT: "saved"
10 | GRUB_DISABLE_SUBMENU: true
11 | GRUB_TERMINAL_OUTPUT: "console"
12 | GRUB_DISABLE_RECOVERY: true
13 |
--------------------------------------------------------------------------------
/src/modules/localecfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # Enable the configured locales (those set by the user on the
4 | # user page) in /etc/locale.gen, if they are available in the
5 | # target system.
6 | ---
7 | type: "job"
8 | name: "localecfg"
9 | interface: "python"
10 | script: "main.py"
11 | noconfig: true
12 |
--------------------------------------------------------------------------------
/src/modules/removeuser/removeuser.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/removeuser
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | username: { type: string }
10 | required: [ username ]
11 |
--------------------------------------------------------------------------------
/calamares.desktop.in:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Version=1.0
4 | Name=Install System
5 | GenericName=System Installer
6 | Keywords=calamares;system;installer;
7 | TryExec=calamares
8 | Exec=sh -c "pkexec calamares"
9 | Comment=Calamares — System Installer
10 | Icon=calamares
11 | Terminal=false
12 | StartupNotify=true
13 | Categories=Qt;System;
14 | X-AppStream-Ignore=true
15 |
16 |
--------------------------------------------------------------------------------
/src/modules/dummycpp/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(dummycpp
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | DummyCppJob.cpp
11 | SHARED_LIB
12 | )
13 |
--------------------------------------------------------------------------------
/src/modules/rawfs/tests/1.job:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Testing configuration for rawfs
5 | #
6 | ---
7 |
8 | targets:
9 | - mountPoint: /
10 | source: /
11 | - mountPoint: /home
12 | source: /images/home.img
13 | resize: true
14 | - mountPoint: /data
15 | source: /dev/mmcblk0p3
16 |
17 | bogus: true
18 |
--------------------------------------------------------------------------------
/src/modules/removeuser/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(removeuser
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | RemoveUserJob.cpp
11 | SHARED_LIB
12 | )
13 |
--------------------------------------------------------------------------------
/3rdparty/pybind11/include/pybind11/eigen.h:
--------------------------------------------------------------------------------
1 | /*
2 | pybind11/eigen.h: Transparent conversion for dense and sparse Eigen matrices
3 |
4 | Copyright (c) 2016 Wenzel Jakob
5 |
6 | All rights reserved. Use of this source code is governed by a
7 | BSD-style license that can be found in the LICENSE file.
8 | */
9 |
10 | #pragma once
11 |
12 | #include "eigen/matrix.h"
13 |
--------------------------------------------------------------------------------
/ci/astylerc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2014 Aurélien Gâteau
2 | # SPDX-FileCopyrightText: 2019 Adriaan de Groot
3 | # SPDX-License-Identifier: BSD-2-Clause
4 |
5 | # Do not create a backup file
6 | suffix=none
7 |
8 | indent=spaces=4
9 |
10 | # Brackets
11 | style=break
12 | add-braces
13 |
14 | # Spaces
15 | pad-paren-in
16 | pad-header
17 | align-pointer=type
18 |
--------------------------------------------------------------------------------
/src/modules/dracut/dracut.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2022 Anke Boersma
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/dracut
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | initramfsName: { type: string }
10 | options: { type: array, items: { type: string } }
11 |
--------------------------------------------------------------------------------
/src/modules/finishedq/seedling.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/modules/localeq/localeq-qt6.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | localeq-qt6.qml
4 | Map-qt6.qml
5 | Offline-qt6.qml
6 | img/locale.svg
7 | img/minus.png
8 | img/pin.svg
9 | img/plus.png
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/modules/dracutlukscfg/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(dracutlukscfg
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | DracutLuksCfgJob.cpp
11 | SHARED_LIB
12 | NO_CONFIG
13 | )
14 |
--------------------------------------------------------------------------------
/src/modules/luksopenswaphookcfg/luksopenswaphookcfg.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/luksopenswaphookcfg
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | configFilePath: { type: string }
10 | required: [ configFilePath ]
11 |
--------------------------------------------------------------------------------
/src/modules/initcpio/initcpio.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/initcpio
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | kernel: { type: string }
10 | be_unsafe: { type: boolean, default: false }
11 | required: [ kernel ]
12 |
--------------------------------------------------------------------------------
/src/modules/luksbootkeyfile/luksbootkeyfile.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2023 Arjen Balfoort
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/luksbootkeyfile
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | luks2Hash: { type: string, enum: [ pbkdf2, argon2i, argon2id, default ] }
10 |
--------------------------------------------------------------------------------
/src/libcalamares/utils/PluginFactory.cpp:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | *
9 | */
10 |
11 | #include "PluginFactory.h"
12 |
13 | CalamaresPluginFactory::~CalamaresPluginFactory() {}
14 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/data-small.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | - name: "Default"
5 | description: "Default group"
6 | hidden: false
7 | selected: true
8 | critical: false
9 | packages:
10 | - base
11 | - name: "Second"
12 | description: "Second group"
13 | hidden: false
14 | selected: true
15 | critical: false
16 | packages:
17 | - chakra-live-skel
18 |
--------------------------------------------------------------------------------
/data/example-root/etc/locale.gen:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # This file lists locales that you wish to have built. You can find a list
5 | # of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
6 | # user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
7 | # this file, you need to rerun locale-gen.
8 |
9 | en_CA.UTF-8 UTF-8
10 | en_US.UTF-8 UTF-8
11 |
--------------------------------------------------------------------------------
/3rdparty/pybind11/include/pybind11/eigen/common.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2023 The pybind Community.
2 |
3 | #pragma once
4 |
5 | // Common message for `static_assert()`s, which are useful to easily
6 | // preempt much less obvious errors.
7 | #define PYBIND11_EIGEN_MESSAGE_POINTER_TYPES_ARE_NOT_SUPPORTED \
8 | "Pointer types (in particular `PyObject *`) are not supported as scalar types for Eigen " \
9 | "types."
10 |
--------------------------------------------------------------------------------
/src/branding/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 |
7 | # Add branding components. Since there is only one, called "default",
8 | # add that one. For examples of other branding components, see
9 | # the calamares-extensions repository.
10 | calamares_add_branding_subdirectory( default )
11 |
--------------------------------------------------------------------------------
/src/modules/initcpiocfg/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Writes a mkinitcpio.conf into the target system. It copies
5 | # the host system's /etc/mkinitcpio.conf, and replaces any
6 | # HOOKS, MODULES, and FILES lines with calculated values
7 | # based on what the installation (seems to) need.
8 | ---
9 | type: "job"
10 | name: "initcpiocfg"
11 | interface: "python"
12 | script: "main.py"
13 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/1d-fallback-mixed.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ---
5 | required: true
6 | groupsUrl:
7 | - file://$TESTDIR/data-nonexistent.yaml
8 | - file://$TESTDIR/data-empty.yaml
9 | - file://$TESTDIR/data-bad.yaml
10 | - file://$TESTDIR/data-empty.yaml
11 | - file://$TESTDIR/data-small.yaml
12 | - file://$TESTDIR/data-large.yaml
13 | - file://$TESTDIR/data-bad.yaml
14 |
--------------------------------------------------------------------------------
/src/modules/umount/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2021 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(umount
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | UmountJob.cpp
11 | SHARED_LIB
12 | EMERGENCY
13 | )
14 |
15 | calamares_add_test(umounttest SOURCES Tests.cpp)
16 |
--------------------------------------------------------------------------------
/src/libcalamares/testdata/localetest_nl.ts:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | LocaleTests
9 |
10 |
11 | Quit
12 | Ophouden
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/modules/bootloader/tests/CMakeTests.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # We have tests to exercise some of the module internals.
5 | # Those tests conventionally live in Python files here in the tests/ directory. Add them.
6 | add_test(
7 | NAME test-bootloader-efiname
8 | COMMAND env PYTHONPATH=.: python3 ${CMAKE_CURRENT_LIST_DIR}/test-bootloader-efiname.py
9 | WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
10 | )
11 |
--------------------------------------------------------------------------------
/src/modules/welcomeq/welcomeq.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | welcomeq.qml
4 | release_notes.qml
5 | Recommended.qml
6 | Requirements.qml
7 | img/squid.png
8 | img/chevron-left-solid.svg
9 | img/language-icon-48px.png
10 |
11 |
12 |
--------------------------------------------------------------------------------
/ci/libcalamares/job.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Stubs for part of the Python API from libcalamares
5 | # (although the **actual** API is presented through
6 | # Boost::Python, not as a bare C-extension) so that
7 | # pylint doesn't complain about libcalamares internals.
8 |
9 | configuration = dict()
10 |
11 | def setprogress(_): pass
12 |
13 | def pretty_name(): return ""
14 |
15 | def working_path(): return ""
16 |
--------------------------------------------------------------------------------
/src/modules/umount/umount.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | ### Umount Module
5 | #
6 | # This module represents the last part of the installation, the unmounting
7 | # of partitions used for the install. After this, there is no regular way
8 | # to modify the target system anymore.
9 | #
10 |
11 | ---
12 | # Setting emergency to true will make it so this module is still run
13 | # when a prior module fails
14 | emergency: true
15 |
--------------------------------------------------------------------------------
/src/modules/welcomeq/welcomeq-qt6.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | welcomeq-qt6.qml
4 | release_notes.qml
5 | Recommended.qml
6 | Requirements.qml
7 | img/squid.png
8 | img/chevron-left-solid.svg
9 | img/language-icon-48px.png
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt5/slideshow/BackButton.qml:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | NavButton {
11 | id: backButton
12 | anchors.left: parent.left
13 | visible: parent.currentSlide > 0
14 | isForward: false
15 | }
16 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt6/slideshow/BackButton.qml:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | NavButton {
11 | id: backButton
12 | anchors.left: parent.left
13 | visible: parent.currentSlide > 0
14 | isForward: false
15 | }
16 |
--------------------------------------------------------------------------------
/3rdparty/kdsingleapplication/src.pro:
--------------------------------------------------------------------------------
1 | include(../common.pri)
2 |
3 | TEMPLATE = lib
4 | TARGET = kdsingleapplication
5 | QT = core network
6 | CONFIG += static
7 |
8 | SOURCES += \
9 | kdsingleapplication.cpp \
10 | kdsingleapplication_localsocket.cpp \
11 |
12 | HEADERS += \
13 | kdsingleapplication.h \
14 | kdsingleapplication_lib.h \
15 | kdsingleapplication_localsocket_p.h \
16 |
17 | DEFINES += \
18 | KDSINGLEAPPLICATION_BUILD
19 |
20 | win32:LIBS += -lkernel32
21 |
--------------------------------------------------------------------------------
/src/modules/shellprocess/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(shellprocess
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | ShellProcessJob.cpp
11 | SHARED_LIB
12 | )
13 |
14 | calamares_add_test(shellprocesstest SOURCES Tests.cpp LIBRARIES yamlcpp::yamlcpp)
15 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt5/slideshow/ForwardButton.qml:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | NavButton {
11 | id: forwardButton
12 | anchors.right: parent.right
13 | visible: parent.currentSlide + 1 < parent.slides.length;
14 | }
15 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt6/slideshow/ForwardButton.qml:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | NavButton {
11 | id: forwardButton
12 | anchors.right: parent.right
13 | visible: parent.currentSlide + 1 < parent.slides.length;
14 | }
15 |
--------------------------------------------------------------------------------
/src/modules/luksbootkeyfile/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(luksbootkeyfile
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | LuksBootKeyFileJob.cpp
11 | SHARED_LIB
12 | )
13 |
14 | calamares_add_test(luksbootkeyfiletest SOURCES Tests.cpp LuksBootKeyFileJob.cpp)
15 |
--------------------------------------------------------------------------------
/src/modules/machineid/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(machineid
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | MachineIdJob.cpp
11 | Workers.cpp
12 | SHARED_LIB
13 | )
14 |
15 | calamares_add_test(machineidtest SOURCES Tests.cpp MachineIdJob.cpp Workers.cpp)
16 |
--------------------------------------------------------------------------------
/src/modules/oemid/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(oemid
7 | TYPE viewmodule
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | IDJob.cpp
11 | OEMViewStep.cpp
12 | UI
13 | OEMPage.ui
14 | LINK_PRIVATE_LIBRARIES
15 | ${qtname}::Widgets
16 | SHARED_LIB
17 | )
18 |
--------------------------------------------------------------------------------
/src/modules/removeuser/removeuser.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Removes a single user (with userdel) from the system.
5 | # This is typically used in OEM setups or if the live user
6 | # spills into the target system.
7 | #
8 | # The module never fails; if userdel fails, this is logged
9 | # but the module still reports success and installation / setup
10 | # continues as normal.
11 | ---
12 | # Username in the target system to be removed.
13 | username: live
14 |
--------------------------------------------------------------------------------
/src/modules/welcomeq/img/chevron-left-solid.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/modules/fstab/test.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | rootMountPoint: /tmp/mount
4 | partitions:
5 | - device: /dev/sda1
6 | fs: ext4
7 | mountPoint: /
8 | uuid: 2a00f1d5-1217-49a7-bedd-b55c85764732
9 | - device: /dev/sda2
10 | fs: swap
11 | uuid: 59406569-446f-4730-a874-9f6b4b44fee3
12 | mountPoint:
13 | - device: /dev/sdb1
14 | fs: btrfs
15 | mountPoint: /home
16 | uuid: 59406569-abcd-1234-a874-9f6b4b44fee3
17 |
--------------------------------------------------------------------------------
/src/modules/unpackfsc/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2021 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 |
4 | calamares_add_plugin( unpackfsc
5 | TYPE job
6 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
7 | SOURCES
8 | UnpackFSCJob.cpp
9 | # The workers for differently-packed filesystems
10 | Runners.cpp
11 | ErofsRunner.cpp
12 | FSArchiverRunner.cpp
13 | TarballRunner.cpp
14 | UnsquashRunner.cpp
15 | SHARED_LIB
16 | )
17 |
--------------------------------------------------------------------------------
/src/modules/dracut/dracut.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Run dracut(8) with an optional kernel name
5 | ---
6 | # Dracut defaults to setting initramfs-.img
7 | # If you want to specify another filename for the resulting image,
8 | # set a custom name, including the path
9 | #
10 | initramfsName: /boot/initramfs-freebsd.img
11 |
12 | # Optional: define a list of strings to be passed as arguments to Dracut
13 | # By default, -f is always included
14 | options: [ "-f" ]
15 |
--------------------------------------------------------------------------------
/ci/deps-endeavouros.sh:
--------------------------------------------------------------------------------
1 | #! /bin/sh
2 | #
3 | # Install dependencies for building on EndeavourOS
4 | #
5 | # There is no docker image for EndeavoudOS, and the live ISO
6 | # for Cassini Nova is KF5 / Qt5 based, but we can build there.
7 | # It even has most of the build-deps already installed.
8 | pacman -Syu --noconfirm jq
9 | pacman -S --noconfirm git cmake ninja jq || exit 1
10 | pacman -S --noconfirm gcc yaml-cpp icu || exit 1
11 | pacman -S --noconfirm extra-cmake-modules || exit 1
12 | pacman -S --noconfirm python-jsonschema || exit 1
13 |
14 |
--------------------------------------------------------------------------------
/src/modules/rawfs/tests/CMakeTests.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | #
5 | # Special cases for rawfs tests
6 | #
7 | # - On FreeBSD, /proc/mounts doesn't exist (/proc is only about processes,
8 | # and is rarely used). The test would fail, except it catches that
9 | # kind of error and ends up doing nothing.
10 |
11 | if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
12 | # set_tests_properties(load-rawfs-1 PROPERTIES WILL_FAIL TRUE)
13 | message(STATUS "rawfs tests are useless on FreeBSD")
14 | endif()
15 |
--------------------------------------------------------------------------------
/src/modules/initramfscfg/encrypt_hook_nokey:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # SPDX-FileCopyrightText: 2016 David McKinney
4 | # SPDX-License-Identifier: GPL-3.0-or-later
5 |
6 | PREREQ=""
7 |
8 | prereqs()
9 | {
10 | echo "$PREREQ"
11 | }
12 |
13 | case $1 in
14 | # get pre-requisites
15 | prereqs)
16 | prereqs
17 | exit 0
18 | ;;
19 | esac
20 |
21 | . /usr/share/initramfs-tools/hook-functions
22 | if [ -f /etc/crypttab ]
23 | then
24 | cp /etc/crypttab ${DESTDIR}/etc/
25 | fi
26 |
--------------------------------------------------------------------------------
/src/libcalamares/CalamaresVersionX.h.in:
--------------------------------------------------------------------------------
1 | // SPDX-FileCopyrightText: no
2 | // SPDX-License-Identifier: CC0-1.0
3 | //
4 | // Same as CalamaresVersion.h, but with a full-git-extended VERSION
5 | // rather than the short (vM.m.p) semantic version.
6 | #ifndef CALAMARES_VERSION_H
7 |
8 | // On purpose, do not define the guard, but let CalamaresVersion.h do it
9 | // #define CALAMARES_VERSION_H
10 |
11 | #include "CalamaresVersion.h"
12 |
13 | #undef CALAMARES_VERSION
14 | #cmakedefine CALAMARES_VERSION "${CALAMARES_VERSION_LONG}"
15 |
16 | #endif // CALAMARES_VERSION_H
17 |
--------------------------------------------------------------------------------
/src/modules/initcpio/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(initcpio
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | InitcpioJob.cpp
11 | SHARED_LIB
12 | )
13 |
14 | calamares_add_test(
15 | initcpiotest
16 | SOURCES Tests.cpp
17 | LIBRARIES
18 | calamares_job_initcpio # From above
19 | yamlcpp::yamlcpp
20 | )
21 |
--------------------------------------------------------------------------------
/src/modules/license/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | include_directories(${PROJECT_BINARY_DIR}/src/libcalamaresui)
7 |
8 | calamares_add_plugin(license
9 | TYPE viewmodule
10 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
11 | SOURCES
12 | LicensePage.cpp
13 | LicenseViewStep.cpp
14 | LicenseWidget.cpp
15 | UI
16 | LicensePage.ui
17 | SHARED_LIB
18 | )
19 |
--------------------------------------------------------------------------------
/src/modules/preservefiles/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(preservefiles
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | Item.cpp
11 | PreserveFiles.cpp
12 | # REQUIRES mount # To set the rootMountPoint
13 | SHARED_LIB
14 | EMERGENCY
15 | )
16 |
17 | calamares_add_test(preservefilestest SOURCES Item.cpp Tests.cpp)
18 |
--------------------------------------------------------------------------------
/src/modules/initramfs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(initramfs
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | InitramfsJob.cpp
11 | SHARED_LIB
12 | )
13 |
14 | calamares_add_test(
15 | initramfstest
16 | SOURCES Tests.cpp
17 | LIBRARIES
18 | calamares_job_initramfs # From above
19 | yamlcpp::yamlcpp
20 | )
21 |
--------------------------------------------------------------------------------
/src/modules/luksbootkeyfile/luksbootkeyfile.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Luksbootkeyfile configuration. A key file is created for the
5 | # LUKS encrypted devices.
6 | ---
7 | # Set Password-Based Key Derivation Function (PBKDF) algorithm
8 | # for LUKS keyslot.
9 | #
10 | # There are three usable specific values: pbkdf2, argon2i or argon2id.
11 | # There is one value equivalent to not setting it: default
12 | #
13 | # When not set (or explicitly set to "default"), the cryptsetup default is used
14 | luks2Hash: default
15 |
--------------------------------------------------------------------------------
/src/modules/summary/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | include_directories(${PROJECT_BINARY_DIR}/src/libcalamaresui)
7 | calamares_add_plugin(summary
8 | TYPE viewmodule
9 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
10 | SOURCES
11 | Config.cpp
12 | SummaryModel.cpp
13 | SummaryPage.cpp
14 | SummaryViewStep.cpp
15 | UI
16 | SHARED_LIB
17 | NO_CONFIG
18 | )
19 |
--------------------------------------------------------------------------------
/data/example-root/README.md:
--------------------------------------------------------------------------------
1 | # Example Filesystem
2 |
3 |
6 |
7 | This is a filesystem that will be used as / in an example distro,
8 | *if* you build the `example-distro` target and use the default
9 | unpackfs configuration. It should hold files and configuration
10 | bits that need to be on the target system for example purposes.
11 |
12 | It should *not* have a bin/, lib/, sbin/ or lib64/ directory,
13 | since those are copied into the example-distro filesystem
14 | from the build host.
15 |
16 |
--------------------------------------------------------------------------------
/src/modules/notesqml/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | if(NOT WITH_QML)
7 | calamares_skip_module( "notesqml (QML is not supported in this build)" )
8 | return()
9 | endif()
10 |
11 | calamares_add_plugin(notesqml
12 | TYPE viewmodule
13 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
14 | SOURCES
15 | NotesQmlViewStep.cpp
16 | RESOURCES
17 | notesqml.qrc
18 | SHARED_LIB
19 | )
20 |
--------------------------------------------------------------------------------
/src/modules/displaymanager/tests/CMakeTests.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # We have tests to load (some) of the DMs specifically, to test their
5 | # configuration code. Those tests conventionally live in Python
6 | # files here in the tests/ directory. Add them.
7 | foreach(_dmname greetd sddm gdm)
8 | add_test(
9 | NAME configure-displaymanager-${_dmname}
10 | COMMAND env PYTHONPATH=.: python3 ${CMAKE_CURRENT_LIST_DIR}/test-dm-${_dmname}.py
11 | WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
12 | )
13 | endforeach()
14 |
--------------------------------------------------------------------------------
/src/modules/netinstall/groupstreeview.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2022 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 | #include
10 |
11 | class GroupsTreeView : public QTreeView
12 | {
13 | public:
14 | using QTreeView::QTreeView;
15 |
16 | protected:
17 | virtual void drawBranches( QPainter* painter, const QRect& rect, const QModelIndex& index ) const override;
18 | };
19 |
--------------------------------------------------------------------------------
/src/modules/luksopenswaphookcfg/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2021 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 |
7 | # Because LUKS Open Swap Hook (Job) is such a mouthful, we'll
8 | # use LOSH all over the place as a shorthand.
9 | calamares_add_plugin(luksopenswaphookcfg
10 | TYPE job
11 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
12 | SOURCES
13 | LOSHJob.cpp
14 | SHARED_LIB
15 | )
16 |
17 | calamares_add_test(luksopenswaphooktest SOURCES LOSHJob.cpp Tests.cpp)
18 |
--------------------------------------------------------------------------------
/src/branding/default/lang/calamares-default_ar.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | show
6 |
7 |
8 | This is a second Slide element.
9 | عرض الثاني
10 |
11 |
12 |
13 | This is a third Slide element.
14 | عرض الثالث
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/libcalamares/compat/Size.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2024 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | *
9 | */
10 | #ifndef CALAMARES_COMPAT_SIZE_H
11 | #define CALAMARES_COMPAT_SIZE_H
12 |
13 | #include
14 |
15 | namespace Calamares
16 | {
17 | /* Compatibility of size types (e.g. qsizetype, STL sizes, int) between Qt5 and Qt6 */
18 |
19 | using NumberForTr = int;
20 |
21 | }
22 |
23 | #endif
24 |
--------------------------------------------------------------------------------
/src/modules/contextualprocess/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(contextualprocess
7 | TYPE job
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | ContextualProcessJob.cpp
11 | SHARED_LIB
12 | )
13 |
14 | calamares_add_test(
15 | contextualprocesstest
16 | SOURCES
17 | Tests.cpp
18 | ContextualProcessJob.cpp # Builds it a second time
19 | LIBRARIES yamlcpp::yamlcpp
20 | )
21 |
--------------------------------------------------------------------------------
/src/modules/welcome/checker/partman_devices.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef PARTMAN_DEVICES_H
11 | #define PARTMAN_DEVICES_H
12 |
13 | #ifdef __cplusplus
14 | extern "C"
15 | {
16 | #endif
17 |
18 | int check_big_enough( long long required_space );
19 |
20 | #ifdef __cplusplus
21 | } // extern "C"
22 | #endif
23 |
24 | #endif // PARTMAN_DEVICES_H
25 |
--------------------------------------------------------------------------------
/src/modules/partition/gui/PartitionViewSelectionFilter.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2016 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef PARTITIONVIEWSELECTIONFILTER_H
11 | #define PARTITIONVIEWSELECTIONFILTER_H
12 |
13 | #include
14 |
15 | #include
16 |
17 | typedef std::function< bool( const QModelIndex& ) > SelectionFilter;
18 |
19 | #endif // PARTITIONVIEWSELECTIONFILTER_H
20 |
--------------------------------------------------------------------------------
/3rdparty/pybind11/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2023 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | ###
7 | #
8 | # This is a very-stripped-down way of getting the bundled pybind11
9 |
10 | add_library(pybind11_headers INTERFACE)
11 | add_library(pybind11::headers ALIAS pybind11_headers)
12 |
13 | target_include_directories(pybind11_headers INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
14 | target_link_libraries(pybind11_headers INTERFACE Python::Python) # Was searched-for at top-level
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/branding/default/lang/calamares-default_en.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | show
6 |
7 |
8 | This is a second Slide element.
9 |
10 |
11 |
12 |
13 | This is a third Slide element.
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/modules/initramfscfg/encrypt_hook:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # SPDX-FileCopyrightText: 2016 David McKinney
4 | # SPDX-License-Identifier: GPL-3.0-or-later
5 |
6 | PREREQ=""
7 |
8 | prereqs()
9 | {
10 | echo "$PREREQ"
11 | }
12 |
13 | case $1 in
14 | # get pre-requisites
15 | prereqs)
16 | prereqs
17 | exit 0
18 | ;;
19 | esac
20 |
21 | . /usr/share/initramfs-tools/hook-functions
22 | if [ -f /crypto_keyfile.bin ]
23 | then
24 | cp /crypto_keyfile.bin ${DESTDIR}
25 | fi
26 | if [ -f /etc/crypttab ]
27 | then
28 | cp /etc/crypttab ${DESTDIR}/etc/
29 | fi
30 |
--------------------------------------------------------------------------------
/src/modules/partition/tests/ClearMountsJobTests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef CLEARMOUNTSJOBTESTS_H
11 | #define CLEARMOUNTSJOBTESTS_H
12 |
13 | #include
14 |
15 | class ClearMountsJobTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | ClearMountsJobTests();
20 |
21 | private Q_SLOTS:
22 | void testFindPartitions();
23 | };
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/src/branding/default/lang/calamares-default_eo.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | show
6 |
7 |
8 | This is a second Slide element.
9 | Ĉi tio estas la dua gliteja.
10 |
11 |
12 |
13 | This is a third Slide element.
14 | Ĉi tio estas la tria gliteja.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/branding/default/lang/calamares-default_nl.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | show
6 |
7 |
8 | This is a second Slide element.
9 | Dit is het tweede Dia element.
10 |
11 |
12 |
13 | This is a third Slide element.
14 | Dit is het derde Dia element.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/modules/initcpio/Tests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef TESTS_H
11 | #define TESTS_H
12 |
13 | #include
14 |
15 | class InitcpioTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | InitcpioTests();
20 | ~InitcpioTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 | void testFixPermissions();
25 | };
26 |
27 | #endif
28 |
--------------------------------------------------------------------------------
/src/modules/plasmalnf/view-preview.svg:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/src/branding/default/lang/calamares-default_fr.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | show
6 |
7 |
8 | This is a second Slide element.
9 | Ceci est la deuxieme affiche.
10 |
11 |
12 |
13 | This is a third Slide element.
14 | La troisième affice ce trouve ici.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/modules/finished/finished.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/finished
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | restartNowEnabled: { type: boolean, default: true } # TODO:3.3: remove
10 | restartNowChecked: { type: boolean, default: false } # TODO:3.3: remove
11 | restartNowCommand: { type: string }
12 | restartNowMode: { type: string, enum: [ never, user-unchecked, user-checked, always ] }
13 | notifyOnFinished: { type: boolean }
14 |
--------------------------------------------------------------------------------
/ci/deps-kaos.sh:
--------------------------------------------------------------------------------
1 | #! /bin/sh
2 | #
3 | # Install dependencies for building on KaOS
4 | #
5 | # There is no docker image for KaOS, and the live ISO comes
6 | # with many useful things already installed, so the list
7 | # here is short. Use pacman -Syu once to update the whole
8 | # system to get latest libraries.
9 | #
10 | pacman -Syu --noconfirm git cmake ninja # No jq available
11 | pacman -S --noconfirm \
12 | "gcc" \
13 | "boost" \
14 | "qt6-tools" \
15 | "yaml-cpp" \
16 | "kpmcore" \
17 | "icu"
18 | pacman -S --noconfirm \
19 | "extra-cmake-modules" \
20 | "kiconthemes6" \
21 | "kservice6" \
22 | "kio6" \
23 | "kparts6" \
24 | "qt6-webengine"
25 | true
26 |
--------------------------------------------------------------------------------
/src/modules/dummycpp/dummycpp.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # This is a dummy (example) module for C++ Jobs.
5 | #
6 | # The code is the documentation for the configuration file.
7 | ---
8 | syntax: "YAML map of anything"
9 | example:
10 | whats_this: "module-specific configuration"
11 | from_where: "dummycpp.conf"
12 | a_list:
13 | - "item1"
14 | - "item2"
15 | - "item3"
16 | - "item4"
17 | a_list_of_maps:
18 | - name: "an Item"
19 | contents:
20 | - "an element"
21 | - "another element"
22 | - name: "another item"
23 | contents:
24 | - "not much"
25 |
--------------------------------------------------------------------------------
/ci/libcalamares/globalstorage.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Stubs for part of the Python API from libcalamares
5 | # (although the **actual** API is presented through
6 | # Boost::Python, not as a bare C-extension) so that
7 | # pylint doesn't complain about libcalamares internals.
8 |
9 | def count(): return 1
10 |
11 | def keys(): return []
12 |
13 | def contains(_): return True
14 |
15 | def value(key):
16 | if key in ("branding",):
17 | return dict()
18 | if key in ("partitions",):
19 | return list()
20 | return ""
21 |
22 | def insert(key, value): pass
23 |
24 | def remove(_): pass
25 |
--------------------------------------------------------------------------------
/data/images/state-ok.svg:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/src/modules/dummypython/dummypython.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # This is a dummy (example) module for a Python Job Module.
5 | #
6 | # The code is the documentation for the configuration file.
7 | ---
8 | syntax: "YAML map of anything"
9 | example:
10 | whats_this: "module-specific configuration"
11 | from_where: "dummypython.conf"
12 | a_list:
13 | - "item1"
14 | - "item2"
15 | - "item3"
16 | - "item4"
17 | a_list_of_maps:
18 | - name: "an Item"
19 | contents:
20 | - "an element"
21 | - "another element"
22 | - name: "another item"
23 | contents:
24 | - "not much"
25 |
--------------------------------------------------------------------------------
/src/modules/initcpiocfg/initcpiocfg.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2023 Evan James
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/initcpiocfg
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | useSystemdHook: { type: boolean }
10 | hooks:
11 | type: object
12 | additionalProperties: false
13 | properties:
14 | prepend: { type: array, items: { type: string } }
15 | append: { type: array, items: { type: string } }
16 | remove: { type: array, items: { type: string } }
17 | source: { type: string }
18 |
--------------------------------------------------------------------------------
/src/modules/finished/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | find_package(${qtname} ${QT_VERSION} CONFIG REQUIRED DBus Network)
7 |
8 | include_directories(${PROJECT_BINARY_DIR}/src/libcalamaresui)
9 |
10 | calamares_add_plugin(finished
11 | TYPE viewmodule
12 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
13 | SOURCES
14 | Config.cpp
15 | FinishedViewStep.cpp
16 | FinishedPage.cpp
17 | UI
18 | FinishedPage.ui
19 | LINK_PRIVATE_LIBRARIES
20 | ${qtname}::DBus
21 | SHARED_LIB
22 | )
23 |
--------------------------------------------------------------------------------
/src/libcalamares/modulesystem/Actions.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014 Teo Mrnjavac
4 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
5 | * SPDX-License-Identifier: GPL-3.0-or-later
6 | *
7 | * Calamares is Free Software: see the License-Identifier above.
8 | *
9 | *
10 | */
11 |
12 | #ifndef MODULESYSTEM_ACTIONS_H
13 | #define MODULESYSTEM_ACTIONS_H
14 |
15 | namespace Calamares
16 | {
17 | namespace ModuleSystem
18 | {
19 |
20 | enum class Action : char
21 | {
22 | Show,
23 | Exec
24 | };
25 |
26 | } // namespace ModuleSystem
27 | } // namespace Calamares
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/src/modules/tracking/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(tracking
7 | TYPE viewmodule
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | Config.cpp
11 | TrackingJobs.cpp
12 | TrackingPage.cpp
13 | TrackingViewStep.cpp
14 | UI
15 | page_trackingstep.ui
16 | RESOURCES
17 | page_trackingstep.qrc
18 | SHARED_LIB
19 | LINK_LIBRARIES
20 | ${kfname}::CoreAddons
21 | )
22 |
23 | calamares_add_test(trackingtest SOURCES Tests.cpp Config.cpp)
24 |
--------------------------------------------------------------------------------
/src/modules/oemid/oemid.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # This is an OEM setup (phase-0) configuration file.
5 | ---
6 | # The batch-identifier is written to /var/log/installer/oem-id.
7 | # This value is put into the text box as the **suggested**
8 | # OEM ID. If ${DATE} is included in the identifier, then
9 | # that is replaced by the current date in yyyy-MM-dd (ISO) format.
10 | #
11 | # It is ok for the identifier to be empty.
12 | #
13 | # The identifier is written to the file as UTF-8 (this will be no
14 | # different from ASCII, for most inputs) and followed by a newline.
15 | # If the identifier is empty, only a newline is written.
16 | batch-identifier: neon-${DATE}
17 |
--------------------------------------------------------------------------------
/src/modules/packagechooser/Tests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef PACKAGECHOOSERTESTS_H
11 | #define PACKAGECHOOSERTESTS_H
12 |
13 | #include
14 |
15 | class PackageChooserTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | PackageChooserTests();
20 | ~PackageChooserTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 | void testBogus();
25 | void testAppData();
26 | };
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | include(CalamaresAddBrandingSubdirectory)
7 | include(CalamaresAddLibrary)
8 | include(CalamaresAddModuleSubdirectory)
9 | include(CalamaresAddPlugin)
10 | include(CalamaresAddTest)
11 | include(CalamaresAddTranslations)
12 |
13 | # library
14 | add_subdirectory(libcalamares)
15 | add_subdirectory(libcalamaresui)
16 |
17 | add_subdirectory(qml)
18 |
19 | # application
20 | add_subdirectory(calamares)
21 |
22 | # plugins
23 | add_subdirectory(modules)
24 |
25 | # branding components
26 | add_subdirectory(branding)
27 |
--------------------------------------------------------------------------------
/3rdparty/pybind11/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | ## Supported Versions
4 |
5 | Security updates are applied only to the latest release.
6 |
7 | ## Reporting a Vulnerability
8 |
9 | If you have discovered a security vulnerability in this project, please report it privately. **Do not disclose it as a public issue.** This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.
10 |
11 | Please disclose it at [security advisory](https://github.com/pybind/pybind11/security/advisories/new).
12 |
13 | This project is maintained by a team of volunteers on a reasonable-effort basis. As such, please give us at least 90 days to work on a fix before public exposure.
14 |
--------------------------------------------------------------------------------
/data/images/state-error.svg:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/src/modules/displaymanager/tests/test-dm-sddm.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Calamares Boilerplate
5 | import libcalamares
6 | libcalamares.globalstorage = libcalamares.GlobalStorage(None)
7 | libcalamares.globalstorage.insert("testing", True)
8 |
9 | # Module prep-work
10 | from src.modules.displaymanager import main
11 | default_desktop_environment = main.DesktopEnvironment("startplasma-x11", "kde-plasma.desktop")
12 |
13 | # Specific DM test
14 | d = main.DMsddm("/tmp")
15 | d.set_autologin("d", True, default_desktop_environment)
16 | # .. and again (this time checks load/save)
17 | d.set_autologin("d", True, default_desktop_environment)
18 | d.set_autologin("d", True, default_desktop_environment)
19 |
--------------------------------------------------------------------------------
/src/modules/partition/jobs/PartitionJob.cpp:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014 Aurélien Gâteau
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #include "PartitionJob.h"
11 |
12 | PartitionJob::PartitionJob( Partition* partition )
13 | : m_partition( partition )
14 | {
15 | }
16 |
17 | void
18 | PartitionJob::iprogress( int percent )
19 | {
20 | if ( percent < 0 )
21 | {
22 | percent = 0;
23 | }
24 | if ( percent > 100 )
25 | {
26 | percent = 100;
27 | }
28 | Q_EMIT progress( qreal( percent / 100.0 ) );
29 | }
30 |
--------------------------------------------------------------------------------
/data/images/help-donate.svg:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/ci/libcalamares/utils.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Stubs for part of the Python API from libcalamares
5 | # (although the **actual** API is presented through
6 | # Boost::Python, not as a bare C-extension) so that
7 | # pylint doesn't complain about libcalamares internals.
8 |
9 | def debug(_): pass
10 |
11 | def warning(_): pass
12 |
13 | def error(_): pass
14 |
15 | def gettext_path(): pass
16 |
17 | def gettext_languages(): pass
18 |
19 | def target_env_call(_): return 0
20 |
21 | def check_target_env_call(_): pass
22 |
23 | def target_env_process_output(cmd, *args): return 0
24 |
25 | def host_env_process_output(cmd, *args): return 0
26 |
27 | def mount(device, mountpoint, fstype, options): return 0
28 |
--------------------------------------------------------------------------------
/src/modules/fstab/test2.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # This test shows how btrfs root would work
5 | rootMountPoint: /tmp/mount
6 | partitions:
7 | - device: /dev/sda1
8 | fs: btrfs
9 | mountPoint: /
10 | uuid: 2a00f1d5-1217-49a7-bedd-b55c85764732
11 | - device: /dev/sda2
12 | fs: swap
13 | uuid: 59406569-446f-4730-a874-9f6b4b44fee3
14 | mountPoint:
15 | - device: /dev/sdb1
16 | fs: btrfs
17 | mountPoint: /home
18 | uuid: 59406569-abcd-1234-a874-9f6b4b44fee3
19 | btrfsSubvolumes:
20 | - mountPoint: /
21 | subvolume: "@ROOT"
22 | - mountPoint: /var
23 | subvolume: "@var"
24 | - mountPoint: /usr/local
25 | subvolume: "@local"
26 |
--------------------------------------------------------------------------------
/src/modules/initramfs/Tests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef TESTS_H
11 | #define TESTS_H
12 |
13 | #include
14 |
15 | class InitramfsTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | InitramfsTests();
20 | ~InitramfsTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 | void cleanup();
25 |
26 | // TODO: this doesn't actually test any of the functionality of this job
27 | void testCreateTargetFile();
28 | };
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/src/modules/fsresizer/Tests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef TESTS_H
11 | #define TESTS_H
12 |
13 | #include
14 |
15 | class FSResizerTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | FSResizerTests();
20 | ~FSResizerTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 | // Can handle missing values
25 | void testConfigurationRobust();
26 | // Can parse % and MiB values
27 | void testConfigurationValues();
28 | };
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/src/modules/partition/gui/BootInfoWidget.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 |
11 | #ifndef BOOTINFOWIDGET_H
12 | #define BOOTINFOWIDGET_H
13 |
14 | #include
15 |
16 | class QLabel;
17 |
18 | class BootInfoWidget : public QWidget
19 | {
20 | Q_OBJECT
21 | public:
22 | explicit BootInfoWidget( QWidget* parent = nullptr );
23 |
24 | public slots:
25 | void retranslateUi();
26 |
27 | private:
28 | QLabel* m_bootIcon;
29 | QLabel* m_bootLabel;
30 | };
31 |
32 | #endif // BOOTINFOWIDGET_H
33 |
--------------------------------------------------------------------------------
/src/modules/interactiveterminal/interactiveterminal.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # The interactive terminal provides a konsole (terminal) window
5 | # during the installation process. The terminal runs in the
6 | # host system, so you will need to change directories to the
7 | # target system to examine the state there.
8 | #
9 | # The one configuration key *command*, if defined, is passed
10 | # as a command to run in the terminal window before any user
11 | # input is accepted. The user must exit the terminal manually
12 | # or click *next* to proceed to the next installation step.
13 | #
14 | # If no command is defined, no command is run and the user
15 | # gets a plain terminal session.
16 | ---
17 | command: "echo Hello"
18 |
--------------------------------------------------------------------------------
/src/libcalamares/network/Tests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef LIBCALAMARES_NETWORK_TESTS_H
11 | #define LIBCALAMARES_NETWORK_TESTS_H
12 |
13 | #include
14 |
15 | class NetworkTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | NetworkTests();
20 | ~NetworkTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 |
25 | void testInstance();
26 | void testPing();
27 |
28 | void testCheckUrl();
29 | void testCheckMultiUrl();
30 | };
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/src/modules/locale/SetTimezoneJob.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef SETTIMEZONEJOB_H
11 | #define SETTIMEZONEJOB_H
12 |
13 | #include "Job.h"
14 |
15 |
16 | class SetTimezoneJob : public Calamares::Job
17 | {
18 | Q_OBJECT
19 | public:
20 | SetTimezoneJob( const QString& region, const QString& zone );
21 |
22 | QString prettyName() const override;
23 | Calamares::JobResult exec() override;
24 |
25 | private:
26 | QString m_region;
27 | QString m_zone;
28 | };
29 |
30 | #endif /* SETTIMEZONEJOB_H */
31 |
--------------------------------------------------------------------------------
/src/modules/keyboard/keyboard.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/finished
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | xOrgConfFileName: { type: string }
10 | convertedKeymapPath: { type: string }
11 | writeEtcDefaultKeyboard: { type: boolean, default: true }
12 | useLocale1: { type: boolean, default: false }
13 | guessLayout: { type: boolean, default: true }
14 | configure:
15 | additionalProperties: false
16 | type: object
17 | properties:
18 | kwin: { type: boolean, default: false }
19 | required: [ xOrgConfFileName, convertedKeymapPath ]
20 |
--------------------------------------------------------------------------------
/src/modules/license/license.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/license
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | entries:
10 | type: array
11 | items:
12 | type: object
13 | additionalProperties: false
14 | properties:
15 | id: { type: string }
16 | name: { type: string }
17 | vendor: { type: string }
18 | type: { type: string }
19 | url: { type: string }
20 | required: { type: boolean, default: false }
21 | expand: { type: boolean, default: false }
22 |
--------------------------------------------------------------------------------
/ci/deps-neon.sh:
--------------------------------------------------------------------------------
1 | #! /bin/sh
2 | #
3 | # Install dependencies for the nightly-neon build
4 | #
5 | apt-get update
6 | apt-get -y install git-core jq ninja
7 | apt-get -y install \
8 | build-essential \
9 | cmake \
10 | extra-cmake-modules \
11 | gettext \
12 | kio-dev \
13 | libatasmart-dev \
14 | libboost-python-dev \
15 | libkf5config-dev \
16 | libkf5coreaddons-dev \
17 | libkf5i18n-dev \
18 | libkf5iconthemes-dev \
19 | libkf5parts-dev \
20 | libkf5service-dev \
21 | libkf5solid-dev \
22 | libkpmcore-dev \
23 | libparted-dev \
24 | libpolkit-qt5-1-dev \
25 | libqt5svg5-dev \
26 | libqt5webkit5-dev \
27 | libyaml-cpp-dev \
28 | ninja-build \
29 | os-prober \
30 | pkg-config \
31 | python3-dev \
32 | qtbase5-dev \
33 | qtdeclarative5-dev \
34 | qttools5-dev \
35 | qttools5-dev-tools
36 | true
37 |
--------------------------------------------------------------------------------
/src/modules/machineid/machineid.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/machineid
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | systemd: { type: boolean, default: false }
10 | "systemd-style": { type: string, enum: [ uuid, blank, literal-uninitialized ] }
11 | dbus: { type: boolean, default: false }
12 | "dbus-symlink": { type: boolean, default: false }
13 | "entropy-copy": { type: boolean, default: false }
14 | "entropy-files": { type: array, items: { type: string } }
15 | # Deprecated properties
16 | symlink: { type: boolean, default: false }
17 | entropy: { type: boolean, default: false }
18 |
--------------------------------------------------------------------------------
/src/modules/contextualprocess/Tests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef TESTS_H
11 | #define TESTS_H
12 |
13 | #include
14 |
15 | class ContextualProcessTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | ContextualProcessTests();
20 | ~ContextualProcessTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 | // Check the sample config file is processed correctly
25 | void testProcessListSampleConfig();
26 |
27 | // Variable binding lookup
28 | void testFetch();
29 | };
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/src/modules/tracking/TrackingType.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2017 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef TRACKINGTYPE_H
11 | #define TRACKINGTYPE_H
12 |
13 | #include "utils/NamedEnum.h"
14 |
15 | enum class TrackingType
16 | {
17 | NoTracking, // Do not enable tracking at all
18 | InstallTracking, // Track that *this* install has happened
19 | MachineTracking, // Track the machine, ongoing
20 | UserTracking // Track the user, ongoing
21 | };
22 |
23 | // Implemented in Config.cpp
24 | const NamedEnumTable< TrackingType >& trackingNames();
25 |
26 | #endif //TRACKINGTYPE_H
27 |
--------------------------------------------------------------------------------
/src/modules/unpackfsc/unpackfsc.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/unpackfsc
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | unpack:
10 | type: array
11 | items:
12 | type: object
13 | additionalProperties: false
14 | properties:
15 | source: { type: string }
16 | sourcefs: { type: string }
17 | destination: { type: string }
18 | condition:
19 | anyOf:
20 | - type: boolean
21 | - type: string
22 | required: [ source , sourcefs, destination ]
23 |
--------------------------------------------------------------------------------
/src/modules/grubcfg/tests/CMakeTests.txt:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Special cases for grubcfg configuration tests:
5 | # - 2.global specifies /tmp/calamares as the rootMountPath,
6 | # so we end up editing files there. Create the directory
7 | # beforehand, so the test doesn't blow up.
8 |
9 | add_test(
10 | NAME make-grubcfg-dirs
11 | COMMAND
12 | ${CMAKE_COMMAND} -E make_directory /tmp/calamares/grubcfg-test-2/etc/default
13 | /tmp/calamares/grubcfg-test-3/etc/default /tmp/calamares/grubcfg-test-4/etc/default/grub.d
14 | )
15 | set_tests_properties(load-grubcfg-2 PROPERTIES DEPENDS make-grubcfg-dirs)
16 | set_tests_properties(load-grubcfg-3 PROPERTIES DEPENDS make-grubcfg-dirs)
17 | set_tests_properties(load-grubcfg-4 PROPERTIES DEPENDS make-grubcfg-dirs)
18 |
--------------------------------------------------------------------------------
/src/libcalamares/compat/Mutex.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2023 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | *
9 | */
10 | #ifndef CALAMARES_COMPAT_MUTEX_H
11 | #define CALAMARES_COMPAT_MUTEX_H
12 |
13 | #include
14 |
15 | namespace Calamares
16 | {
17 |
18 | /*
19 | * In Qt5, QMutexLocker is a class and operates implicitly on
20 | * QMutex but in Qt6 it is a template and needs a specialization.
21 | */
22 | #if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
23 | using MutexLocker = QMutexLocker;
24 | #else
25 | using MutexLocker = QMutexLocker< QMutex >;
26 | #endif
27 |
28 | } // namespace Calamares
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/src/libcalamares/JobExample.cpp:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 | #include "JobExample.h"
10 |
11 | namespace Calamares
12 | {
13 |
14 | QString
15 | NamedJob::prettyName() const
16 | {
17 | return tr( "Example job (%1)" ).arg( m_name );
18 | }
19 |
20 | JobResult
21 | GoodJob::exec()
22 | {
23 | return JobResult::ok();
24 | }
25 |
26 | JobResult
27 | FailJob::exec()
28 | {
29 | return JobResult::error( tr( "Job failed (%1)" ).arg( m_name ),
30 | tr( "Programmed job failure was explicitly requested." ) );
31 | }
32 |
33 | } // namespace Calamares
34 |
--------------------------------------------------------------------------------
/src/libcalamares/utils/UMask.cpp:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | *
7 | * Calamares is Free Software: see the License-Identifier above.
8 | *
9 | *
10 | */
11 |
12 | #include "UMask.h"
13 |
14 | #include
15 | #include
16 |
17 | namespace Calamares
18 | {
19 | mode_t
20 | setUMask( mode_t u )
21 | {
22 | return umask( u );
23 | }
24 |
25 | UMask::UMask( mode_t u )
26 | : m_mode( setUMask( u ) )
27 | {
28 | }
29 |
30 | UMask::~UMask()
31 | {
32 | setUMask( m_mode );
33 | }
34 |
35 | static_assert( UMask::Safe == ( S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH ), "Bad permissions." );
36 |
37 | } // namespace Calamares
38 |
--------------------------------------------------------------------------------
/src/modules/keyboard/AdditionalLayoutInfo.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2020 Artem Grinev
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef KEYBOARD_ADDITIONAL_LAYOUT_INFO_H
11 | #define KEYBOARD_ADDITIONAL_LAYOUT_INFO_H
12 |
13 | #include
14 |
15 | struct BasicLayoutInfo
16 | {
17 | QString selectedLayout;
18 | QString selectedModel;
19 | QString selectedVariant;
20 | QString selectedGroup;
21 | };
22 |
23 | struct AdditionalLayoutInfo
24 | {
25 | QString additionalLayout;
26 | QString additionalVariant;
27 |
28 | QString groupSwitcher;
29 |
30 | QString vconsoleKeymap;
31 | };
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/src/modules/services-systemd/services-systemd.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/services-systemd
6 | definitions:
7 | unit:
8 | $id: 'definitions/unit'
9 | type: object
10 | description: a map containing a unit name, an action, and whether it is mandatory
11 | additionalProperties: false
12 | properties:
13 | name: { type: string }
14 | action: { type: string, default: "enable" }
15 | mandatory: { type: boolean, default: false }
16 | required: [ name ]
17 |
18 | additionalProperties: false
19 | type: object
20 | properties:
21 | units: { type: array, items: { $ref: 'definitions/unit' } }
22 |
--------------------------------------------------------------------------------
/src/libcalamares/CalamaresVersion.h.in:
--------------------------------------------------------------------------------
1 | // SPDX-FileCopyrightText: no
2 | // SPDX-License-Identifier: CC0-1.0
3 | #ifndef CALAMARES_VERSION_H
4 | #define CALAMARES_VERSION_H
5 |
6 | #cmakedefine CALAMARES_ORGANIZATION_NAME "${CALAMARES_ORGANIZATION_NAME}"
7 | #cmakedefine CALAMARES_ORGANIZATION_DOMAIN "${CALAMARES_ORGANIZATION_DOMAIN}"
8 | #cmakedefine CALAMARES_APPLICATION_NAME "${CALAMARES_APPLICATION_NAME}"
9 | #cmakedefine CALAMARES_VERSION "${CALAMARES_VERSION_SHORT}"
10 | #cmakedefine CALAMARES_VERSION_SHORT "${CALAMARES_VERSION_SHORT}"
11 |
12 | #cmakedefine CALAMARES_VERSION_MAJOR "${CALAMARES_VERSION_MAJOR}"
13 | #cmakedefine CALAMARES_VERSION_MINOR "${CALAMARES_VERSION_MINOR}"
14 | #cmakedefine CALAMARES_VERSION_PATCH "${CALAMARES_VERSION_PATCH}"
15 | #cmakedefine CALAMARES_VERSION_RC "${CALAMARES_VERSION_RC}"
16 |
17 | #endif // CALAMARES_VERSION_H
18 |
--------------------------------------------------------------------------------
/data/completion/bash/calamares:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Gaël PORTAY
4 | # SPDX-License-Identifier: GPL-3.0-or-later
5 | #
6 | # Calamares is Free Software: see the License-Identifier above.
7 | #
8 |
9 | _calamares()
10 | {
11 | local cur prev words cword
12 | _init_completion || return
13 |
14 | case "$prev" in
15 | -D)
16 | COMPREPLY=( $( compgen -W "$( seq 0 1 8 )" -- "$cur" ) )
17 | return
18 | ;;
19 | -c|--config)
20 | _filedir
21 | return
22 | ;;
23 | esac
24 |
25 | COMPREPLY=( $( compgen -W "-h --help -v --version -d --debug -D -c --config -X -xdg-config -T --debug-translation" -- "$cur" ) )
26 | } &&
27 | complete -F _calamares calamares
28 |
--------------------------------------------------------------------------------
/src/libcalamares/pybind11/Pybind11Helpers.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2023 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef CALAMARES_PYBIND11_PYBIND11HELPERS_H
11 | #define CALAMARES_PYBIND11_PYBIND11HELPERS_H
12 |
13 | #include "PythonTypes.h"
14 |
15 | #include
16 |
17 | namespace Calamares
18 | {
19 | namespace Python __attribute__( ( visibility( "hidden" ) ) )
20 | {
21 | inline QString asQString( const pybind11::handle& o )
22 | {
23 | return QString::fromUtf8( pybind11::str( o ).cast< std::string >().c_str() );
24 | }
25 |
26 | } // namespace Python
27 | } // namespace Calamares
28 |
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/src/modules/locale/LCLocaleDialog.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef LCLOCALEDIALOG_H
11 | #define LCLOCALEDIALOG_H
12 |
13 | #include
14 |
15 | class QListWidget;
16 |
17 | class LCLocaleDialog : public QDialog
18 | {
19 | Q_OBJECT
20 | public:
21 | explicit LCLocaleDialog( const QString& guessedLCLocale,
22 | const QStringList& localeGenLines,
23 | QWidget* parent = nullptr );
24 |
25 | QString selectedLCLocale();
26 |
27 | private:
28 | QListWidget* m_localesWidget;
29 | };
30 |
31 | #endif // LCLOCALEDIALOG_H
32 |
--------------------------------------------------------------------------------
/src/modules/oemid/IDJob.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2019 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef IDJOB_H
11 | #define IDJOB_H
12 |
13 | #include "Job.h"
14 |
15 | #include
16 |
17 | class IDJob : public Calamares::Job
18 | {
19 | Q_OBJECT
20 | public:
21 | explicit IDJob( const QString& id, QObject* parent = nullptr );
22 |
23 | virtual QString prettyName() const override;
24 | virtual Calamares::JobResult exec() override;
25 |
26 | private:
27 | Calamares::JobResult writeId( const QString&, const QString&, const QString& );
28 |
29 | QString m_batchIdentifier;
30 | };
31 |
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/src/modules/summaryq/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2021 Anke Boersma
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | if(NOT WITH_QML)
7 | calamares_skip_module( "summaryq (QML is not supported in this build)" )
8 | return()
9 | endif()
10 |
11 | set(_summary ${CMAKE_CURRENT_SOURCE_DIR}/../summary)
12 | include_directories(${_summary})
13 |
14 | calamares_add_plugin(summaryq
15 | TYPE viewmodule
16 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
17 | SOURCES
18 | SummaryQmlViewStep.cpp
19 | ${_summary}/Config.cpp
20 | ${_summary}/SummaryModel.cpp
21 | UI
22 | RESOURCES
23 | summaryq${QT_VERSION_SUFFIX}.qrc
24 | LINK_PRIVATE_LIBRARIES
25 | calamaresui
26 | SHARED_LIB
27 | NO_CONFIG
28 | )
29 |
--------------------------------------------------------------------------------
/src/modules/keyboard/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 |
7 | calamares_add_plugin(keyboard
8 | TYPE viewmodule
9 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
10 | SOURCES
11 | Config.cpp
12 | KeyboardViewStep.cpp
13 | KeyboardPage.cpp
14 | KeyboardLayoutModel.cpp
15 | SetKeyboardLayoutJob.cpp
16 | keyboardwidget/keyboardglobal.cpp
17 | keyboardwidget/keyboardpreview.cpp
18 | UI
19 | KeyboardPage.ui
20 | RESOURCES
21 | keyboard.qrc
22 | SHARED_LIB
23 | LINK_LIBRARIES
24 | ${qtname}::DBus
25 | )
26 |
27 | calamares_add_test(keyboardtest SOURCES Tests.cpp SetKeyboardLayoutJob.cpp RESOURCES keyboard.qrc)
28 |
--------------------------------------------------------------------------------
/src/modules/plasmalnf/PlasmaLnfJob.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2017 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef PLASMALNFJOB_H
11 | #define PLASMALNFJOB_H
12 |
13 | #include
14 | #include
15 |
16 | #include "Job.h"
17 |
18 | class PlasmaLnfJob : public Calamares::Job
19 | {
20 | Q_OBJECT
21 |
22 | public:
23 | explicit PlasmaLnfJob( const QString& lnfPath, const QString& id );
24 | ~PlasmaLnfJob() override;
25 |
26 | QString prettyName() const override;
27 |
28 | Calamares::JobResult exec() override;
29 |
30 | private:
31 | QString m_lnfPath;
32 | QString m_id;
33 | };
34 |
35 | #endif // PLASMALNFJOB_H
36 |
--------------------------------------------------------------------------------
/ci/deps-fedora-qt6.sh:
--------------------------------------------------------------------------------
1 | #! /bin/sh
2 | #
3 | # Install dependencies for the nightly-fedora-qt6 build
4 | #
5 |
6 | yum install -y bison flex git make cmake gcc-c++ ninja-build
7 | yum install -y yaml-cpp-devel libpwquality-devel parted-devel python-devel gettext gettext-devel python3-pyyaml
8 | yum install -y libicu-devel libatasmart-devel
9 | # Qt6/KF6 dependencies
10 | yum install -y qt6-qtbase-devel qt6-linguist qt6-qtbase-private-devel qt6-qtdeclarative-devel qt6-qtsvg-devel qt6-qttools-devel
11 | yum install -y extra-cmake-modules kf6-kcoreaddons-devel kf6-kdbusaddons-devel kf6-kcrash-devel
12 | yum install -y kf6-kconfig-devel kf6-ki18n-devel kf6-kwidgetsaddons-devel kf6-kservice-devel
13 | yum install -y polkit-qt6-1-devel appstream-qt-devel
14 | # Runtime dependencies for QML modules
15 | yum install -y kf6-kirigami2-devel || true
16 | yum install -y qt6-qt5compat-devel || true
17 | true
18 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/keyboardq.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # NOTE: you must have ckbcomp installed and runnable
5 | # on the live system, for keyboard layout previews.
6 | ---
7 | # The name of the file to write X11 keyboard settings to
8 | # The default value is the name used by upstream systemd-localed.
9 | # Relative paths are assumed to be relative to /etc/X11/xorg.conf.d
10 | xOrgConfFileName: "/etc/X11/xorg.conf.d/00-keyboard.conf"
11 |
12 | # The path to search for keymaps converted from X11 to kbd format
13 | # Leave this empty if the setting does not make sense on your distribution.
14 | convertedKeymapPath: "/lib/kbd/keymaps/xkb"
15 |
16 | # Write keymap configuration to /etc/default/keyboard, usually
17 | # found on Debian-related systems.
18 | # Defaults to true if nothing is set.
19 | #writeEtcDefaultKeyboard: true
20 |
--------------------------------------------------------------------------------
/src/modules/users/CreateUserJob.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef CREATEUSERJOB_H
11 | #define CREATEUSERJOB_H
12 |
13 | #include "Job.h"
14 |
15 | class Config;
16 |
17 | class CreateUserJob : public Calamares::Job
18 | {
19 | Q_OBJECT
20 | public:
21 | CreateUserJob( const Config* config );
22 | QString prettyName() const override;
23 | QString prettyDescription() const override;
24 | QString prettyStatusMessage() const override;
25 | Calamares::JobResult exec() override;
26 |
27 | private:
28 | const Config* m_config;
29 | QString m_status;
30 | };
31 |
32 | #endif /* CREATEUSERJOB_H */
33 |
--------------------------------------------------------------------------------
/data/config-appimage/modules/keyboard.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # NOTE: you must have ckbcomp installed and runnable
5 | # on the live system, for keyboard layout previews.
6 | ---
7 | # The name of the file to write X11 keyboard settings to
8 | # The default value is the name used by upstream systemd-localed.
9 | # Relative paths are assumed to be relative to /etc/X11/xorg.conf.d
10 | xOrgConfFileName: "/etc/X11/xorg.conf.d/00-keyboard.conf"
11 |
12 | # The path to search for keymaps converted from X11 to kbd format
13 | # Leave this empty if the setting does not make sense on your distribution.
14 | convertedKeymapPath: "/lib/kbd/keymaps/xkb"
15 |
16 | # Write keymap configuration to /etc/default/keyboard, usually
17 | # found on Debian-related systems.
18 | # Defaults to true if nothing is set.
19 | #writeEtcDefaultKeyboard: true
20 |
--------------------------------------------------------------------------------
/src/libcalamares/geoip/GeoIPTests.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef GEOIPTESTS_H
11 | #define GEOIPTESTS_H
12 |
13 | #include
14 |
15 | class GeoIPTests : public QObject
16 | {
17 | Q_OBJECT
18 | public:
19 | GeoIPTests();
20 | ~GeoIPTests() override;
21 |
22 | private Q_SLOTS:
23 | void initTestCase();
24 | void testFixed();
25 | void testJSON();
26 | void testJSONalt();
27 | void testJSONbad();
28 | void testXML();
29 | void testXML2();
30 | void testXMLalt();
31 | void testXMLbad();
32 | void testSplitTZ();
33 |
34 | void testGet();
35 | };
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/src/modules/netinstall/tests/data-large.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | - name: "Default"
5 | description: "Default group"
6 | hidden: false
7 | selected: true
8 | critical: false
9 | packages:
10 | - base
11 | - name: "Two"
12 | description: "group 2"
13 | hidden: false
14 | selected: true
15 | critical: false
16 | packages:
17 | - chakra-live-two
18 | - name: "Three"
19 | description: "group 3"
20 | hidden: false
21 | selected: true
22 | critical: false
23 | packages:
24 | - chakra-live-three
25 | - name: "Four"
26 | description: "group 4"
27 | hidden: false
28 | selected: true
29 | critical: false
30 | packages:
31 | - chakra-live-four
32 | - name: "Five"
33 | description: "group 5"
34 | hidden: false
35 | selected: true
36 | critical: false
37 | packages:
38 | - chakra-live-five
39 |
--------------------------------------------------------------------------------
/src/libcalamares/geoip/GeoIPFixed.cpp:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #include "GeoIPFixed.h"
11 |
12 | namespace Calamares
13 | {
14 | namespace GeoIP
15 | {
16 |
17 | GeoIPFixed::GeoIPFixed( const QString& attribute )
18 | : Interface( attribute.isEmpty() ? QStringLiteral( "Europe/Amsterdam" ) : attribute )
19 | {
20 | }
21 |
22 | QString
23 | GeoIPFixed::rawReply( const QByteArray& )
24 | {
25 | return m_element;
26 | }
27 |
28 | GeoIP::RegionZonePair
29 | GeoIPFixed::processReply( const QByteArray& data )
30 | {
31 | return splitTZString( rawReply( data ) );
32 | }
33 |
34 | } // namespace GeoIP
35 | } // namespace Calamares
36 |
--------------------------------------------------------------------------------
/src/modules/unpackfsc/TarballRunner.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2022 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef UNPACKFSC_TARBALLRUNNER_H
11 | #define UNPACKFSC_TARBALLRUNNER_H
12 |
13 | #include "Runners.h"
14 |
15 | /** @brief Use (GNU) tar for extracting a filesystem
16 | *
17 | */
18 | class TarballRunner : public Runner
19 | {
20 | Q_OBJECT
21 | public:
22 | using Runner::Runner;
23 |
24 | Calamares::JobResult run() override;
25 |
26 | protected Q_SLOTS:
27 | void tarballProgress( QString line );
28 |
29 | private:
30 | // Progress reporting
31 | int m_total = 0;
32 | int m_processed = 0;
33 | int m_since = 0;
34 | };
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/src/modules/usersq/usersq.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # For documentation see Users Module users.conf
5 | #
6 | ---
7 | # Used as default groups for the created user.
8 | # Adjust to your Distribution defaults.
9 | defaultGroups:
10 | - users
11 | - lp
12 | - video
13 | - network
14 | - storage
15 | - wheel
16 | - audio
17 | - lpadmin
18 |
19 | autologinGroup: autologin
20 |
21 | doAutologin: true
22 |
23 | sudoersGroup: wheel
24 |
25 | setRootPassword: true
26 |
27 | doReusePassword: true
28 |
29 | passwordRequirements:
30 | minLength: -1
31 | maxLength: -1
32 | libpwquality:
33 | - minlen=0
34 | - minclass=0
35 |
36 | allowWeakPasswords: false
37 |
38 | allowWeakPasswordsDefault: false
39 |
40 | userShell: /bin/bash
41 |
42 | setHostname: EtcFile
43 |
44 | writeHostsFile: true
45 |
--------------------------------------------------------------------------------
/src/libcalamares/CppJob.cpp:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014 Teo Mrnjavac
4 | * SPDX-FileCopyrightText: 2016 Kevin Kofler
5 | * SPDX-License-Identifier: GPL-3.0-or-later
6 | *
7 | * Calamares is Free Software: see the License-Identifier above.
8 | *
9 | */
10 |
11 | #include "CppJob.h"
12 |
13 | namespace Calamares
14 | {
15 |
16 | CppJob::CppJob( QObject* parent )
17 | : Job( parent )
18 | {
19 | }
20 |
21 |
22 | CppJob::~CppJob() {}
23 |
24 |
25 | void
26 | CppJob::setModuleInstanceKey( const Calamares::ModuleSystem::InstanceKey& instanceKey )
27 | {
28 | m_instanceKey = instanceKey;
29 | }
30 |
31 |
32 | void
33 | CppJob::setConfigurationMap( const QVariantMap& configurationMap )
34 | {
35 | Q_UNUSED( configurationMap )
36 | }
37 |
38 | } // namespace Calamares
39 |
--------------------------------------------------------------------------------
/src/modules/partition/gui/ListPhysicalVolumeWidgetItem.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Caio Jordão Carvalho
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef LISTPHYSICALVOLUMEWIDGETITEM_H
11 | #define LISTPHYSICALVOLUMEWIDGETITEM_H
12 |
13 | #include
14 |
15 | #include
16 |
17 | class ListPhysicalVolumeWidgetItem : public QListWidgetItem
18 | {
19 | public:
20 | ListPhysicalVolumeWidgetItem( const Partition* partition, bool checked );
21 | ~ListPhysicalVolumeWidgetItem() override;
22 |
23 | const Partition* partition() const;
24 |
25 | private:
26 | const Partition* m_partition;
27 | };
28 |
29 | #endif // LISTPHYSICALVOLUMEWIDGETITEM_H
30 |
--------------------------------------------------------------------------------
/src/modules/partition/jobs/ClearTempMountsJob.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef CLEARTEMPMOUNTSJOB_H
11 | #define CLEARTEMPMOUNTSJOB_H
12 |
13 | #include "Job.h"
14 |
15 | class Device;
16 |
17 | /**
18 | * This job tries to free all temporary mounts used by Calamares, so partitioning
19 | * operations can proceed.
20 | */
21 | class ClearTempMountsJob : public Calamares::Job
22 | {
23 | Q_OBJECT
24 | public:
25 | explicit ClearTempMountsJob();
26 | QString prettyName() const override;
27 | QString prettyStatusMessage() const override;
28 | Calamares::JobResult exec() override;
29 | };
30 |
31 | #endif // CLEARTEMPMOUNTSJOB_H
32 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt5/slideshow/SlideCounter.qml:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | /* This control just shows a (non-translated) count of the slides
11 | * in the slideshow in the format "n / total".
12 | */
13 |
14 | import QtQuick 2.5;
15 |
16 | Rectangle {
17 | id: slideCounter
18 | anchors.right: parent.right
19 | anchors.bottom: parent.bottom
20 | width: 100
21 | height: 50
22 |
23 | Text {
24 | id: slideCounterText
25 | anchors.centerIn: parent
26 | //: slide counter, %1 of %2 (numeric)
27 | text: qsTr("%L1 / %L2").arg(parent.parent.currentSlide + 1).arg(parent.parent.slides.length)
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/qml/calamares-qt6/slideshow/SlideCounter.qml:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2018 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | /* This control just shows a (non-translated) count of the slides
11 | * in the slideshow in the format "n / total".
12 | */
13 |
14 | import QtQuick 2.5;
15 |
16 | Rectangle {
17 | id: slideCounter
18 | anchors.right: parent.right
19 | anchors.bottom: parent.bottom
20 | width: 100
21 | height: 50
22 |
23 | Text {
24 | id: slideCounterText
25 | anchors.centerIn: parent
26 | //: slide counter, %1 of %2 (numeric)
27 | text: qsTr("%L1 / %L2").arg(parent.parent.currentSlide + 1).arg(parent.parent.slides.length)
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/data/config-appimage/settings.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Configuration file for Calamares
5 | # Syntax is YAML 1.2
6 | ---
7 | modules-search: [ usr/lib/calamares/modules ]
8 |
9 | # YAML: list of maps of string:string key-value pairs.
10 | #instances:
11 | #- id: owncloud
12 | # module: webview
13 | # config: owncloud.conf
14 |
15 | # Sequence section. This section describes the sequence of modules, both
16 | # viewmodules and jobmodules, as they should appear and/or run.
17 | sequence:
18 | - show:
19 | - welcome
20 | - locale
21 | - keyboard
22 | - users
23 | - summary
24 | - exec:
25 | - dummypython
26 | - locale
27 | - keyboard
28 | - users
29 | - displaymanager
30 | - networkcfg
31 | - show:
32 | - finished
33 |
34 | branding: default
35 |
36 | prompt-install: false
37 | # OEM mode
38 | dont-chroot: true
39 | disable-cancel: false
40 |
--------------------------------------------------------------------------------
/ci/deps-fedora-qt6-boost.sh:
--------------------------------------------------------------------------------
1 | #! /bin/sh
2 | #
3 | # Install dependencies for the nightly-fedora-qt6-boost build
4 | #
5 |
6 | yum install -y bison flex git make cmake gcc-c++ ninja-build
7 | yum install -y yaml-cpp-devel libpwquality-devel parted-devel python-devel gettext gettext-devel python3-pyyaml
8 | yum install -y libicu-devel libatasmart-devel
9 | yum install -y boost-devel
10 | # Qt6/KF6 dependencies
11 | yum install -y qt6-qtbase-devel qt6-linguist qt6-qtbase-private-devel qt6-qtdeclarative-devel qt6-qtsvg-devel qt6-qttools-devel
12 | yum install -y extra-cmake-modules kf6-kcoreaddons-devel kf6-kdbusaddons-devel kf6-kcrash-devel
13 | yum install -y kf6-kconfig-devel kf6-ki18n-devel kf6-kwidgetsaddons-devel kf6-kservice-devel
14 | yum install -y polkit-qt6-1-devel appstream-qt-devel
15 | # Runtime dependencies for QML modules
16 | yum install -y kf6-kirigami2-devel || true
17 | yum install -y qt6-qt5compat-devel || true
18 | true
19 |
--------------------------------------------------------------------------------
/src/libcalamares/compat/CheckBox.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2024 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | *
9 | */
10 | #ifndef CALAMARES_COMPAT_XML_H
11 | #define CALAMARES_COMPAT_XML_H
12 |
13 | #include
14 |
15 | namespace Calamares
16 | {
17 |
18 | #if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 )
19 | using checkBoxStateType = int;
20 | const auto checkBoxStateChangedSignal = &QCheckBox::stateChanged;
21 | constexpr checkBoxStateType checkBoxUncheckedValue = 0;
22 | #else
23 | using checkBoxStateType = Qt::CheckState;
24 | const auto checkBoxStateChangedSignal = &QCheckBox::checkStateChanged;
25 | constexpr checkBoxStateType checkBoxUncheckedValue = Qt::Unchecked;
26 | #endif
27 |
28 | } // namespace Calamares
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/src/modules/partition/gui/DeviceInfoWidget.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 |
11 | #ifndef DEVICEINFOWIDGET_H
12 | #define DEVICEINFOWIDGET_H
13 |
14 | #include
15 |
16 | #include
17 |
18 | class QLabel;
19 |
20 | class DeviceInfoWidget : public QWidget
21 | {
22 | Q_OBJECT
23 | public:
24 | explicit DeviceInfoWidget( QWidget* parent = nullptr );
25 |
26 | void setPartitionTableType( PartitionTable::TableType type );
27 |
28 | public slots:
29 | void retranslateUi();
30 |
31 | private:
32 | QLabel* m_ptIcon;
33 | QLabel* m_ptLabel;
34 | PartitionTable::TableType m_tableType;
35 | };
36 |
37 | #endif // DEVICEINFOWIDGET_H
38 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | if(NOT WITH_QML)
7 | calamares_skip_module( "keyboardq (QML is not supported in this build)" )
8 | return()
9 | endif()
10 |
11 | set(_keyboard ${CMAKE_CURRENT_SOURCE_DIR}/../keyboard)
12 |
13 | include_directories(${_keyboard})
14 |
15 | calamares_add_plugin(keyboardq
16 | TYPE viewmodule
17 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
18 | SOURCES
19 | KeyboardQmlViewStep.cpp
20 | ${_keyboard}/Config.cpp
21 | ${_keyboard}/KeyboardLayoutModel.cpp
22 | ${_keyboard}/SetKeyboardLayoutJob.cpp
23 | ${_keyboard}/keyboardwidget/keyboardglobal.cpp
24 | RESOURCES
25 | keyboardq${QT_VERSION_SUFFIX}.qrc
26 | SHARED_LIB
27 | LINK_LIBRARIES
28 | ${qtname}::DBus
29 | )
30 |
--------------------------------------------------------------------------------
/src/modules/netinstall/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # === This file is part of Calamares - ===
2 | #
3 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
4 | # SPDX-License-Identifier: BSD-2-Clause
5 | #
6 | calamares_add_plugin(netinstall
7 | TYPE viewmodule
8 | EXPORT_MACRO PLUGINDLLEXPORT_PRO
9 | SOURCES
10 | Config.cpp
11 | groupstreeview.cpp
12 | LoaderQueue.cpp
13 | NetInstallViewStep.cpp
14 | NetInstallPage.cpp
15 | PackageTreeItem.cpp
16 | PackageModel.cpp
17 | UI
18 | page_netinst.ui
19 | LINK_PRIVATE_LIBRARIES
20 | ${qtname}::Network
21 | SHARED_LIB
22 | )
23 |
24 | if(TARGET ${kfname}::CoreAddons)
25 | calamares_add_test(
26 | netinstalltest
27 | SOURCES Tests.cpp Config.cpp LoaderQueue.cpp PackageTreeItem.cpp PackageModel.cpp
28 | LIBRARIES ${qtname}::Gui ${qtname}::Network ${kfname}::CoreAddons
29 | )
30 | endif()
31 |
--------------------------------------------------------------------------------
/src/modules/dummycpp/module.desc:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | # Module metadata file for dummycpp job
4 | #
5 | # The metadata for C++ (qtplugin) plugins is almost never interesting:
6 | # the CMakeLists.txt should be using calamares_add_plugin() which will
7 | # generate the metadata file during the build. Only C++ plugins that
8 | # have strange settings should have a module.desc (non-C++ plugins,
9 | # on the other hand, must have one, since they don't have CMakeLists.txt).
10 | #
11 | # Syntax is YAML 1.2
12 | #
13 | # All four keys are mandatory. For C++ (qtplugin) modules, the interface
14 | # value must be "qtplugin"; type is one of "job" or "view"; the name
15 | # is the machine-identifier for the module and the load value should
16 | # be the filename of the library that contains the implementation.
17 | #
18 | ---
19 | type: "job"
20 | name: "dummycpp"
21 | interface: "qtplugin"
22 | load: "libcalamares_job_dummycpp.so"
23 |
--------------------------------------------------------------------------------
/src/modules/keyboardq/data/pan-end-symbolic.svg:
--------------------------------------------------------------------------------
1 |
2 |
16 |
--------------------------------------------------------------------------------
/src/modules/zfs/zfs.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/zfs
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | poolName: { type: string }
10 | poolOptions: { type: string }
11 | datasetOptions: { type: string }
12 | datasets:
13 | type: array
14 | items:
15 | type: object
16 | additionalProperties: false
17 | properties:
18 | dsName: { type: string }
19 | mountpoint: { type: string }
20 | # Nominally a string, but "on" and "off" are valid and get
21 | # turned into a boolean in the YAML parser.
22 | canMount: { anyOf: [ { type: string }, { type: boolean } ] }
23 | required: [ dsName, mountpoint, canMount ]
24 | required: [ poolName, datasets ]
25 |
--------------------------------------------------------------------------------
/src/modules/interactiveterminal/InteractiveTerminalPage.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | * Calamares is Free Software: see the License-Identifier above.
7 | *
8 | */
9 |
10 | #ifndef INTERACTIVETERMINALPAGE_H
11 | #define INTERACTIVETERMINALPAGE_H
12 |
13 | #include
14 |
15 | class QLabel;
16 | class QVBoxLayout;
17 |
18 | class InteractiveTerminalPage : public QWidget
19 | {
20 | Q_OBJECT
21 | public:
22 | explicit InteractiveTerminalPage( QWidget* parent = nullptr );
23 |
24 | void onActivate();
25 |
26 | void setCommand( const QString& command );
27 |
28 | private:
29 | QVBoxLayout* m_layout;
30 | QWidget* m_termHostWidget;
31 | QString m_command;
32 | QLabel* m_headerLabel;
33 |
34 | void errorKonsoleNotInstalled();
35 | };
36 |
37 | #endif // INTERACTIVETERMINALPAGE_H
38 |
--------------------------------------------------------------------------------
/src/libcalamaresui/widgets/FixedAspectRatioLabel.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2015 Teo Mrnjavac
4 | * SPDX-FileCopyrightText: 2017 Adriaan de Groot
5 | * SPDX-License-Identifier: GPL-3.0-or-later
6 | *
7 | * Calamares is Free Software: see the License-Identifier above.
8 | *
9 | */
10 |
11 | #ifndef FIXEDASPECTRATIOLABEL_H
12 | #define FIXEDASPECTRATIOLABEL_H
13 |
14 | #include "DllMacro.h"
15 |
16 | #include
17 | #include
18 |
19 | class UIDLLEXPORT FixedAspectRatioLabel : public QLabel
20 | {
21 | Q_OBJECT
22 | public:
23 | explicit FixedAspectRatioLabel( QWidget* parent = nullptr );
24 | ~FixedAspectRatioLabel() override;
25 |
26 | public slots:
27 | void setPixmap( const QPixmap& pixmap );
28 | void resizeEvent( QResizeEvent* event ) override;
29 |
30 | private:
31 | QPixmap m_pixmap;
32 | };
33 |
34 | #endif // FIXEDASPECTRATIOLABEL_H
35 |
--------------------------------------------------------------------------------
/src/modules/fstab/fstab.schema.yaml:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2020 Adriaan de Groot
2 | # SPDX-License-Identifier: GPL-3.0-or-later
3 | ---
4 | $schema: https://json-schema.org/schema#
5 | $id: https://calamares.io/schemas/fstab
6 | additionalProperties: false
7 | type: object
8 | properties:
9 | crypttabOptions: { type: string }
10 | tmpOptions:
11 | type: object
12 | additionalProperties: false
13 | properties:
14 | "default":
15 | type: object
16 | additionalProperties: false
17 | properties:
18 | tmpfs: { type: boolean }
19 | options: { type: string }
20 | ssd:
21 | type: object
22 | additionalProperties: false
23 | properties:
24 | tmpfs: { type: boolean }
25 | options: { type: string }
26 | required: [ "default" ]
27 | required:
28 | - tmpOptions
29 |
--------------------------------------------------------------------------------
/src/modules/initcpio/initcpio.conf:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: no
2 | # SPDX-License-Identifier: CC0-1.0
3 | #
4 | # Run mkinitcpio(8) with the given preset value
5 | ---
6 | # This key defines the kernel to be loaded.
7 | # It can have the following values:
8 | # - the name of a single mkinitcpio preset
9 | # - empty or unset
10 | # - the literal string "all"
11 | #
12 | # If kernel is set to "all" or empty/unset then mkinitpio is called for all
13 | # kernels. Otherwise it is called with a single preset with the value
14 | # contained in kernel.
15 | #
16 | kernel: linux
17 |
18 | # Set this to true to turn off mitigations for lax file
19 | # permissions on initramfs (which, in turn, can compromise
20 | # your LUKS encryption keys, CVS-2019-13179).
21 | #
22 | # If your initramfs are stored in the EFI partition or another non-POSIX
23 | # filesystem, this has no effect as the file permissions cannot be changed.
24 | # In this case, ensure the partition is mounted securely.
25 | #
26 | be_unsafe: false
27 |
--------------------------------------------------------------------------------
/src/modules/luksopenswaphookcfg/LOSHJob.h:
--------------------------------------------------------------------------------
1 | /* === This file is part of Calamares - ===
2 | *
3 | * SPDX-FileCopyrightText: 2021 Adriaan de Groot
4 | * SPDX-License-Identifier: GPL-3.0-or-later
5 | *
6 | */
7 | #ifndef LUKSOPENSWAPHOOKCFG_LOSHJOB_H
8 | #define LUKSOPENSWAPHOOKCFG_LOSHJOB_H
9 |
10 | #include "CppJob.h"
11 | #include "DllMacro.h"
12 | #include "utils/PluginFactory.h"
13 |
14 | #include
15 | #include
16 |
17 | class PLUGINDLLEXPORT LOSHJob : public Calamares::CppJob
18 | {
19 | Q_OBJECT
20 |
21 | public:
22 | explicit LOSHJob( QObject* parent = nullptr );
23 | ~LOSHJob() override;
24 |
25 | QString prettyName() const override;
26 |
27 | Calamares::JobResult exec() override;
28 |
29 | void setConfigurationMap( const QVariantMap& configurationMap ) override;
30 |
31 | private:
32 | QString m_configFilePath;
33 | };
34 |
35 | CALAMARES_PLUGIN_FACTORY_DECLARATION( LOSHJobFactory )
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/data/images/state-warning.svg:
--------------------------------------------------------------------------------
1 |