Commit Graph

7423 Commits

Author SHA1 Message Date
Philip Müller
00f7fed236 [bump] 3.2.19.1 2020-02-24 22:31:55 +01:00
Philip Müller
94bf3af04d Merge branch 'development' of ssh://gitlab.manjaro.org:22277/applications/calamares into development 2020-02-24 22:30:31 +01:00
Philip Müller
5764d9672e Merge branch 'master' of https://github.com/calamares/calamares into development 2020-02-24 22:29:50 +01:00
Adriaan de Groot
aacdb6be29 Changes: post-release housekeeping 2020-02-24 21:47:13 +01:00
Adriaan de Groot
9b4af86ab9 Changes: fix up the changelog that should have been in 3.2.19.1 2020-02-24 21:44:30 +01:00
Adriaan de Groot
2db3b413f4 [libcalamares] Unmount with mount point, not device
- The manpage for umount says that -R can only be used with
  a mount point (e.g. /usr/local) and not a device name;
  this makes sense because a device might be mounted in multiple
  locations, but the mountpoint (and things mounted under it) lives
  in the filesystem tree.
- Existing code tried to unmount -R the device, not the mount point,
  and so always failed; leaving things mounted that shouldn't.
2020-02-24 20:58:02 +01:00
Philip Müller
f9878e7fcb Merge branch 'patch-2' into 'development'
Optimize fstab for btrfs performance and stability

See merge request applications/calamares!32
2020-02-24 20:35:05 +01:00
Philip Müller
1cc9f61ba7 [branding] bump to Kyria 2020-02-24 20:21:41 +01:00
Philip Müller
b2c438480d [merge] with upstream 2020-02-24 19:50:08 +01:00
Philip Müller
cdbd9eb8eb [merge] with upstream 2020-02-24 19:44:30 +01:00
Philip Müller
0c8257df3d [initcpio] Don't claim other swap
From downstream ee99e34e25
2020-02-24 18:23:32 +01:00
Adriaan de Groot
7e24afc966
Merge pull request #1325 from Chrysostomus/patch-2
[grubcfg] Don't GRUB_SAVEDEFAULT if the FS doesn't support it
2020-02-24 18:09:00 +01:00
Philip Müller
ee99e34e25 [initcpiocfg] add check for foreign swap 2020-02-24 17:29:06 +01:00
Matti Hyttinen
717b8947d5
Update main.py
Unset GRUB_SAVEDEFAULT if / or /boot is in btrfs or f2fs partition. This avoids the error "sparse file not allowed" at boot time. Btrfs and f2fs do not support saving default entry in grub.
2020-02-24 17:49:56 +02:00
Philip Müller
93f20fb656 Merge branch 'master' of https://github.com/calamares/calamares into development 2020-02-24 16:26:24 +01:00
Adriaan de Groot
c20ac0836e [users] Take setRootPassword into account when hiding fields 2020-02-24 16:11:14 +01:00
Adriaan de Groot
7752cf31b3 [users] Improve documentation of setRootPassword 2020-02-24 15:59:52 +01:00
Adriaan de Groot
14979b1630 [libcalamares] TemporaryMount with backwards logic
- because mount() returns an exit code, and 0 is "success",
  the if (!code) was backwards: when mounting succeeded, the
  TemporaryMount object thought it failed.
- This leads to temp-mounts being left *all over* the place
  from os-prober and fstab-handling.
2020-02-24 15:21:31 +01:00
Adriaan de Groot
a865620f90 [calamares] Easter egg: running -D8 will show the Debug Information button 2020-02-24 14:47:10 +01:00
Adriaan de Groot
ee52e37b36 [libcalamares] Don't hard-code full paths
- See editorial in the code-comment. Still need to test that
   chroot(8) doesn't need a full path, otherwise this will
   go to /usr/bin/env udevadm to force lookup (redundantly
   if not in a chroot)
2020-02-24 13:15:13 +01:00
Adriaan de Groot
8c527ab592 [users] Overwrite host(s|name) files in target 2020-02-24 12:48:01 +01:00
Adriaan de Groot
4621937477 [users] Use right check on writing hostname
- !failed() also means "didn't write the file because it already
  exists", which is sometimes acceptable -- but not here.
  Use the more-strict bool() conversion, which is only when
  the file was actually written.
