8788 Commits (5ed1dff655fb85ca350fb1a3add016f8867d265d)
 

Author SHA1 Message Date
Adriaan de Groot 8f590848bd [plasmalnf] Simplify code
- Look-and-Feel job has no status to speak of
- Coding style
4 years ago
Chrysostomus 543a9e1afc Remove extra static keyword 4 years ago
Adriaan de Groot 3069f4133f Changes: post-release housekeeping 4 years ago
Adriaan de Groot b503aa645b
Merge pull request #1563 from LordTermor/calamares
[users] Full name transliteration support for user creation
4 years ago
Artem Grinev 16eca3c1be [users] Apply code format 4 years ago
Artem Grinev ca033583a4 Simplified logic a bit, made punctuation handling more correct 4 years ago
Artem Grinev da5fb2d3e1 Improved comment 4 years ago
Artem Grinev d5e678157d Changed TRANSLITERATOR_ID type to array 4 years ago
Gaël PORTAY 7859d98a32 [unpackfs] Skip overlay extended attributes
The module preserves the extended attributes at rsync and the overlay
filesystem stores extended attributes by inodes.

The overlay filesystem keeps traces of the lower directory by encoding
and storing its UUID to the attribute trusted.overlay.origin. If the
index feature is on, that attribute is compared to the UUID of the lower
directory at every subsequent mounts and causes mount to fail with
ESTATE if it does not match.

This filters the namespace trusted.overlay.* by using the rsync option
--filter='-x trusted.overlay.*' to make sure the overlays extended
attributes are not preserved.

Fixes:
        # mount -t overlay -o lowerdir=...,upperdir,...,workdir= overlay /mnt/etc
        mount: /var/mnt/etc: mount(2) system call failed: Stale file handle.

        # dmesg
        (...)
        overlayfs: "xino" feature enabled using 32 upper inode bits.
        overlayfs: failed to verify origin (/etc, ino=524292, err=-116)
        overlayfs: failed to verify upper root origin
4 years ago
Chrysostomus e3ee3c623d Add some relevant looking stuff to header file 4 years ago
Adriaan de Groot 8a7e9c4034 Merge branch 'issue-1569' into calamares
FIXES #1569
4 years ago
Adriaan de Groot b4c3236e4a [users] Consume error information from libpwquality
Previously, the auxerror information was never stored, and
the messages were all un-numbered or un-explained.
Now, consume that information and store it when check()
is called, ready to be used when (possibly much later,
or after a translation change) explanation() is called.
4 years ago
Adriaan de Groot 43565027f5 [users] m_auxerror never set, always nullptr 4 years ago
Adriaan de Groot f3e37f3cee [users] Remove unused PWQuality method 4 years ago
Adriaan de Groot a5dfe7cd68 i18n: update english translations 4 years ago
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