Commit Graph

2547 Commits

Author SHA1 Message Date
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
udeved
1917844338 settings.conf: validate settings with kwalify 2016-09-19 08:39:48 +02:00
udeved
2b00d28de2 postcfg: only attempt to rank mirrors if hasInternet
clean up imports
2016-09-17 23:03:55 +02:00
Teo Mrnjavac
021e3b20c6 Fix VFAT filename handling in bootloader module.
CAL-385 #close
2016-09-17 10:16:44 +02:00
Teo Mrnjavac
dcea99e278 Warning in debug output when the RequirementsChecker is misconfigured.
CAL-390 #close
2016-09-17 10:16:35 +02:00
udeved
c70e91fa9a mhwdcfg:clean up imports; use target_env_call() 2016-09-12 18:51:38 +02:00
udeved
ac43d43409 mhwdcfg: adjust interation; update conf 2016-09-12 18:30:39 +02:00
Philip
7dfac7b5bf [mhwdcfg] update conf file
- add 302 and 380 to gfx IDs
- disable usb as we don't have any config for that yet
2016-09-12 07:40:08 +02:00
Philip
fe92450e7b [displaymanager] prefer Budgie before Gnome 2016-09-10 22:16:58 +02:00
Philip
06facb22cb [servicescfg] add new module 2016-09-10 14:18:58 +02:00
Philip
6927ca6439 [chrootcfg] add new module 2016-09-10 14:17:47 +02:00
Philip
29392f24ee [mhwdcfg] replace hardwarecfg 2016-09-10 14:17:04 +02:00
Philip
f03195150b [hardwarecfg] remove module 2016-09-10 14:15:47 +02:00