273 Commits

Author SHA1 Message Date
9c6c1de9fe Generalize installation of GRUB for EFI.
Summary: See T97.

Test Plan: Already tested. Ship it!

Reviewers: tsimonq2

Reviewed By: tsimonq2

Differential Revision: https://phab.lubuntu.me/D33
2018-10-10 08:15:47 -07:00
Simon Quigley
8914c0f210 Add a changelog entry. 2018-10-09 13:33:55 -05:00
Simon Quigley
f0c827eb32 C'mooooon, whitespace. :( 2018-10-07 00:07:16 -05:00
8c5e3a0061 Ensure install .desktop file is always removed.
Summary: Fixes T82.

Test Plan: Install and reboot. Desktop should be free of the install .desktop file. This has been tested already for EFI and BIOS in a virtual machine, but since this is related to a task that concerns a rather particular system consisting of 32 bit EFI with a 64 bit processor, it will need to be tested in other cases.

Reviewers: tsimonq2

Reviewed By: tsimonq2

Maniphest Tasks: T82

Differential Revision: https://phab.lubuntu.me/D30
2018-10-07 00:06:52 -05:00
Simon Quigley
c8068a4819 Bad whitespace is bad. 2018-10-06 16:30:25 -05:00
6db75e1ae8 Enable support for LUKS/encryption.
Summary: All settings required to enable support for LUKS/encryption.

Test Plan:
The two methods of encryption will need to be tested:

 1. Automated option, e.g. Erase Disk
    1. Click the radio button for the option
    1. Check the Encrypt checkbox
    1. Enter your password twice
    1. Continue with the install as normal
 1. Manual partitioning
    1. Create a new partition
    1. Check the Encrypt checkbox underneath filesystem
    1. Enter your password twice
    1. Don't forget to mount as /
    1. Continue with the install as normal

If the install completes without errors and can boot successfully after completion, asking for and accepting the correct password before booting the system, then we've got ourselves a winner.

Reviewers: tsimonq2

Reviewed By: tsimonq2