2020-02-24 12:44:50 +01:00
Adriaan de Groot
862b7e34df [libcalamares] Add tests for file-overwrite 2020-02-24 12:38:08 +01:00
Adriaan de Groot
f89951716e [libcalamares] Add mode to createTargetFile()
- Unconditionally **not** overwriting the target file isn't an option:
  writing hostname, for instance, expects that to be done even
  if `/etc/hostname` already exists on the target filesystem.
2020-02-24 12:14:50 +01:00
Calamares CI
d903a50bd8 i18n: [python] Automatic merge of Transifex translations 2020-02-24 11:43:38 +01:00
Calamares CI
bcc779bd43 i18n: [calamares] Automatic merge of Transifex translations 2020-02-24 11:43:37 +01:00
Adriaan de Groot
801c3d4715 Changes: pre-release (hotfix) housekeeping 2020-02-24 11:41:18 +01:00
Matti Hyttinen
cf7c0900b6 Optimize fstab for btrfs performance and stability 2020-02-23 09:50:56 +01:00
Philip Müller
c437f70e7b [bump] 3.2.19 2020-02-22 20:31:37 +01:00
Philip Müller
5e9f602d0b Revert "Revert "[unpackfs] Reading from the pipe is line-oriented""
This reverts commit b93efaa30b.
2020-02-22 20:30:51 +01:00
Philip Müller
cb1a24bf06 Merge branch 'master' of https://github.com/calamares/calamares into development 2020-02-22 20:29:55 +01:00
Adriaan de Groot
a7b0b03bde Changes: post-release housekeeping 2020-02-21 22:07:15 +01:00
Adriaan de Groot
6a02f2cfec [machineid] Fix tests
- Make tests more resilient: do them in a temp-dir, and clean it
  up after successful tests. This was prompted by tests failing
  because of things hanging around in /tmp.
2020-02-21 19:21:58 +01:00
Adriaan de Groot
01c9916cb9 Changes: pre-release housekeeping 2020-02-21 18:53:03 +01:00
Adriaan de Groot
adf81c0ab5 [locale][packagechooser] Fix tests, QCOMPARE again 2020-02-21 18:24:39 +01:00
Adriaan de Groot
6352b50ed0 [initramfs] Fix more tests 2020-02-21 18:13:51 +01:00
Adriaan de Groot
e49fb74847 [libcalamares] Fix more tests 2020-02-21 17:58:55 +01:00
Adriaan de Groot
39cc43f26b [libcalamares] Fix tests
- QCOMPARE() is sensitive to differing types in actual and expected,
  and uchar and int (and mode_t and int) are different.
2020-02-21 17:53:43 +01:00
Adriaan de Groot
a78556b56a [unpackfs] Revert text mode
- Follow original patch from Gabriel Craciunescu: just drop
  the *bufsize* parameter and stick to binary reads.

Text mode was associated in my testing with multiple hangs,
which didn't show up during binary-reads.
2020-02-21 16:37:58 +01:00
Philip Müller
b93efaa30b Revert "[unpackfs] Reading from the pipe is line-oriented"
This reverts commit 327c1c0e7b.
2020-02-21 14:49:29 +01:00
Adriaan de Groot
248776144e [unpackfs] Now it's text, it's not encoded anymore 2020-02-21 12:39:26 +01:00
Philip Müller
dc09f115d9 [bump] 3.2.18.2 2020-02-21 11:53:47 +01:00
Philip Müller
c6c0fb138c Merge branch 'development' into 3.2.x-stable 2020-02-21 11:53:17 +01:00
Philip Müller
c50726de2d Merge branch 'master' of https://github.com/calamares/calamares into development 2020-02-21 11:52:23 +01:00
Calamares CI
bde6d4e950 i18n: [python] Automatic merge of Transifex translations 2020-02-20 22:59:18 +01:00
Calamares CI
aec6058dc5 i18n: [dummypythonqt] Automatic merge of Transifex translations 2020-02-20 22:59:17 +01:00
Calamares CI
b2008b9031 i18n: [desktop] Automatic merge of Transifex translations 2020-02-20 22:59:17 +01:00
Calamares CI
476e5ac603 i18n: [calamares] Automatic merge of Transifex translations 2020-02-20 22:59:16 +01:00
Adriaan de Groot
61ca6384cc [partition] Fix tests
- One of the files listed in the test has moved (to libcalamares),
- Don't bother with an extra intermediate SRCS variable.
2020-02-20 22:51:24 +01:00
Adriaan de Groot
6d0f5e4111 Merge branch 'kpmcore-manager' 2020-02-20 22:03:45 +01:00