Commit Graph

2509 Commits

Author SHA1 Message Date
Philip
09f6392173 [users] enhance dialog
- multiple users management.
- ability to set different shells based on configuration.
- ability to select avatars from files and then copy them to a target location in the user's home directory. No specific location suggested due to differences between DEs on where to read avatars from.
2016-11-01 05:42:56 +01:00
Philip
0b4f015d3a [displaymanager] set a preferred Xsession for autologin 2016-11-01 05:28:39 +01:00
Philip
0ceadc2b95 [displaymanager] use configparser and add better autologin handling 2016-10-31 18:02:50 +01:00
Philip
e2f26467ab [libcalamaresui] try with upstream fix 2016-10-31 17:55:19 +01:00
Philip
5bbb71e90e [libcalamaresui] try to fix issue with ‘pythonConsoleButton’ not declared in this scope 2016-10-31 11:57:23 +01:00
Philip
f42e904dba [partition] remove sgdisk dependency 2016-10-31 11:06:04 +01:00
Philip
4752f70809 Merge pythonqt branch 2016-10-31 07:45:35 +01:00
Philip
095e5317cb bump 2016-10-28 21:03:55 +02:00
Kevin Kofler
ff7cf9b9ec New dummycpp C++ job module (ported from dummypython). 2016-10-28 21:02:30 +02:00
Kevin Kofler
7264c9dcbf Add support for C++/Qt batch job plugins
These job plugins work similarly to view modules, with the following
differences:

* These jobs need to link only libcalamares, not libcalamaresui. For
  this reason, PluginFactory was moved from libcalamaresui to
  libcalamares. (It depends only on QtCore.)

* Instead of deriving from ViewModule, derive from CppJob (which is a
  subclass of Job).

* Like process and Python jobs, a job plugin is a single job, whereas a
  ViewModule can generate a whole list of jobs.

