Remove return value check for Installer.minimal_installation (#3555)
The minimal_installation method always returns None.
This commit is contained in:
parent
48c3f6367b
commit
e245a11463
|
|
@ -824,7 +824,7 @@ class Installer:
|
||||||
mkinitcpio: bool = True,
|
mkinitcpio: bool = True,
|
||||||
hostname: str | None = None,
|
hostname: str | None = None,
|
||||||
locale_config: LocaleConfiguration | None = LocaleConfiguration.default(),
|
locale_config: LocaleConfiguration | None = LocaleConfiguration.default(),
|
||||||
):
|
) -> None:
|
||||||
if self._disk_config.lvm_config:
|
if self._disk_config.lvm_config:
|
||||||
lvm = 'lvm2'
|
lvm = 'lvm2'
|
||||||
self.add_additional_packages(lvm)
|
self.add_additional_packages(lvm)
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ def perform_installation(mountpoint: Path) -> None:
|
||||||
) as installation:
|
) as installation:
|
||||||
# Strap in the base system, add a boot loader and configure
|
# Strap in the base system, add a boot loader and configure
|
||||||
# some other minor details as specified by this profile and user.
|
# some other minor details as specified by this profile and user.
|
||||||
if installation.minimal_installation():
|
installation.minimal_installation()
|
||||||
installation.set_hostname('minimal-arch')
|
installation.set_hostname('minimal-arch')
|
||||||
installation.add_bootloader(Bootloader.Systemd)
|
installation.add_bootloader(Bootloader.Systemd)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue