calamares: restored support for live packages removal, support for lukfs encryption

This commit is contained in:
Silvan Calarco 2018-02-11 18:07:17 +01:00
parent ba84f572f3
commit 6b6ce9cd04
3 changed files with 9 additions and 5 deletions

View File

@ -9,7 +9,7 @@
# - apt - APT frontend for DEB and RPM
# - pacman - Pacman
#
backend: smart
backend: yum
#
# List of maps with package operations such as install or remove.
# Distro developers can provide a list of packages to remove

View File

@ -80,10 +80,10 @@ sequence:
- locale
- keyboard
- localecfg
# - luksbootkeyfile
# - luksopenswaphookcfg
# - dracutlukscfg
# - plymouthcfg
- luksbootkeyfile
- luksopenswaphookcfg
- dracutlukscfg
- plymouthcfg
# - initcpiocfg
# - initcpio
- users
@ -93,6 +93,7 @@ sequence:
- services
- dracut
# - initramfs
- packages
- grubcfg
- bootloader
- openmamba-postinstall

View File

@ -17,6 +17,9 @@ def run():
# remove bluetooth config with livecd hostname
libcalamares.utils.target_env_call(['rm', '-f', '/var/lib/bluetooth/*/config'])
# remove ssh host keys
libcalamares.utils.target_env_call(['rm', '-f', '/etc/ssh/ssh_host_*'])
# create user home
username = libcalamares.globalstorage.value("username")