42 Commits

Author SHA1 Message Date
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
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
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
638e13824f Enable automirror by default. 2018-08-09 22:40:15 -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
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
a860ee7105 Fix non-secureboot UEFI installs on real hardware (LP: #1781015). 2018-07-18 23:20:08 -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
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
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
4091552f74 Fix geoip timezone detection. 2018-07-11 22:39:09 -05:00
Simon Quigley
66c9fe501f Don't remove GRUB for now. 2018-07-11 00:12:11 -05:00
Simon Quigley
3d72058e11 Remove the rm line of the shellprocess command (LP: #1780977). 2018-07-10 19:13:35 -05:00
Simon Quigley
756ccfef18 Increase the timeout for the shellprocess command (LP: #1781015). 2018-07-10 19:11:11 -05:00
Simon Quigley
3dbf7b55cd Hardcode package removals for now. 2018-07-10 04:28:43 -05:00
Simon Quigley
e0dd4e665c Actually install the .desktop file.
FIXME: This is super hacky and breaks rules.
2018-07-09 20:48:13 -05:00
Simon Quigley
e7f7161113 Enable GeoIP support by default, to get accurate timezone readings. 2018-07-09 19:33:20 -05:00
Simon Quigley
2cacaa80f1 Remove the right live task. 2018-07-09 18:01:00 -05:00
Simon Quigley
d96be61861 Don't fail to install the system on BIOS systems. 2018-07-09 17:52:53 -05:00
Simon Quigley
be429d184f Replace awful hack with a less hacky but still awful hack. 2018-07-03 16:04:42 -05:00
Simon Quigley
03e40ea65b Lubuntu Next -> Lubuntu. 2018-05-10 19:15:15 -05:00
Simon Quigley
27e2dac8c9 We don't need to explicitly remove Calamares. 2018-05-10 19:14:57 -05:00
Simon Quigley
c4816052a9 Bump system requirements, to be safe. 2018-05-10 19:14:22 -05:00
Simon Quigley
d20618ebb5 Lubuntu.me is HTTPS now. 2018-05-10 19:13:55 -05:00
Simon Quigley
a2a9b6ac9c Hacky and horrible, but it makes the thing work. 2018-02-04 14:54:26 -06:00
Simon Quigley
ae14d3fc0c Add a bootloader.conf. 2018-01-30 22:01:51 -06:00
Marcin Mikołajczak
ed5e909d56
workaround for the issue “tsimonq2 is disappointingly not a computer” 2018-01-22 07:26:00 +01:00
Simon Quigley
5a9fb7de65 Add a services.conf file. 2018-01-21 20:56:15 -06:00
Simon Quigley
ab2a316ebd Make sure we install linux-generic. 2018-01-21 20:56:15 -06:00
Simon Quigley
bdd5d4134c Revise the welcome module a bit. 2018-01-21 20:56:14 -06:00
Simon Quigley
c22b8dcfd5 crazy in #calamares says this isn't right, correct. 2018-01-21 20:56:14 -06:00
Simon Quigley
faafedb2a2 Some more partition management customizations and (hopefully) proper LUKS support. 2018-01-21 20:56:14 -06:00
Simon Quigley
85c47a701a More module configuration. 2018-01-21 20:56:14 -06:00
Simon Quigley
165e7c550e Add a README and move things around a bit. 2018-01-21 20:56:14 -06:00