Adriaan de Groot
1ee87c3cde
[locale] Drop debugging define
2018-05-29 08:16:43 -04:00
Adriaan de Groot
6b3299e6ff
[locale] Adjust the North
...
- Fudge the numbers in the North, to improve location
of the pins and lines of latitude.
- Inuvik, Yellowknife, Cambridge Bay, Resolute look ok
- Thule, Scoresbysund look ok; Danmarkshavn a pixel or so too far North
- Reykjavik is a bit too far North
- Longyearbyen is a bit too far North
Since these places are off by one or two pixels, this becomes
invisible when a large pin + text label is placed on it.
2018-05-29 08:16:43 -04:00
Adriaan de Groot
4bacafb411
[locale] Fix timezone pixel map for Tierra del Fuego region
...
- Punta Arenas, draw like it's in -4
- Ushuaia, draw like it's in -3
FIXUP pixel
2018-05-29 08:15:33 -04:00
Adriaan de Groot
b7dbc8cc1f
[locale] Name zones when debugging
...
- When debugging timezones, state their names (e.g. UTC offset)
and also log the pixel position under consideration.
2018-05-29 06:33:50 -04:00
Adriaan de Groot
2c18ba6ddb
[locale] Adjust latitude calculation in the southern hemisphere
...
The scaling on the map was a little off; the degrees of latitude
are a little wider there than around the equator and Europe.
- Johannesburg is in the right spot
- Hobart is no longer a suburb of Melbourne
- Punta Arenas is in Chile
2018-05-29 06:09:25 -04:00
Adriaan de Groot
9f8f76befc
[locale] Introduce timezone-widget debugging
...
Replace pin and text label with just a dot (to pinpoint where
locations are) and draw latitude lines on the globe when
DEbUG_TIMEZONE is set at compile time. Since there's probably
still timezone-related bugs (in particular in the images that
map points on the globe to timezones), leave this in the codebase.
2018-05-29 06:09:25 -04:00
Adriaan de Groot
eddee7d76a
[libcalamaresui] No point in isLoaded() being virtual.
2018-05-29 03:38:17 -04:00
Adriaan de Groot
a04915e6fa
[libcalamaresui] Add 'emergency' concept to modules.
2018-05-29 03:37:37 -04:00
Adriaan de Groot
fdda1ef840
[bootloader] Mimic openSUSE's efibootmgr calls
2018-05-28 11:47:47 -04:00
Adriaan de Groot
dad3669eae
[bootloader] Take a stab at determining the shim name
2018-05-28 09:26:20 -04:00
Adriaan de Groot
e4bda546cf
[bootloader] factor our EFI-platform-bitness discovery
2018-05-28 09:24:43 -04:00
Adriaan de Groot
cbd62fbeb1
Merge branch 'master' into secureboot
2018-05-28 05:04:03 -04:00
udeved
a878c1a610
add openrccfg
2018-05-28 01:31:55 +02:00
Calamares CI
51b50b9366
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-26 07:24:36 -04:00
Adriaan de Groot
50dea6ded3
[interactiveterminal] Make optional if requirements not met
...
This is orthogonal to the SKIP_* mechanism already documented
for avoiding modules. If the module is enabled, but its dependencies
are not present, don't bother building the module. This follows
e.g. plasmalnf as an "avoidably heavy dependency".
Related to a misplaced comment in ISSUE #956
2018-05-26 07:09:01 -04:00
Adriaan de Groot
ce3e09318a
[preservefiles] Improve failure messages
2018-05-24 07:03:19 -04:00
Adriaan de Groot
28a42a7230
Merge branch 'filepreserver'
2018-05-24 06:52:27 -04:00
Adriaan de Groot
cdadc2f003
[libcalamares] Improve error logging during module loading
2018-05-24 06:47:13 -04:00
Adriaan de Groot
182458ad5a
[calamares] Need a JobQueue and global storage before running any job.
...
The 'singleton' instances don't do a very good job of being singletons
or ensuring their own creation.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
48771f968a
[calamares] Load and execute the modules
...
This runs dummyprocess, at least, but the other three dummies coredump.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
308f508c7e
[calamares] Add a test-application.
...
This test-application should load a single module and execute it --
that can be used to quickly test configurations, loading, etc. This
is preparation for loading all sorts of Python modules by PythonQt.
The loader does some internals initialization and gets the module,
but doesn't actually run it yet.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
fdda0e14aa
[libcalamaresui] Improve explainYamlException
...
- overloads for common kinds of label
- improve error reporting when reading settings and branding files
2018-05-24 06:46:11 -04:00
Adriaan de Groot
e5ca8e091f
[libcalamaresui] Use refactored loadYaml
2018-05-24 06:46:11 -04:00
Adriaan de Groot
261c545476
[libcalamaresui] Refactor loading of YAML to QVariantMap
2018-05-24 06:46:11 -04:00
Adriaan de Groot
f26ac63c07
[libcalamaresui] Make Python code const
...
- This is always loaded into the Python context, so it may as well
be done only once.
2018-05-24 06:46:02 -04:00
Adriaan de Groot
d3e57e9c9f
[shellprocess] Expand tests
...
These tests run (shell) commands as part of the test; this may be
a security problem, although I've tried to do things safely.
2018-05-23 13:49:23 -04:00
Adriaan de Groot
87b9c42158
[shellprocess] Don't crash test
...
- May need to create a JobQueue before doing anything internal
- May need to create global settings
- Chroot always needs rootMountPath internally
2018-05-23 10:01:31 -04:00
Adriaan de Groot
8b00a03423
[shellprocess] Test command-substitution
2018-05-23 09:29:43 -04:00
Adriaan de Groot
b5d900c1c6
[libcalamares] Allow a @@USER@@ replacement in commands
...
- Following example in preservefiles module, allow @@USER@@
in commands (e.g. to do something specific in the home-dir
of the new user).
2018-05-23 09:25:57 -04:00
Adriaan de Groot
b7890d865f
[preservefiles] Save GS, munge destination
...
- using `from: config` now writes a JSON file
- using @@ROOT@@ and @@USER@@ in dest does a sensible
substitution.
2018-05-23 09:09:03 -04:00
Adriaan de Groot
ac287a0ac5
[libcalamares] Add a save() method to global storage
...
- This is a quick way to dump GS to JSON, which is useful
for the preservefiles module #928
- Also useful for, e.g., #466
2018-05-23 08:53:11 -04:00
Adriaan de Groot
dae84d3bb1
[users] Improve explanation of other steps of adding a user
2018-05-23 08:11:49 -04:00
Adriaan de Groot
01ff1efc5d
[users] Improve explanation when useradd fails
2018-05-23 07:03:59 -04:00
Adriaan de Groot
0d24c1db6c
[users] Introduce userShell setting
...
- Add a *userShell* key, which can be left out (default, backwards-
compatible) to retain the old /bin/bash behavior, or explicitly
set to empty to defer to useradd-configuration, or explicitly
set to something non-empty to use that shell.
2018-05-23 05:23:46 -04:00
Adriaan de Groot
ed15edabf9
[users] Document passwordRequirements and code
2018-05-23 04:37:18 -04:00
Adriaan de Groot
3a59574128
[users] Factor out command-line to useradd
...
- This is prep-work for #964 , which was caused by #955
- Original assumption was that distro's would have a working
useradd configuration; @abucodonosor already pointed out that
this was probably not the case, but I ignored that.
2018-05-22 11:45:39 -04:00
Adriaan de Groot
6aa5be192b
[netinstall] Drop unused includes
2018-05-22 11:43:14 -04:00
Calamares CI
a79e62ac6b
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-22 11:37:24 -04:00
Adriaan de Groot
3133e759d0
Merge pull request #958 from bill-auger/patch-2
...
avoid pinging hard-coded server for netinstall.yaml
2018-05-22 12:08:01 +02:00
bill auger
b6673f6324
move thisModule->isLoaded assert to after it's warning message
2018-05-22 03:39:16 -04:00
bill auger
d7b1811e56
avoid pinging hard-coded server for netinstall.yaml
...
groupsUrl is optional and should be commented out by default
also this URL is 404
also only chakra would ever want to ping the chakra server anyways
2018-05-21 18:43:57 -04:00
Adriaan de Groot
fb94c227f6
Merge branch 'netinstall'
2018-05-21 11:00:40 -04:00
Adriaan de Groot
ba85fc760a
[netinstall] Remove data-indirection
...
- There is no need to move data around between two parts of the
same module via global storage.
2018-05-21 10:58:57 -04:00
Adriaan de Groot
3160bd7a54
[netinstall] Simplify getting configuration
...
- Use convenience methods for getting bools and strings from
the configuration map. Ignore empty groupsUrls.
2018-05-21 10:49:47 -04:00
Adriaan de Groot
6779a44991
[preservefiles] New module preservefiles
...
- more flexible way to keep (all kinds of) files from the host
system, into the target system.
- WIP: substitutions like in shellprocess (@@ROOT@@, @@HOME@@ probably)
- WIP: creating a JSON file from global settings
2018-05-21 06:30:54 -04:00
Adriaan de Groot
6c87747a5d
[libcalamares] Make it possible to get the logfile name
2018-05-21 06:30:54 -04:00
Adriaan de Groot
5bcd6eaef8
[partition] Reduce warnings by removing unused code
2018-05-21 06:30:54 -04:00
bill auger
4826af97a9
consistent indentation in src/modules/netinstall/page_netinst.ui
...
this file has 1 space char indentation except for these lines
2018-05-19 19:04:24 -04:00
Calamares CI
6b02da9e9e
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-17 11:04:13 -04:00
Frede H
f2677b0879
Update CreateUserJob.cpp
...
Removal of the hardcoded shell, letting the `/etc/default/useradd` be responsible for the shell.
2018-05-17 12:52:09 +02:00