8523 Commits (1e0295dc652ec2166a7f2acee1fcb38868c2f1e1)
 

Author SHA1 Message Date
Adriaan de Groot 4e9c18a565 [users] Translate PWQuality error messages with numbers 4 years ago
Adriaan de Groot a843f34177 CI: require a sufficiently-recent JSON-Schema 4 years ago
Adriaan de Groot d336d0167f i18n: translation stats
(This does not change the overall list of available languages)
4 years ago
Calamares CI e888f7b90e i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI d93090de44 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 225a5d31c2 Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 2a9bbf1dd5 [users] Add test for jobs-creation
- This tries to avoid the now-fixed situation where a sudoersGroup job
  is not created at all (because of a logic error).
- While here, coding style
4 years ago
Chrysostomus adc8d7e624 Fix typo 4 years ago
Adriaan de Groot 3b152ba455 Merge branch 'fix-sudo-settings' into calamares 4 years ago
Adriaan de Groot 43e271dfec [users] Missing negation 4 years ago
Adriaan de Groot 8e53b83f9f [users] Test for setting / resetting sudo settings 4 years ago
Adriaan de Groot 009b3b460b
Merge pull request #1570 from gportay/mount-skip-if-filesystem-is-unformatted
[mount] Ignore unformatted filesystems only
4 years ago
Chrysostomus b7cc4860e0 Put the condition on a single line for prettiness sake 4 years ago
Chrysostomus 3731dfb146 Try not to create the keyfile if not necessary 4 years ago
Adriaan de Groot 6f41949bba [users] Log when sudo is skipped 4 years ago
Gaël PORTAY 6e9ce7194f [mount] Ignore unformatted filesystems only
Mount guesses the filesystem if it is unset or if it is set to auto,
thanks to blkid. That is the case for the bind mountpoints like /dev or
/run/udev in mount.conf. See `mount(8)` for more details.
4 years ago
Matti Hyttinen 73b5c62ab8
Update main.py
typo in a comment
4 years ago
Calamares CI 822e30c894 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot afb4e00f92 [keyboard] Pre-select pc105 4 years ago
Adriaan de Groot e5b7e66ee9 [locale] Filter zones combo always
The drop-down of zones was initially unfiltered, so you could start
in Europe/Amsterdam and the zones drop-down would also show Australian
zones; picking Perth would have weird effects, since Europe/Perth
doesn't exist and so you'd end up in New York instead.

- set the filtering region immediately, rather than only when the
  region changes.
4 years ago
Adriaan de Groot 83b2b95381 [libcalamares] Reduce object churn
- we don't need to allocate a new translator each time the language changes
4 years ago
Chrysostomus 741c1c5d1e Use constructor instead of a loop 4 years ago
Adriaan de Groot 59255c7a57 Changes: apply coding style 4 years ago
Adriaan de Groot be7b63051e Enable keyboard-model and layout-name translations.
SEE #1515
4 years ago
Adriaan de Groot e023da3f35 i18n: update Tajik keyboard translations
- real ones this time, not my made-up nonsense
4 years ago
Chrysostomus 26b1c349d3 Set default value inside the relevant function 4 years ago
Adriaan de Groot c4de62cb9a Merge branch 'fix-keyboardq' into calamares
Various file writes were not being checked, and the code
was a bit tangled; specifically keyboardq did **not**
configure properly on KaOS and now seems ok.
4 years ago
Adriaan de Groot 83d2c06f68 [keyboard] Apply coding style 4 years ago
Adriaan de Groot 705e6dd8d6 [keyboard] Improve debug-logging for writing etc/default 4 years ago
Adriaan de Groot cbc376a206 [keyboard] Improve debug-logging for writing X11 config 4 years ago
Philip Müller 5191df2bde
Merge pull request #1568 from gportay/partition-fix-typo
[partition] Fix typo
4 years ago
Adriaan de Groot 57da222c72 [keyboard] Improve debug-logging for vconsole-config 4 years ago
Adriaan de Groot f18f425682
Merge pull request #1567 from gportay/umount-fix-list-of-mount-points-to-unmount
[umount] Fix list of mount-points to unmount
4 years ago
Gaël PORTAY e2b00bc517 [partition] Fix typo 4 years ago
Gaël PORTAY e9e4be1c60 [umount] Fix list of mount-points to unmount
The root mount-point can end with a / while the mount-point read from
the file /etc/mtab does not end with a /.

This leads to skip the unmounting of the root mount-point and causes the
removal of the root mountpoint directory to fail with EBUSY because it
is still mounted.

This uses the python functions os.path.normpath() to normalize the root
mount-point (i.e. to drop the trailing /) and os.path.commonprefix() to
determine the longest common prefix between the two mount-points. If the
returned prefix is identical to the normalized root mount-point then the
mount-point must be added to the list of the mount-points to unmount.

More generally, the python modules should rely on the os.path functions
to compare for paths instead of using strings. It covers this way lots
of corner cases (path with "//", "/../", "/./", ...).
4 years ago
Adriaan de Groot 845fb3f6da [keyboard] Refactor writing-various-files
- put the writing of each kind of file in its own block -- this should
  become separate functions -- so that variables become more local
  and debugging can be improved.
- while here, fix the error message for /etc/default/keyboard:
  it would complain and name the vconsole file path if it ever failed.
4 years ago
Adriaan de Groot 3e51d77782 [keyboard] Check for successful file-write 4 years ago
Adriaan de Groot 2535d8ccbd Merge branch 'issue-1327' into calamares
FIXES #1327
FIXES #1267

Generally, flags-manipulation was a mess and restoring the
value-on-disk impossible.
4 years ago
Adriaan de Groot 2c297a068f [partition] Log when an EFI problem has been solved 4 years ago
Adriaan de Groot 0f38ee624e [partition] static-assert that our shortcut makes sense 4 years ago
Artem Grinev 94f7efb89f [users] Remove ' from transliterated string 4 years ago
Artem Grinev f20d0a7593 [users] Name cleanup after transliteration 4 years ago
Artem Grinev aa5ef7a6b8 [users] New transliterator ID 4 years ago
Adriaan de Groot 15ace5202d [partition] Simplify EFI-flags checking with KPMCore 4 4 years ago
Adriaan de Groot 85bb8c27b3 [partition] Simplify flags calculations
- factor out the flags-we-want from the flags-we-already-have
 - the use of ->activeFlags() meant that the state on *disk* was
   being compared with the flags-we-want; if a partition was re-edited,
   then you couldn't change the flags back to the state-on-disk
   (eg. enable a flag, then change your mind and disable it).
 - set the flags before refreshing the partition, because the
   refresh checks for EFI bootability and that needs the new flags,
   not the old ones.
4 years ago
Adriaan de Groot 949e33f1e8 [partition] Massage logging while checking for EFI boot 4 years ago
Adriaan de Groot 63964de4bd [partition] Explain underlying type for flags variant 4 years ago
Adriaan de Groot 87c77d9807 [partition] When flags are explicitly invalid, return early 4 years ago
Adriaan de Groot 356e13ae93 [partition] Improve logging readability 4 years ago
Chrysostomus fe291bc51a Write the crypttab entry still 4 years ago