5047 Commits (96649feedc6ca5c36656fcc7bb09a090c2e0092e)
 

Author SHA1 Message Date
Adriaan de Groot ed841d1674 [fsresizer] Typo 6 years ago
Adriaan de Groot aaf27ac2ab [fsresizer] Apply sizes properly
- Distinguish size and atleast; in percentages they mean different
   things (atleast is a bit weird as a percentage, but hey).
 - Fix bug in percentage calculation.
 - Avoid percentage above 100.
 - Add documentation in config-file.
6 years ago
Adriaan de Groot c725f6b552 [fsresizer] Distinguish error from no-useful-resize 6 years ago
Adriaan de Groot 5dc11b223a [fsresizer] Do the resize itself
- handle weird partition tables
 - ignore unallocated space -- that's what we want to expand into
 - use ResizeOperation for the actual work
6 years ago
Adriaan de Groot 14b6755714 [fsresizer] Initialize harder 6 years ago
Adriaan de Groot e627633c44 [fsresizer] initialize FS support 6 years ago
Adriaan de Groot 2556891e39 [fsresizer] Fix backwards logic in error message 6 years ago
Adriaan de Groot 869357a89c Merge branch 'master' into oem-resizer 6 years ago
Adriaan de Groot a749f041f0 [calamares] More verbose failure in test-loader 6 years ago
Adriaan de Groot fe6e0d0b19 Merge branch 'fix-austrian-keymap' 6 years ago
Adriaan de Groot e7c62c114f [keyboard] Improve debugging output 6 years ago
Adriaan de Groot 427c142182 Changelog: credits and mark fixed 6 years ago
Adriaan de Groot 9124281bcb [fsresizer] Calculate resize parameters
- apply() a relativesize to a device to find out how much it
   means in sectors
 - find the space into which the configured FS can grow.
6 years ago
Adriaan de Groot 9e1c95ad05 [fsresizer] Refactor finding device
- Find device in separate function
 - If device isn't found, bail out
6 years ago
Adriaan de Groot 1c2714d832 [fsresizer] Match configuration to system
- Bail out earlier before doing any work if the configuration
   is invalid.
 - If it's valid, look for a matching device.
6 years ago
Adriaan de Groot aae4b38e69 [fsresizer] Fix endless loop
- Improve variable names
 - Missing iterator++
6 years ago
Adriaan de Groot 3ab891793a [keyboard] Add Austrian keyboard layout
- Map xkb 'at' to 'de' on the text console
 - Thanks Philip Mueller, Kevin Kofler

FIXES #1035
6 years ago
Adriaan de Groot 06a00a15c6 [fsresizer] Scan for devices, list partitions
- The is just debugging output, but it's the start of what needs
   to happen to find the FS that needs resizing.
6 years ago
Adriaan de Groot 35ca813064 [partition] Use "" for including from current directory 6 years ago
Adriaan de Groot d752223d0b [libcalamaresui] When reporting failure, use full product name. 6 years ago
Adriaan de Groot 0396ed28b7 [keyboard] Update some origin information for the keyboard map 6 years ago
Adriaan de Groot 88c973f7cc [partition] Simplify space calculations
- Q_ASSERT doesn't work in constexpr functions because it's not
 - May as well calculate bytes at compile-time, no need to give
   the runaround via number-of-MiB
6 years ago
Adriaan de Groot 428929b64f [fsresizer] Tiny step towards getting data from KPMcore 6 years ago
Adriaan de Groot 8178c82d11 Changelog: update with names & partition module 6 years ago
Adriaan de Groot e3bf9fc220 [partition] Fix build with KPMCore <= 3.3.0
- Reported by Philip Mueller
6 years ago
Adriaan de Groot 579f1dfee7 CI: don't try to run tests.
- permissions on the tmpfs where everything is built,
   prevents the test-applications from running.
6 years ago
Adriaan de Groot bc732ccbc7 CI: mess around with test-application permissions 6 years ago
Adriaan de Groot 45195b9f7e [fsresizer] Remove over-enthusiastic constexpr 6 years ago
Adriaan de Groot a40864f709 CI: mess around with running tests 6 years ago
Adriaan de Groot 499dd2ce83 [fsresizer] Document configuration
- Add some notes on configuration of fsresizer
 - Convenience methods for checking validity.
6 years ago
Adriaan de Groot b0db4780bf CI: be more chatty while running tests 6 years ago
Adriaan de Groot a32149bd92 CI: run tests after build as well 6 years ago
Adriaan de Groot 3b8fa187e1 [fsresizer] Fix syntax error in YAML 6 years ago
Adriaan de Groot bf092de76f [calamares] Explain config-file failures better 6 years ago
Adriaan de Groot 39a0d2315b [calamares] Better config-loading diagnostics
- Be more verbose when things go wrong while loading module-
   configuration files.
 - Allow more forms of paths to be specified. In debug mode, this
   is mostyle helpful for the module test-loader.
6 years ago
Adriaan de Groot c6e8cdf65b [calamares] Better command-line help in module test-loader 6 years ago
Adriaan de Groot 40e031411c [calamares] Improve debug log in module test-loader 6 years ago
Adriaan de Groot 745629b659 [fsresizer] Turn on KPMCore requirement again 6 years ago
Adriaan de Groot d2f4079a18 [partition] Move partitioning options into a class
- As (auto) partitioning grows more options, the parameter
   list becomes more unwieldy. Add some structure to it.
6 years ago
Adriaan de Groot 3f09857cb7
Merge pull request #1013 from cjlcarvalho/master
Some RAID fixes
6 years ago
Adriaan de Groot 4b87bb6f28 Git: drop non-existent files from .gitattributes 6 years ago
Adriaan de Groot a6c3899e10 [fsresizer] Add tests
- Test the parsing of configuration values, that it gets the right
   values when given correct(-ish) configurations. Doesn't test
   any situations with bad config.
6 years ago
Adriaan de Groot a81588190a [fsresizer] Simplify and make safer
- Make RelativeSize public so we can use it in non-member functions
 - Make a template out of matching the string suffixes; this is
   safer because the length of the suffix can be computed at compile-time
   (+1 for the trailing NUL) rather than writing it out in boilerplate.
6 years ago
Adriaan de Groot cdfb55e5cf [fsresizer] Just right now it doesn't need KPMCore
- Drop the dependency while developing the configuration parser
   part of the module and writing initial tests.
6 years ago
Adriaan de Groot fa567f917a Changelog: explain new module 6 years ago
Adriaan de Groot c105d5ad84
Merge pull request #1031 from agaida/master
.gitattributes sorted and completed
6 years ago
Adriaan de Groot 4d5eb90a04 [fsresize] Add new module fsresizer
- Non-functional as yet, WIP
 - Intended for use on SBC images and similar, which need to resize
   the root partition to the size of the SD card they're on.

FIXES #921
6 years ago
Adriaan de Groot 82c51dec37 CMake: don't change cmake logging on release builds
- There is no real need to reduce the logging on release builds,
   it's just confusing that all the cmake-time output changes
   in a non-meaningful way.
6 years ago
Alf Gaida f6aaa4b73a .gitattributes sorted and completed 6 years ago
Adriaan de Groot 5136021416 [partition] Move SwapChoice to another namespace
- The choice of swap needs to be handled in more places,
   so make the enum available in the partition module core instead
   of just inside the choice page.
6 years ago