Commit Graph

1058 Commits

Author SHA1 Message Date
Kevin Kofler
6f78ecab3b displaymanager: Fix the default_desktop_environment option.
Do not use a YAML list when only a single entry actually works. (It was
just silently using the last one.)

Create the default_desktop_environment DesktopEnvironment tuple. Before,
the setting was silently ignored altogether.
2014-11-28 18:51:08 +01:00
Kevin Kofler
e65d9c4f4d Revert "Fix autologin-routine"
This reverts commit 9c799b32e9.

This was already right before. default_desktop_environment.desktop_file is not a
variable, it's a field of a variable. This commit is not valid Python:
"SyntaxError: invalid syntax".
2014-11-28 18:40:49 +01:00
Manjaro Linux
9c799b32e9 Fix autologin-routine
default_desktop_environment.desktop_file needs to been passed actually.
2014-11-28 18:36:18 +01:00
Kevin Kofler
36488583f7 unpackfs: Add a trailing '/' to the excludes. 2014-11-28 18:33:31 +01:00
Kevin Kofler
f0203a072c unpackfs: Automatically detect the exclude list from the mounts.
See issue #173.
2014-11-28 18:29:57 +01:00
Manjaro Linux
6a70029198 Fix commit d5d74fbdcd
We need to pass default_desktop_environment if we won't use automatic desktop detection.
2014-11-28 18:27:16 +01:00
Kevin Kofler
96d863b22b mount: Mount /run as a tmpfs in the rootMountPoint.
In particular, this also ensures that the directory gets created on the
target system so things can be mounted into it.

Fixes #173.
2014-11-28 18:03:58 +01:00
Teo Mrnjavac
6e98f63bf3 Merge pull request #171 from calamares/machineid-module
Add a machineid module.
2014-11-28 16:52:08 +01:00
Teo Mrnjavac
e85b2d164f Hook up ClearMountsJob in PartitionCoreModule. 2014-11-28 15:52:18 +01:00
Teo Mrnjavac
1de7b55c3b ClearMountsJob: umount all partitions before making changes to a device.
Fixes #169
2014-11-28 15:52:18 +01:00
Calamares CI
a90737a3e4 Automatic merge of Transifex translations 2014-11-28 08:45:26 +00:00
Manjaro Linux
ddc7a6057d Update displaymanager.conf
Add an example to force Plasma5 desktop (commented out)
2014-11-28 09:11:27 +01:00
Manjaro Linux
d5d74fbdcd Add option to force desktop environment
This adds the function to force a desktop environment. We might think to add it also to global storage.
2014-11-28 09:06:33 +01:00
Manjaro Linux
b4b409243f [displaymanager] make openbox session have "less priority".
Fixes settings Session= when both lxqt and openbox are installed, it will first find lxqt an use put lxqt.desktop
This fixes also #170
2014-11-28 08:23:46 +01:00
Kevin Kofler
587e76aa56 machineid: Add modules.desc. 2014-11-27 22:18:34 +01:00
Kevin Kofler
5f99d51f80 machineid: Add missing import. 2014-11-27 21:11:56 +01:00
Kevin Kofler
0b0868822d Add a machineid module.
The module creates /etc/machine-id and/or /var/lib/dbus/machine-id. By
default, it is enabled and creates both files, making the latter a
symlink to the former.
2014-11-27 21:08:50 +01:00
Kevin Kofler
8591dcf731 unpackfs: Make rsync preserve everything, exclude special paths.
Add the following flags to rsync:
* `-H, --hard-links            preserve hard links`
* `-A, --acls                  preserve ACLs (implies --perms)`
* `-X, --xattrs                preserve extended attributes`
(i.e., the preservation options not already implied by -a).

Also exclude the special paths that do not make sense to rsync, because
reading the extended attributes from those can cause errors, at least
with SELinux enabled.

