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 # - apt - APT frontend for DEB and RPM
# - pacman - Pacman # - pacman - Pacman
# #
backend: smart backend: yum
# #
# List of maps with package operations such as install or remove. # List of maps with package operations such as install or remove.
# Distro developers can provide a list of packages to remove # Distro developers can provide a list of packages to remove

View File

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

View File

@ -17,6 +17,9 @@ def run():
# remove bluetooth config with livecd hostname # remove bluetooth config with livecd hostname
libcalamares.utils.target_env_call(['rm', '-f', '/var/lib/bluetooth/*/config']) 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 # create user home
username = libcalamares.globalstorage.value("username") username = libcalamares.globalstorage.value("username")