Differential Revision: https://phab.lubuntu.me/D28
2018-10-06 00:46:12 -07:00
fcc2036633 Remove all password checking.
Summary:
We were using password checking in Calamares, especially as supported by libpwquality, but have received overwhelming community feedback against this. Therefore, we remove any checking by libpwquality, including defaults that aren't explicit, like the dictionary check. Sadly, it seems that setting enforcing=0 to simply print a warning does not work. IIt's possible that this is a bug, but not worth chasing at this point. The only thing unsupported is a blank password, but that's something that's [not clear](https://github.com/calamares/calamares/issues/790#issuecomment-330455711) is supported.

The good news is that the [string](743c19d8dd/src/modules/users/page_usersetup.ui (L440)) suggesting a good password is still there. If there's anywhere to be additional improments, it's there.

Test Plan: Run Calamares and enter a variety of lame passwords (e.g. space, the number one, the letter a, the word cat, etc.) twice. If the "next" button is not greyed out, it succeeds.

Reviewers: tsimonq2

Reviewed By: tsimonq2

Differential Revision: https://phab.lubuntu.me/D12
2018-08-26 13:24:06 -05:00
4f328dc3d7 Add executable key to defaultDesktopEnvironment stanza in displaymanager.
Summary: See {T55}

Test Plan:
Install with autologin enabled. After install and reboot, should be in Lubuntu session.

NOTE: an additional fix to calamares itself is required.

Reviewers: tsimonq2

Reviewed By: tsimonq2

Differential Revision: https://phab.lubuntu.me/D9
2018-08-21 00:05:38 -05:00
Simon Quigley
e628ebc084 Upload to Cosmic. 2018-08-14 17:12:23 -05:00
Simon Quigley
d9dc0546f6 Remove the build dep completely. 2018-08-14 17:12:14 -05:00
Simon Quigley
8eeeac57c6 Upload to Cosmic. 2018-08-14 16:19:46 -05:00
Simon Quigley
82b66ac9a3 Bump Standards-version to 4.2.0, no changes needed. 2018-08-14 16:19:31 -05:00
Simon Quigley
d2394fa5a6 Make the password detection runtime dep into a build dep. 2018-08-14 16:19:07 -05:00
Simon Quigley
d6652367c5 Add a changelog entry for the Danish translation. 2018-08-14 16:18:22 -05:00
Simon Quigley
2502b30166 Upload to Cosmic. 2018-08-10 20:13:51 -05:00
Simon Quigley
a2e6868a2a Sync default user groups with Neon. 2018-08-10 13:16:43 -05:00
Simon Quigley
ebdbcddd51 Add a minimum password strength requirement. 2018-08-10 13:15:03 -05:00
Simon Quigley
0cdb5a5e07 Upload to Cosmic. 2018-08-09 22:42:06 -05:00
Simon Quigley
04e8090eae Fix a typo in automirror. 2018-08-09 22:41:47 -05:00
Simon Quigley
638e13824f Enable automirror by default. 2018-08-09 22:40:15 -05:00
Simon Quigley
eebe3db608 Upload to Cosmic. 2018-08-09 21:25:27 -05:00
Simon Quigley
653fedc3b8 Add a calamares-settings-ubuntu-common package with an automirror module. 2018-08-09 21:25:06 -05:00
Simon Quigley
2410754f94 Upload to Cosmic. 2018-07-27 15:01:29 -05:00
Simon Quigley
ec8d1863c8 Make "ubuntu" the bootloader_id and don't do a cp hack. 2018-07-25 06:22:48 -05:00
Simon Quigley
a0da5ae20d Don't copy initrd from the live install, because that contains casper. 2018-07-25 06:19:45 -05:00
Simon Quigley
f138b91cbe Upload to Cosmic. 2018-07-25 00:30:17 -05:00
Simon Quigley
b74b617312 Calamares is capitalized (LP: #1783109). 2018-07-25 00:29:59 -05:00
Simon Quigley
79b55e472d Upload to Cosmic. 2018-07-22 21:14:06 -05:00
Simon Quigley
8949483eeb We're not Neon (LP: #1783024). 2018-07-22 21:13:53 -05:00
Simon Quigley
d3804fbe82 Upload to Cosmic. 2018-07-20 13:36:32 -05:00
Simon Quigley
88e201e0c8 Get some changes from Neon to make some of our awful hacks much cleaner. 2018-07-20 13:35:25 -05:00
Simon Quigley
912a94ead5 Ensure that /bin/bash is always the default shell. 2018-07-20 11:22:53 -05:00
Simon Quigley
d658f4cfc2 Add a machineid file. 2018-07-20 11:08:00 -05:00
Simon Quigley
852eed3627 Upload to Cosmic. 2018-07-18 23:20:50 -05:00
Simon Quigley
a860ee7105 Fix non-secureboot UEFI installs on real hardware (LP: #1781015). 2018-07-18 23:20:08 -05:00
Simon Quigley
c5ff9d12f8 Upload to Cosmic. 2018-07-15 03:58:00 -05:00
Simon Quigley
3a21094494 Replace a blind cp with a more tactful apt-cdrom command. 2018-07-15 03:57:02 -05:00
Simon Quigley
6ce083f094 Add a changelog entry for the changelog entries. 2018-07-15 03:56:40 -05:00
Simon Quigley
fc83eb4512 Upload to Cosmic. 2018-07-13 22:26:33 -05:00
Simon Quigley
98acaf1cab Bump Standards-version to 4.1.5, no changes needed. 2018-07-13 21:36:58 -05:00
Simon Quigley
378ec9515c Add a displaymanager.conf. 2018-07-13 21:36:03 -05:00
Simon Quigley
cfcd5ab066 Don't use apt-cdrom; just copy the host sources.list. 2018-07-13 21:19:53 -05:00
Simon Quigley
261b24b404 Add changelog entry for the Danish translation. 2018-07-13 20:49:47 -05:00
Simon Quigley
12abbba3aa Upload to Cosmic. 2018-07-12 00:15:16 -05:00
Simon Quigley
707ade30ee Link some changelog entries in the description. 2018-07-12 00:14:13 -05:00
Simon Quigley
ad9eb42277 Also remove calamares after install. 2018-07-12 00:10:34 -05:00
Simon Quigley
06ab2e9613 Ensure that calamares.desktop is removed from all new users on a freshly-installed system. 2018-07-11 23:08:41 -05:00
Simon Quigley
27a5310e35 Add a changelog entry for the translations. 2018-07-11 22:40:59 -05:00
Simon Quigley
4091552f74 Fix geoip timezone detection. 2018-07-11 22:39:09 -05:00
Simon Quigley
d85696dab1 Upload to Cosmic. 2018-07-11 00:27:39 -05:00