Adriaan de Groot
caff0176b1
[libcalamares] Need <memory> for unique_ptr
...
FIXES #1631
6 years ago
Neal Gompa
e56bdd019f
modules/bootloader: Use the correct names for the shim binaries
...
Ever since signed shim binaries for multiple architectures became
available, the shim binaries installed in Linux distributions have
been renamed to include the EFI architecture in the binary names.
This started in Fedora, but is now used in openSUSE and Ubuntu too.
Reference for shim binary names comes from shim spec in Fedora:
d8c3c8e392/f/shim.spec (_23-32)
6 years ago
Adriaan de Groot
1542bad224
[libcalamares] Truncate strings without trailing newline properly
6 years ago
Adriaan de Groot
8e3ed3c933
[libcalamares] Remove redundant variable, use NEWLINE instead of character-literal
6 years ago
Adriaan de Groot
3623e9aefc
[libcalamares] Extend tests of string-truncation
6 years ago
Adriaan de Groot
b85e5b52c2
[libcalamaresui] Apply coding style
...
- Some minor bits snuck in with the string-truncation code
- While here, make UPDATE_BUTTON_PROPERTY more statement-like
so it doesn't confuse code-formatters.
6 years ago
Adriaan de Groot
db5f3bc309
Merge branch 'issue-1613' into calamares
6 years ago
Adriaan de Groot
319a720d1b
[libcalamares Expand tests
6 years ago
Adriaan de Groot
b144d81979
[libcalamares] Fix up smart-string-truncation
...
- off-by-one when source ends with a newline
- lastNewLine was being calculated as a left-index into the string,
then used as a count-from-right
6 years ago
Adriaan de Groot
3be360e433
[libcalamares] Add tests to string truncation
...
- check that basic manipulations succeed
- trailing-lines selection fails, though
6 years ago
Adriaan de Groot
8cc114bf2c
[libcalamares] Move smart-string-truncation to library
...
Expand the API a little to support first-lines, last-lines,
and something of both. Use strong types to make the names
clear for each.
6 years ago
benne-dee
938edf5bd6
Create shellprocess.schema.yaml
6 years ago
Adriaan de Groot
4f78afe67e
[libcalamaresui] Display a reduced amount of details
...
Cut the error message from down to a maximum of 8 lines
so that the messagebox does not hopelessly overflow.
6 years ago
Adriaan de Groot
f0fd47eeb3
[libcalamares] Simplify logging-manipulators
...
Writing `Logger::NoQuote{}`` has annoyed me for a while, so
switch it to a constant, like SubEntry, so it looks more
like a regular manipulator object.
6 years ago
Adriaan de Groot
c1064c5e08
Merge pull request #1597 from Chrysostomus/btrfs-swap
...
[fstab][mount] Btrfs swapfile handling
6 years ago
Adriaan de Groot
9a4c599e22
[libcalamares] Tidy logging a little for Python errors
6 years ago
Adriaan de Groot
6978ce3cb4
[partition] Collect more kpmcore 4.2 code
6 years ago
Adriaan de Groot
520f08bbba
[partition] Fix build with legacy kpmcore
6 years ago
Adriaan de Groot
31bf38977e
[partition] Refactor partition-labeling
6 years ago
Adriaan de Groot
3ade1fd84a
Merge branch 'add-automount-control' into calamares
6 years ago
Adriaan de Groot
b709ba7a5b
Merge pull request #1590 from deprov447/Back/Next_buttons_at_installation
...
Navigation buttons hideability during installation
6 years ago
Adriaan de Groot
9482935034
Merge pull request #1572 from gportay/partition-output-more-things-in-overiew
...
[partition] output more things in overiew
6 years ago
Adriaan de Groot
478af25cec
Merge pull request #1571 from gportay/unpackfs-skip-overlay-extended-attributes
...
[unpackfs] Skip overlay extended attributes
6 years ago
Anubhav Choudhary
0ff32784d1
hooked backAndNextVisible signal to nonQML navigation
6 years ago
Anubhav Choudhary
a9539018e9
[fixed] backAndNextVisbility logic
6 years ago
Gaël PORTAY
af5c57a713
[partition] Output filesystem features in overview
6 years ago
Gaël PORTAY
c045af1975
[partition] Output GPT entries in overview
6 years ago
Gaël PORTAY
bf9c9a64f1
[libcalamares] Introduce new function getPartitionTable
6 years ago
Adriaan de Groot
132ff59d9c
[libcalamares] Make running commands less chatty
...
If there's no output, don't mention it; don't mention failure modes
if the command was successful.
6 years ago
Adriaan de Groot
a3eae323f1
[libcalamares] Rename test-executable: avoid clashes with 'cala<tab>'
6 years ago
Adriaan de Groot
d74bdbcfd0
[libcalamares] coding-style, logging in calautomount
6 years ago
Adriaan de Groot
3150785ff1
[libcalamares] Use shared_ptr instead of unique_ptr
...
The value inside a unique_ptr can't be opaque, it needs to be known
at any site where the pointer may be deleted. shared_ptr does not
have that (deletion is part of the shared_ptr object, which is larger
than the unique_ptr) and so can be used for opaque deletions.
6 years ago
Adriaan de Groot
1c4bf58fb4
[libcalamares] automount-manipulation test-program
6 years ago
Adriaan de Groot
f0a33a235c
[libcalamares] Make automountDisable() more flexible
6 years ago
Adriaan de Groot
9e6bddf31a
[partition] Add new AutoMount-manipulating helpers
6 years ago
Adriaan de Groot
1c285f011b
[libcalamares] Export partition-syncer symbols
6 years ago
Adriaan de Groot
c963d8905f
[netinstall] Merge the two descriptions of *immutable*
6 years ago
Chrysostomus
271122865f
define global storage
6 years ago
Adriaan de Groot
2ccd5a2043
Docs: explain about loadmodule
...
The Python-specific `testmodule.py` was replaced by the more
general `loadmodule`.
FIXES #1596
6 years ago
Anubhav Choudhary
e3a41571f0
Spacing added
6 years ago
Chrysostomus
727f7859b7
Mount @swap to /swap when needed
6 years ago
Chrysostomus
b180cbd47d
Generate a subvolume for swap if swapfile is used
6 years ago
Chrysostomus
97eb32bf5c
Correct the path of swapfile on btrfs
6 years ago
Chrysostomus
80a538665e
Generate entry for subvolume @swap
6 years ago
Chrysostomus
3f0612b4ad
Use different location for swapfile on btrfs root
6 years ago
Anubhav Choudhary
0f2320bd47
Initializing bools in settings.h
6 years ago
Anubhav Choudhary
03d1fe434c
Navigation button hideability added
6 years ago
Chrysostomus
59cfdcccdf
Use variable instead of a function
6 years ago
Chrysostomus
0ed0d37693
Don't use plymouth-encrypt if there is keyfile in use, because it is buggy and asks for password even when it is not needed
6 years ago
Adriaan de Groot
06c6ea04c0
[users] Make status message consistent (no .)
6 years ago