The CppJob and CppJobModule classes are new. In Module::fromDescriptor,
the combination type=job, intf=qtplugin is now supported and mapped to
CppJobModule.
2016-10-28 21:02:19 +02:00
Philip
381f3e9bb3 Revert "Improve user-visible strings in SetPartFlagsJob."
This reverts commit fbe72b3663.
2016-10-28 20:50:10 +02:00
Teo Mrnjavac
5e81ddecad Only add LUKS keyfile if relevant, and with a 15s timeout. 2016-10-28 20:47:09 +02:00
Teo Mrnjavac
9a643431dd Improve user-visible strings in SetPartFlagsJob. 2016-10-28 20:46:56 +02:00
Teo Mrnjavac
c61e53edf7 Add user to groups separately from useradd. 2016-10-28 20:46:32 +02:00
Philip
37df041b9c [displaymanager] use same pattern for all str.format calls 2016-10-26 22:14:00 +02:00
Bernhard Landauer
b293f0320d [displaymanager] add Deepin 2016-10-26 22:13:58 +02:00
Philip
e1d72552db [branding] bump to 16.10 2016-10-22 11:21:52 +02:00
Kevin Kofler
9d2291b74e [grubcfg] Compare integers to integers, not strings.
target_env_call returns an integer, so do not compare its result to the
string "0".
2016-10-22 11:21:41 +02:00
V3n3RiX
a279eaf4fa dracut : unlock encrypted swap if exists (#267)
* dracut : unlock encrypted swap if exists
* only check for swap_outer_uuid if dracut exists
2016-10-22 11:21:31 +02:00
V3n3RiX
e0dc6e03fd Only write rd.luks.uuid if dracut is present and leave other initramfs generators clean (#266)
* add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut --nohostonly, and doesn't affect any other initramfs generators)

* typo

* only write rd.luks.uuid line if dracut is present, and leave other initramfs generators alone :D

* add missing = operator
2016-10-22 11:21:19 +02:00
V3n3RiX
f5793a760d add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut… (#265)
* add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut --nohostonly, and doesn't affect any other initramfs generators)

* typo
2016-10-22 11:21:10 +02:00
Kevin Kofler
4a88223f6d [dracutlukscfg] New module: pre-configuration for dracut+LUKS. 2016-10-22 11:21:02 +02:00
Kevin Kofler
4a7c469f96 [grubcfg] Fix mismatched quoting and escaping.
If we use .replace("'", "'\\''") for escaping, we also need to use
single quotes, not double quotes.

This was broken by the port from '%' to format, which also randomly
changed quoting characters for no good reason. Changing the outer ones
does not matter, but \" or ' within a string is not the same thing!
2016-10-22 11:20:54 +02:00
Calamares CI
cd76aa599f Automatic merge of Transifex translations 2016-10-22 11:20:47 +02:00
David McKinney
af8b0e84a4 [initramfscfg] New module: pre-configuration for update-initramfs.
Added an initramfscfg module to handle pre-configuration for the Debian
update-initramfs, such as installing hooks (needed for luks/FDE support
on Debian-based distros).

Closes #254. (Cherry-picked from the pull request.)
2016-10-22 11:20:37 +02:00
Philip
87006eaa20 [services] proper DM check 2016-10-15 09:41:10 +02:00
Philip
9d18fb1ece [services] don't configure DM if already configured 2016-10-14 18:55:02 +02:00
Philip
b8bd65d69b bump 2016-10-14 18:38:23 +02:00
Teo Mrnjavac
499fd513b4 Use the target system's boot name in partitioning summary widget. 2016-10-14 18:37:35 +02:00
Kevin Kofler
eb6bb49d5a [fstab] Write configurable options to crypttab (default: luks).
fstab.conf: Add a new "crypttabOptions" option that defaults to "luks".
            Document that for Debian and Debian-based distributions, the
            setting should be changed to "luks,keyscript=/bin/cat".

main.py: Append the options from the above setting to the end of every
         line in crypttab.

At least the "luks" option should always be there, because there may be
different encryption types. The Debian initramfs-tools also require the
Debian-specific keyscript option and will otherwise ignore the keyfile
entirely (see pull request #254).
2016-10-14 18:37:19 +02:00
Kevin Kofler
17c0dd08c7 [fstab] Do not omit "/" from crypttab.
At least the Debian update-initramfs needs the entry to be there (see
pull request #254). Dracut will probably need it too. And logically, it
should be there.
2016-10-14 18:37:09 +02:00
shainer
7e59fa9e40 Bump QT_VERSION to 5.6 in cmake. 2016-10-14 18:36:59 +02:00
shainer
f78cd25fe9 Set qt >=5.6 as a "global" dependency.
i.e. not just required by the netinstall module.
2016-10-14 18:36:50 +02:00
shainer
dbdc50b8a8 Fix dependency list in README.md
The netinstall module requires Qt >= 5.6 instead of
Qt >= 5.3
2016-10-14 18:36:36 +02:00
Calamares CI
fef4832a65 Merge Translation Updates 2016-10-14 18:36:27 +02:00
Philip
b042506ac9 fix settings.conf 2016-09-28 22:32:50 +02:00
Kevin Kofler
b6f8d6ae92 users: Drop dependency on chfn. (#260)
Pass the full name directly to useradd instead, using the "-c" (comment)
parameter, which is "currently used as the field for the user's full
name" according to the documentation.

The chfn utility is no longer installed by default on current Fedora
releases due to its dependency on libuser. (They split out chfn and chsh
from util-linux into an optional subpackage.) It could be added as a
dependency of Calamares, but since it is needed inside the chroot, it
has to be on the base live image, not the overlay. Thus, to allow
testing Calamares with a simple "dnf install calamares" again, the
dependency needs to go away. And it is unnecessary anyway.
2016-09-28 21:24:36 +02:00
Kevin Kofler
3edf1bb162 Fix locale filtering for UTF-8 on Fedora.
locale -a returns the locales using ".utf8" names rather than ".UTF-8".
The case-insensitive match does not help because it is "utf8" rather
than "UTF-8". So we need to match both with and without the dash.
2016-09-28 21:22:10 +02:00
Teo Mrnjavac
2a74fc423f Make writeEtcDefaultKeyboard an option in keyboard.conf. 2016-09-28 21:22:07 +02:00
Teo Mrnjavac
431e6b8c03 Allow disabling automated LUKS modes. 2016-09-28 21:22:04 +02:00
udeved
9fe9320555 services: enable displaymanager via globalstorage 2016-09-27 19:28:31 +02:00
udeved
18f4b6e50c servicescfg: fix typo 2016-09-23 22:37:23 +02:00
udeved
74c2090ebc servicescfg: set pulse autospawn; clean up imports 2016-09-23 22:34:58 +02:00
Teo Mrnjavac
a1c4c23051 Remove target resolv.conf before proceeding. 2016-09-22 20:51:27 +02:00
Teo Mrnjavac
027ba074ed Add support for writing keymap data to /etc/default/keyboard. 2016-09-22 20:51:16 +02:00
shainer
b6811c65e8 In the netinstall page, always show the arrow-down button.
The arrow no longer changes direction depending on whether
the button is clicked or not.
2016-09-21 20:35:15 +02:00
shainer
cb6f9ae576 In the netinstall page, fix the group button.
The button is "not checked" by default, and becomes
checked when clicked; the packageview becomes visible
when the button is checked.
2016-09-21 20:34:56 +02:00
Teo Mrnjavac
94916f59e0 Remove irrelevant debug output. 2016-09-21 20:34:40 +02:00
udeved
8a3047f1ab license: validate yaml conf 2016-09-19 09:29:52 +02:00
udeved
b593682c0c servicescfg: validate yaml conf 2016-09-19 09:17:31 +02:00