This fixes installation of Fedora systems with SELinux enabled.
2014-11-27 18:36:46 +01:00
Teo Mrnjavac
0c3f88077d More debug output in CreatePartitionTableJob 2014-11-27 14:22:00 +01:00
Rohan Garg
ac5cecee19 Clean up unused packages after installation
Fixes #166.
2014-11-27 11:03:12 +01:00
Teo Mrnjavac
5b864c5dc3 Make networkmanager service example optional. 2014-11-27 10:57:09 +01:00
Teo Mrnjavac
5bb7755925 Remove unnecessary debug output. 2014-11-26 19:10:17 +01:00
Teo Mrnjavac
52a1a28696 Fix focus handling in Keyboard page. 2014-11-26 18:56:09 +01:00
Teo Mrnjavac
5fdca37db5 Focus fix in Locale page. 2014-11-26 18:52:44 +01:00
Teo Mrnjavac
472590669f Adding stuff to GlobalStorage works much better it is actually executed. 2014-11-26 18:47:46 +01:00
Teo Mrnjavac
0738af04ca Reimplement onActivate in UsersViewStep for focus handling. 2014-11-26 18:41:35 +01:00
Teo Mrnjavac
e258f0b5a9 Use onActivate instead of focusInEvent for page focus control. 2014-11-26 18:41:35 +01:00
demmm
86c49fbc89 Use correct entry from global_storage 2014-11-26 12:15:39 -05:00
Teo Mrnjavac
925632800b Debug output for lcLocale 2014-11-26 17:47:06 +01:00
Kevin Kofler
b79618aa15 locale: Move the string processing out of the loop. 2014-11-26 17:12:18 +01:00
Teo Mrnjavac
88dfd7fa10 Fix system locale string + allow 3 letter language codes. 2014-11-26 11:30:06 +01:00
Calamares CI
8c037db21a Automatic merge of Transifex translations 2014-11-26 08:45:29 +00:00
Kevin Kofler
e7d0f205a4 locale: Support distributions without locale-gen.
If /etc/locale.gen (or the configured localeGenPath) does not exist,
assume that all the supported languages are already built into the
locale archive, and retrieve the list from "locale -a".

The list will then contain lines with only the locale rather than
locale + space + encoding, but that should not affect any of the rest of
the code. UTF-8 locales will still contain the string "UTF-8" (as part
of the ".UTF-8" suffix), we will not write a locale.gen file if we don't
have locale-gen, and everything else just strips away the encoding.
2014-11-25 20:03:37 +01:00
Kevin Kofler
440b38addf locale: Optimize guessLCLocale by moving function calls out of loops. 2014-11-25 19:44:16 +01:00
Kevin Kofler
bcbe5103b9 locale: Don't assume 2-letter language codes.
Some languages have 3-letter codes. So instead of splitting the output
of QLocale::name, use QLocale::language and the static
QLocale::languageToString.
2014-11-25 19:41:01 +01:00
Teo Mrnjavac
d2288d0961 Write lc locale setting from GlobalStorage. 2014-11-25 17:56:38 +01:00
Teo Mrnjavac
6049267cf6 Load lcLocale value into GlobalStorage. Also allow localeGenPath setting
in locale.conf.
2014-11-25 17:43:12 +01:00
Teo Mrnjavac
2ca58c6f91 Massive cleanup in LocalePage. Add LCLocale setting, with autodetect. 2014-11-25 17:41:27 +01:00
Teo Mrnjavac
100f08518b Build LCLocale dialog. 2014-11-25 17:40:38 +01:00
Teo Mrnjavac
ddfb8dfbc5 Add relevant strings. 2014-11-25 17:40:24 +01:00
Teo Mrnjavac
6cb072acc4 New LC LOCALE picker dialog. 2014-11-25 17:40:24 +01:00
Teo Mrnjavac
f72f1ae5ca README.md for branding. 2014-11-25 17:40:24 +01:00
Calamares CI
244ca1b314 Automatic merge of Transifex translations 2014-11-25 08:45:27 +00:00
Manjaro Linux
580a142da8 Bump version
<a href="https://github.com/calamares/calamares/issues?q=milestone%3A0.17">Milestone 0.17</a> got closed.
2014-11-24 17:06:55 +01:00
Teo Mrnjavac
c17898a650 Fix CI widget 2014-11-23 12:45:20 +01:00
Teo Mrnjavac
da0afd6e55 Better error reporting in CreatePartitionTableJob.cpp 2014-11-23 11:46:45 +01:00
Calamares CI
5967917fb5 Automatic merge of Transifex translations 2014-11-23 08:45:24 +00:00
Teo Mrnjavac
0d64c849fd Unbreak build. Sorry. 2014-11-20 17:21:10 +01:00
Teo Mrnjavac
0d89ba761a Uic in GreetingPage. 2014-11-20 10:04:10 +01:00
Calamares CI
6984f6a870 Automatic merge of Transifex translations 2014-11-20 08:45:27 +00:00