Commit Graph

3989 Commits

Author SHA1 Message Date
V3n3RiX
0bde162a9c 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-19 17:41:35 +02:00
Calamares CI
7d46109cc2 Automatic merge of Transifex translations 2016-10-19 00:34:16 +00:00
V3n3RiX
7e74d48fb6 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-18 18:59:51 +02:00
Calamares CI
d54ec4a9ff Automatic merge of Transifex translations 2016-10-18 00:34:21 +00:00
Calamares CI
c6b79c9c8f Automatic merge of Transifex translations 2016-10-17 02:45:06 +00:00
Calamares CI
013b944f18 Automatic merge of Transifex translations 2016-10-17 00:34:26 +00:00
Kevin Kofler
d5dfe86525 [dracutlukscfg] New module: pre-configuration for dracut+LUKS.
Add a dracutlukscfg module to write a
/etc/dracut.conf.d/calamares-luks.conf file for LUKS full disk
encryption support with Dracut.

You should run:

* partition
* luksbootkeyfile
* dracutlukscfg
* dracut

in that order (not necessarily in immediate sequence). The
luksopenswaphook module is not used with Dracut.
2016-10-16 19:08:16 +02:00
Kevin Kofler
2573731cdb [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-16 18:44:22 +02:00
Philip
87006eaa20 [services] proper DM check 2016-10-15 09:41:10 +02:00
Calamares CI
5b2cc2cbb1 Automatic merge of Transifex translations 2016-10-15 00:34:08 +00: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
ebfa1e2838 bump 2016-10-14 18:23:10 +02:00
Teo Mrnjavac
130eb43b26 Use the target system's boot name in partitioning summary widget. 2016-10-14 18:21:52 +02:00
Kevin Kofler
9a5221bbd8 [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:21:20 +02:00
Kevin Kofler
fce053439c [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:21:05 +02:00
shainer
a1b2a71267 Bump QT_VERSION to 5.6 in cmake. 2016-10-14 18:18:56 +02:00
shainer
0956ea5dec Set qt >=5.6 as a "global" dependency.
i.e. not just required by the netinstall module.
2016-10-14 18:18:45 +02:00
shainer
c9946117cd Fix dependency list in README.md
The netinstall module requires Qt >= 5.6 instead of
Qt >= 5.3
2016-10-14 18:18:34 +02:00
Calamares CI
7a24975654 Merge Translation Updates 2016-10-14 18:17:54 +02:00
Teo Mrnjavac
6e7dc0b437 Use the target system's boot name in partitioning summary widget. 2016-10-14 15:27:24 +02:00
Calamares CI
66d66cf446 Automatic merge of Transifex translations 2016-10-14 00:36:48 +00:00
David McKinney
b63ab4df15 [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-13 19:20:20 +02:00
Kevin Kofler
0876af63d0 [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-13 19:01:13 +02:00
Kevin Kofler
4d28544e6f [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-13 18:44:07 +02:00
Calamares CI
33fab5f8c6 Automatic merge of Transifex translations 2016-10-13 00:34:55 +00:00
Calamares CI
49927e2b61 Automatic merge of Transifex translations 2016-10-09 00:34:33 +00:00
Calamares CI
15de67d5d1 Automatic merge of Transifex translations 2016-10-07 00:34:37 +00:00
shainer
ab40626c5d Bump QT_VERSION to 5.6 in cmake. 2016-10-02 15:33:27 +01:00
shainer
95164b343e Set qt >=5.6 as a "global" dependency.
i.e. not just required by the netinstall module.
2016-10-02 15:32:34 +01:00
shainer
689094e6dc Fix dependency list in README.md
The netinstall module requires Qt >= 5.6 instead of
Qt >= 5.3
2016-10-02 14:59:31 +01:00
Calamares CI
cc01c0c18e Automatic merge of Transifex translations 2016-10-02 00:34:24 +00:00
Philip
a5b4e3f518 bump 2016-10-01 10:09:04 +02:00
Calamares CI
666ed89b76 Automatic merge of Transifex translations 2016-09-30 00:34:22 +00:00
Calamares CI
c91afd7a56 Automatic merge of Transifex translations 2016-09-29 00:34:14 +00:00
Philip
0153c47e29 fix settings.conf 2016-09-28 22:33:18 +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
Teo Mrnjavac
11dd15f123 Allow disabling automated LUKS modes. 2016-09-28 21:20:13 +02:00
Teo Mrnjavac
36a96fedfb Make writeEtcDefaultKeyboard an option in keyboard.conf. 2016-09-28 21:19:56 +02:00