6866 Commits (aeffda945f53604e57ce7d6ef5e03d6570b5f21d)
 

Author SHA1 Message Date
Adriaan de Groot 9b4af86ab9 Changes: fix up the changelog that should have been in 3.2.19.1 5 years ago
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.
5 years ago
Philip Müller 0c8257df3d [initcpio] Don't claim other swap
From downstream ee99e34e25ed1224504bbef93fb41e5cad6b0ee8
5 years ago
Adriaan de Groot 7e24afc966
Merge pull request #1325 from Chrysostomus/patch-2
[grubcfg] Don't GRUB_SAVEDEFAULT if the FS doesn't support it
5 years ago
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.
5 years ago
Adriaan de Groot c20ac0836e [users] Take setRootPassword into account when hiding fields 5 years ago
Adriaan de Groot 7752cf31b3 [users] Improve documentation of setRootPassword 5 years ago
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.
5 years ago
Adriaan de Groot a865620f90 [calamares] Easter egg: running -D8 will show the Debug Information button 5 years ago
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)
5 years ago
Adriaan de Groot 8c527ab592 [users] Overwrite host(s|name) files in target 5 years ago
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.
5 years ago
Adriaan de Groot 862b7e34df [libcalamares] Add tests for file-overwrite 5 years ago
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.
5 years ago
Calamares CI d903a50bd8 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI bcc779bd43 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 801c3d4715 Changes: pre-release (hotfix) housekeeping 5 years ago
Adriaan de Groot a7b0b03bde Changes: post-release housekeeping 5 years ago
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.
5 years ago
Adriaan de Groot 01c9916cb9 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot adf81c0ab5 [locale][packagechooser] Fix tests, QCOMPARE again 5 years ago
Adriaan de Groot 6352b50ed0 [initramfs] Fix more tests 5 years ago
Adriaan de Groot e49fb74847 [libcalamares] Fix more tests 5 years ago
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.
5 years ago
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.
5 years ago
Adriaan de Groot 248776144e [unpackfs] Now it's text, it's not encoded anymore 5 years ago
Calamares CI bde6d4e950 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI aec6058dc5 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI b2008b9031 i18n: [desktop] Automatic merge of Transifex translations 5 years ago
Calamares CI 476e5ac603 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
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.
5 years ago
Adriaan de Groot 6d0f5e4111 Merge branch 'kpmcore-manager' 5 years ago
Adriaan de Groot a2d245ef92 Merge branch 'issue-swaps' 5 years ago
Adriaan de Groot 327c1c0e7b [unpackfs] Reading from the pipe is line-oriented
- Using bufsize=1 causes warnings, since we never bothered
  to explicitly set text mode.
5 years ago
Adriaan de Groot 7c7af28a0d [unpackfs] Make clear that the FS is unsupported by *this* kernel
Patch from Gabriel Craciunescu. FS support is determined be
the kernel, not by Calamares, so make that clearer in the message.
5 years ago
Adriaan de Groot 50161cdab9 [grubcfg] Use own swap
- In situations where there are more swap partitions, only use
  partitions this install "owns".
5 years ago
Adriaan de Groot 5247c13f98 [partition] Follow 'claimed' settings for claiming swap
- By the time the GS is actually written, new (for partition state)
  is always false. So "new" is the wrong thing to track. It should
  have had a better name anyway,
- We store custom properties on the partition objects to indicate
  what happens to them; use those properties (instead of state,
  as done originally), call it "claimed" to indicate that the partition
  is part of this installation.

For now, only new (as in, formatted, created-by-us) partitions are
claimed.

- The effect here is that only "new" swap will be added to the system,
  so in erase-disk installations, or manual partitioning.
- Install-alongside and replace will now **not** claim the swap already
  on the disk; I think we'll need another UI knob for that one.

FIXES #1316
5 years ago
Adriaan de Groot b6719bda10
Merge pull request #1322 from wxl/patch-1
there's only one bill auger, and we should spell his name right
5 years ago
Adriaan de Groot 35a2db064b [partition] Make debug-logging match the functionality
- `createPartitionList()` is called for the summary widget (via
  `prettyDescription()`), and from `exec()`. Only the latter
  actually *writes* to Global Storage, so it's misleading to
  think that the pretty-printed version ends up in GS.
- This makes the "new" key useless, since by the time `exec()` is called
  the partitoons are no longer new.
5 years ago
Adriaan de Groot f9d9cd2df4 [fstab] Document the remapping of fs names
- Shuffle the code a little so it's clear where the remapping
  happens, and explain why we look for "swap" in fstab and
  "linuxswap" elsewhere.
5 years ago
Adriaan de Groot 8ecb364f8c [initramfs] Fix up tests
- These tests don't actually test anything in this specific module,
  they do test CalamaresUtils::System.
- Wrangling System and JobQueue and GlobalStorage instances is fraught
5 years ago
Adriaan de Groot fba1bf7072 CMake: add DEFINITIONS option to calamares_add_test
- There's a handful of tests that need this, it's possible
  there will be more, so just add it to the infrastructure.
5 years ago
Adriaan de Groot 1bb43e06e2 Merge branch 'master' into kpmcore-manager 5 years ago
Walter Lapchynski 87c5f6b4ab
there's only one bill auger, and we should spell his name right 5 years ago
Adriaan de Groot 7cbc43616e [netinstall] Some more "standard" alternative labels
- Hide the labels from the compiler to avoid warnings
- Add some more labels proposed by ArcoLinux
5 years ago
Adriaan de Groot 5dac67b710 [notesqml] Cut down the example text to be translated. 5 years ago
Adriaan de Groot 2d754dac6d [notesqml] Rename example file to save translators 5 years ago
Adriaan de Groot 51ad7df31c [netinstall] Don't give the translators a bogus string 5 years ago
Adriaan de Groot 790fbb96d5 Merge branch 'translate-configs'
Use regular translation machinery to support and help out translations
from the config files. This reduces the need to do all the translation
in those files -- some of it can be shared with the regular TX workflow.
5 years ago
Adriaan de Groot 538779991e [netinstall] Add some "standard" sidebar labels for the module 5 years ago