56 Commits

Author SHA1 Message Date
2cc0bed73b Add shellprocess for i386 multiarch
Summary:
Add shellprocess to enable i386.
Bump Standards-Version to 4.5.0.
This provides "plan B" to T143

Test Plan:
 1. Boot live media
 1. Try to install Steam in Discover and it should fail with "dependency resolution failed"
 1. Install Lubuntu
 1. Reboot
 1. `dpkg --print-foreign-architectures` returns `i386`
 1. Install Steam in Discover and it should just work

Reviewers: wxl, tsimonq2

Reviewed By: wxl

Differential Revision: https://phab.lubuntu.me/D75
2020-01-30 20:32:14 -05:00
cd7fa92d15 Clean up Calamares settings.
Summary:
This resolves T107

Refactor automirror

Add donate button url and geoip to welcome

Adjust locale.conf geoip format

Set default filesystem type and no user swap choices

Add defaults to settings to eliminate warnings

Add efi mount options to fstab.conf

Set restart mode in finished.conf to new style

Set bootloader entry name to Ubuntu and slideshowAPI to 1

Test Plan:
Test Calamares installation for proper location detection.

Test Calamares installation for proper efi mount.

Test Calamares installation for proper bootloader entry.

Reviewers: tsimonq2, wxl, apt-ghetto

Reviewed By: tsimonq2, wxl

Subscribers: apt-ghetto

Maniphest Tasks: T107

Differential Revision: https://phab.lubuntu.me/D33
2019-08-20 21:32:27 -07:00
626f59a767 Work around update-initramfs issue and reorder jobs
Summary:
The initramfs job fails to build an initrd.img for two reasons:

1. No /boot/vmlinuz-$version
2. No /boot/initrd.img-$version

(1) is due to "contextualprocess@before_bootloader_mkdirs" needing to
be executed before "initramfs" because it copies in the kernel image
from /cdrom/casper/vmlinuz.

(2) is due to a bug in update-initramfs::get_sorted_versions() because
it expects there to be an existing initrd.img-$version despite the fact
the "initramfs" module is calling it with the -c (create) option, not
-u (update).

Closes (LP: #1829805)

Test Plan: Edited config in Live Environment and successfully rebooted into the installed OS.

Reviewers: wxl, tsimonq2

Reviewed By: wxl

Differential Revision: https://phab.lubuntu.me/D15
2019-06-19 19:40:57 -07:00
apt-ghetto
053817ff0e Lower the minimum RAM requirements.
Summary: Allow users with less than 1 GiB of RAM, to install Lubuntu.

Test Plan: Start the installation on a machine with less than 1 GiB RAM

Reviewers: wxl, tsimonq2

Reviewed By: wxl, tsimonq2

Differential Revision: https://phab.lubuntu.me/D6
2019-04-10 19:38:48 -05:00
Simon Quigley
40a5fc1d0d Adjust config for automirror changes in the previous upload. 2019-01-12 21:37:28 -06:00
Simon Quigley
5f9d673872 Don't remove partitionmanager anymore; its a system utility we expect to have installed. 2018-11-17 20:48:43 -06:00
Simon Quigley
213f578b1d Try to install languages during the installation. 2018-11-17 20:47:22 -06:00
Simon Quigley
e7b1e9e544 Fix accidentally reverted parts of 27 in 28 due to the VCS not being up-to-date. Thanks to Jeremy Bicha for spotting the issue (LP: #1801393). 2018-11-02 17:33:47 -05:00
07a443fb58 Ensure upgrades don't happen for EFI packages. 2018-10-16 21:00:31 -07:00
Simon Quigley
8d0c107a0f Fix Walter's bash faux pas. 2018-10-13 15:34:38 -05:00
74419de594 cleanup after new install file location 2018-10-12 21:50:57 -07:00
1364462c86 fix check for EFI architecture 2018-10-12 18:40:46 -07:00
21acfae10a Ignore BIOS entirely when installing GRUB for EFI. 2018-10-11 19:36:36 -07:00
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
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