]> git.ipfire.org Git - people/ms/bricklayer.git/log
people/ms/bricklayer.git
7 months agoAdd switch to ignore kernel cmdline options master
Michael Tremer [Thu, 14 Sep 2023 15:44:14 +0000 (15:44 +0000)] 
Add switch to ignore kernel cmdline options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoAllow to enable serial console on the command line
Michael Tremer [Thu, 14 Sep 2023 15:37:31 +0000 (15:37 +0000)] 
Allow to enable serial console on the command line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobootloader: Correctly configure the serial console for GRUB
Michael Tremer [Thu, 14 Sep 2023 15:26:11 +0000 (15:26 +0000)] 
bootloader: Correctly configure the serial console for GRUB

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotui: Fix selection menu for multiple entries
Michael Tremer [Thu, 14 Sep 2023 10:48:35 +0000 (10:48 +0000)] 
tui: Fix selection menu for multiple entries

The disk selection process has a list which is not hashable, and
therefore this check throws an exception.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoDo not install any additional packages
Michael Tremer [Thu, 14 Sep 2023 10:35:32 +0000 (10:35 +0000)] 
Do not install any additional packages

This was a hack when the distribution was not where it is now and so
should not be necessary any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoPass Pakfire configuration file as file handle
Michael Tremer [Thu, 14 Sep 2023 10:34:45 +0000 (10:34 +0000)] 
Pass Pakfire configuration file as file handle

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agokeymaps: Apply the setting
Michael Tremer [Sat, 25 Feb 2023 12:17:32 +0000 (12:17 +0000)] 
keymaps: Apply the setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agoTUI: Ignore the default value if it does not exist
Michael Tremer [Sat, 25 Feb 2023 12:17:04 +0000 (12:17 +0000)] 
TUI: Ignore the default value if it does not exist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agokeymaps: Refactor how we ignore any errors
Michael Tremer [Sat, 25 Feb 2023 12:16:42 +0000 (12:16 +0000)] 
keymaps: Refactor how we ignore any errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agocommands: Don't process output if the command failed
Michael Tremer [Sat, 25 Feb 2023 12:16:05 +0000 (12:16 +0000)] 
commands: Don't process output if the command failed

We don't want any error messages to be returned here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agoImplement selecting a keymap
Michael Tremer [Sat, 25 Feb 2023 12:02:32 +0000 (12:02 +0000)] 
Implement selecting a keymap

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agoi18n: Rename language to locale
Michael Tremer [Fri, 24 Feb 2023 18:53:13 +0000 (18:53 +0000)] 
i18n: Rename language to locale

This is actually what we ask the user to select

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agomaster: Request installer booting from the ISO image
Michael Tremer [Fri, 24 Feb 2023 18:33:01 +0000 (18:33 +0000)] 
master: Request installer booting from the ISO image

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agoAdd systemd service file to launch bricklayer in install mode.
Stefan Schantl [Fri, 24 Feb 2023 16:36:05 +0000 (17:36 +0100)] 
Add systemd service file to launch bricklayer in install mode.

This service file will launch bricklayer in install mode
in case "install" has been given on the kernel command line.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agoAdd systemd service file to launch bricklayer in first install mode.
Stefan Schantl [Fri, 24 Feb 2023 16:36:04 +0000 (17:36 +0100)] 
Add systemd service file to launch bricklayer in first install mode.

This service file will launch bricklayer in first-install mode
in case the firstinstall flag on the filesystem is set.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 months agoSubstitute @BINDIR@
Stefan Schantl [Fri, 24 Feb 2023 16:36:03 +0000 (17:36 +0100)] 
Substitute @BINDIR@

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agocmdline: Parse installer.unattended from cmdline
Michael Tremer [Sun, 5 Feb 2023 19:50:19 +0000 (19:50 +0000)] 
cmdline: Parse installer.unattended from cmdline

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agocmdline: Use installer as a prefix instead of bricklayer
Michael Tremer [Sun, 5 Feb 2023 19:47:49 +0000 (19:47 +0000)] 
cmdline: Use installer as a prefix instead of bricklayer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agobootloaders: Set kernel command line options
Michael Tremer [Sun, 5 Feb 2023 19:43:43 +0000 (19:43 +0000)] 
bootloaders: Set kernel command line options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agobootloaders: Configure serial console in GRUB
Michael Tremer [Sun, 5 Feb 2023 19:04:42 +0000 (19:04 +0000)] 
bootloaders: Configure serial console in GRUB

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agoParse the kernel command line
Michael Tremer [Sun, 5 Feb 2023 19:00:29 +0000 (19:00 +0000)] 
Parse the kernel command line

This allows to change any configuration values, but mainly tries to
figure out whether we are being launched on a serial console.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agobootloaders: Enable serial console for GRUB if enabled
Michael Tremer [Sun, 5 Feb 2023 18:28:42 +0000 (18:28 +0000)] 
bootloaders: Enable serial console for GRUB if enabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agobootloaders: Write a proper GRUB configuration file
Michael Tremer [Sun, 5 Feb 2023 17:59:42 +0000 (17:59 +0000)] 
bootloaders: Write a proper GRUB configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agodisk: Set filesystem to auto
Michael Tremer [Thu, 1 Dec 2022 13:58:08 +0000 (13:58 +0000)] 
disk: Set filesystem to auto

Sometimes, the names that parted uses are different from what mount/the
kernel expect. Therefore we let it automatically detect the filesystem
unless a partition is a swap space.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agodisk: Write /etc/fstab to the installed system
Michael Tremer [Tue, 29 Nov 2022 14:37:24 +0000 (14:37 +0000)] 
disk: Write /etc/fstab to the installed system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agobootloader: Don't use Pakfire jail to run GRUB commands
Michael Tremer [Tue, 29 Nov 2022 14:36:54 +0000 (14:36 +0000)] 
bootloader: Don't use Pakfire jail to run GRUB commands

GRUB seems to be very pissy when it does not have full access to the
system - understandably :)

We now create a very simple chroot environment for GRUB to install
itself.

Signed-off-by: root <root@michael.haj.ipfire.org>
16 months agoSet root password
Michael Tremer [Mon, 28 Nov 2022 18:17:34 +0000 (18:17 +0000)] 
Set root password

Fixes: #13009
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agobootloaders: Map /dev into jail & generate config
Michael Tremer [Mon, 28 Nov 2022 17:40:24 +0000 (17:40 +0000)] 
bootloaders: Map /dev into jail & generate config

This fixes that GRUB could not be installed.

Fixes: #13008
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agobootloaders: Disable GRUB EFI
Michael Tremer [Mon, 28 Nov 2022 17:40:00 +0000 (17:40 +0000)] 
bootloaders: Disable GRUB EFI

The package seems to be broken

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agopackages: Log which packages are being installed
Michael Tremer [Mon, 28 Nov 2022 17:03:41 +0000 (17:03 +0000)] 
packages: Log which packages are being installed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
16 months agoInstall some more packages
Michael Tremer [Mon, 28 Nov 2022 17:02:58 +0000 (17:02 +0000)] 
Install some more packages

This is a little bit hacky, but for now we need to make sure that we are
getting some useful packages on the system.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Install the installer
Michael Tremer [Sat, 19 Nov 2022 12:45:23 +0000 (12:45 +0000)] 
master: Install the installer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agoMakefile: Replace @PACKAGE@ with the package name
Michael Tremer [Sat, 19 Nov 2022 12:45:10 +0000 (12:45 +0000)] 
Makefile: Replace @PACKAGE@ with the package name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Make the script generate itself
Michael Tremer [Sat, 19 Nov 2022 12:36:32 +0000 (12:36 +0000)] 
master: Make the script generate itself

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agoconfigure: Package files in gzip instead of XZ
Michael Tremer [Sat, 19 Nov 2022 12:32:52 +0000 (12:32 +0000)] 
configure: Package files in gzip instead of XZ

It feels like xz is slightly falling out of fashion these days?

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agoconfigure: Check for required Python modules
Michael Tremer [Sat, 19 Nov 2022 12:15:01 +0000 (12:15 +0000)] 
configure: Check for required Python modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Fix "--without-recommended" switch for base system
Michael Tremer [Sat, 19 Nov 2022 11:50:23 +0000 (11:50 +0000)] 
master: Fix "--without-recommended" switch for base system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Shorten partition label
Michael Tremer [Sat, 19 Nov 2022 11:48:36 +0000 (11:48 +0000)] 
master: Shorten partition label

The partition label for the EFI partition can only contain up to 11
characters and has therefore been shortened.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Don't let pakfire ask any questions
Michael Tremer [Thu, 17 Nov 2022 20:42:54 +0000 (20:42 +0000)] 
master: Don't let pakfire ask any questions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Do not throw away error output from dracut
Michael Tremer [Wed, 9 Nov 2022 17:54:44 +0000 (17:54 +0000)] 
master: Do not throw away error output from dracut

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agoStop installing "@Base" since Pakfire no longer supports groups
Michael Tremer [Wed, 9 Nov 2022 10:35:05 +0000 (10:35 +0000)] 
Stop installing "@Base" since Pakfire no longer supports groups

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agomaster: Fix recommended switch
Michael Tremer [Wed, 9 Nov 2022 10:34:36 +0000 (10:34 +0000)] 
master: Fix recommended switch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
17 months agopakfire: Remove confirm callback
Michael Tremer [Wed, 9 Nov 2022 10:26:00 +0000 (10:26 +0000)] 
pakfire: Remove confirm callback

Pakfire should not ask any interactive questions.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agounattended: Show a success message at the end of the process
Michael Tremer [Mon, 9 May 2022 17:53:20 +0000 (17:53 +0000)] 
unattended: Show a success message at the end of the process

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agounattended: Move warning message later to show more information
Michael Tremer [Mon, 9 May 2022 17:39:55 +0000 (17:39 +0000)] 
unattended: Move warning message later to show more information

It does not make too much sense to start the unattended installation
with a countdown that cannot be stopped.

Instead, we collect some information now and will then show a dialogue
that shows the disks and has a cancellation button.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agodisk: Use wipefs(8) to remove any previous signatures
Michael Tremer [Mon, 9 May 2022 16:55:19 +0000 (16:55 +0000)] 
disk: Use wipefs(8) to remove any previous signatures

wipefs(8) is a lot smarter than me trying to erase the first couple of
blocks.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agodisks: Moving scan into an extra step
Michael Tremer [Mon, 9 May 2022 16:51:55 +0000 (16:51 +0000)] 
disks: Moving scan into an extra step

This avoids slight code duplication

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agodisks: Fix automatic disk selection in unattended mode
Michael Tremer [Mon, 9 May 2022 16:48:50 +0000 (16:48 +0000)] 
disks: Fix automatic disk selection in unattended mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agopakfire: Allow passing a specific configuration file
Michael Tremer [Mon, 9 May 2022 16:17:14 +0000 (16:17 +0000)] 
pakfire: Allow passing a specific configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agopakfire: Use new status callback feature
Michael Tremer [Mon, 9 May 2022 16:13:10 +0000 (16:13 +0000)] 
pakfire: Use new status callback feature

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agopakfire: Configure confirm callback
Michael Tremer [Mon, 9 May 2022 10:31:44 +0000 (10:31 +0000)] 
pakfire: Configure confirm callback

This can be used by Pakfire to have the user confirm an operation.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agomaster: Add kernel command line arguments for live OS
Michael Tremer [Mon, 9 May 2022 10:25:28 +0000 (10:25 +0000)] 
master: Add kernel command line arguments for live OS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
23 months agomaster: Install filesystem package
Michael Tremer [Mon, 9 May 2022 10:25:12 +0000 (10:25 +0000)] 
master: Install filesystem package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Make it clearer what is being installed
Michael Tremer [Thu, 9 Dec 2021 13:42:56 +0000 (13:42 +0000)] 
packages: Make it clearer what is being installed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Use Pakfire callbacks to show progress
Michael Tremer [Thu, 9 Dec 2021 13:29:10 +0000 (13:29 +0000)] 
packages: Use Pakfire callbacks to show progress

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Export some callbacks for the progress window
Michael Tremer [Thu, 9 Dec 2021 10:50:09 +0000 (10:50 +0000)] 
tui: Export some callbacks for the progress window

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodisk: Set PARTITION_ESP if unset
Michael Tremer [Thu, 9 Dec 2021 10:47:53 +0000 (10:47 +0000)] 
disk: Set PARTITION_ESP if unset

On Debian Bullseye which I have been using for developing Bricklayer,
PARTITION_ESP is suddenly non-existant.

parted still knows this parameter which is why we try to set this
manually as a fallback.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Enable graphical boot and install unicode font
Michael Tremer [Fri, 28 May 2021 16:14:32 +0000 (16:14 +0000)] 
master: Enable graphical boot and install unicode font

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Use standard GRUB image for legacy boot, too
Michael Tremer [Fri, 28 May 2021 14:43:41 +0000 (14:43 +0000)] 
master: Use standard GRUB image for legacy boot, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Create a basic GRUB configuration file
Michael Tremer [Fri, 28 May 2021 14:04:18 +0000 (14:04 +0000)] 
master: Create a basic GRUB configuration file

This does not fully work yet, but the menu is shown and a kernel is
being booted.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Create GRUB EFI image on ISO9660 filesystem, too
Michael Tremer [Fri, 28 May 2021 10:23:58 +0000 (10:23 +0000)] 
master: Create GRUB EFI image on ISO9660 filesystem, too

Previously, the GRUB EFI image was only installed on the FAT file system
and not on the ISO9660 one.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Install the same GRUB modules in EFI mode
Michael Tremer [Fri, 28 May 2021 09:42:49 +0000 (09:42 +0000)] 
master: Install the same GRUB modules in EFI mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Create a minimal GRUB EFI image
Michael Tremer [Thu, 27 May 2021 15:46:23 +0000 (15:46 +0000)] 
master: Create a minimal GRUB EFI image

This is making the boot process more similar to what we are using in
IPFire 2 by jumping back to the "regular" bootloader when in EFI mode.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Generate a random label for the disk image
Michael Tremer [Thu, 27 May 2021 15:45:29 +0000 (15:45 +0000)] 
master: Generate a random label for the disk image

This can also be set by the user by using the --label switch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Install a kernel and device-mapper for build
Michael Tremer [Tue, 25 May 2021 15:51:11 +0000 (15:51 +0000)] 
master: Install a kernel and device-mapper for build

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Throw away dracut logs
Michael Tremer [Tue, 25 May 2021 15:01:49 +0000 (15:01 +0000)] 
master: Throw away dracut logs

Dracut currently has a bug where loads of console output is generated
which slows down the build process.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Ensure that the kernel in the build and live environment is the same
Michael Tremer [Tue, 25 May 2021 15:01:22 +0000 (15:01 +0000)] 
master: Ensure that the kernel in the build and live environment is the same

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Pakfire now supports different architectures than the host
Michael Tremer [Tue, 18 May 2021 15:42:46 +0000 (15:42 +0000)] 
master: Pakfire now supports different architectures than the host

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Install kernel and create an initramdisk
Michael Tremer [Tue, 18 May 2021 15:41:40 +0000 (15:41 +0000)] 
master: Install kernel and create an initramdisk

The initramdisk is very minimal and will only come with some basic
kernel modules as well as scripts to mount the squashfs and jump into
it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Install some extra modules which not pre-loaded
Michael Tremer [Thu, 13 May 2021 13:41:11 +0000 (13:41 +0000)] 
master: Install some extra modules which not pre-loaded

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomaster: Install temporary system and call grub-mkstandalone in it
Michael Tremer [Thu, 13 May 2021 12:47:45 +0000 (12:47 +0000)] 
master: Install temporary system and call grub-mkstandalone in it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobricklayer-master: Experimentally install GRUB on CD
Michael Tremer [Wed, 12 May 2021 12:05:35 +0000 (12:05 +0000)] 
bricklayer-master: Experimentally install GRUB on CD

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd debug shell
Michael Tremer [Wed, 12 May 2021 10:54:12 +0000 (10:54 +0000)] 
Add debug shell

This shell can be accessed by typing Ctrl-Z and lays the installer in
the background and opens a shell.

This is very useful on serial consoles where there is no TTYs that can
be changed to for debugging.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodisk: Switch to btrfs as default filesystem
Michael Tremer [Tue, 11 May 2021 21:40:07 +0000 (21:40 +0000)] 
disk: Switch to btrfs as default filesystem

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodisk: Drop test disk size
Michael Tremer [Tue, 11 May 2021 21:34:20 +0000 (21:34 +0000)] 
disk: Drop test disk size

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd scaffolding of a script that masters an ISO image
Michael Tremer [Mon, 10 May 2021 21:42:24 +0000 (21:42 +0000)] 
Add scaffolding of a script that masters an ISO image

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoSet the first install status in unattended installations
Michael Tremer [Mon, 10 May 2021 20:42:26 +0000 (20:42 +0000)] 
Set the first install status in unattended installations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd dummy systemd files
Michael Tremer [Mon, 10 May 2021 20:29:55 +0000 (20:29 +0000)] 
Add dummy systemd files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Fix return values when the callback wasn't callable
Michael Tremer [Mon, 10 May 2021 20:10:21 +0000 (20:10 +0000)] 
tui: Fix return values when the callback wasn't callable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodisks: Do not scan for disks before the step is run
Michael Tremer [Mon, 10 May 2021 20:05:21 +0000 (20:05 +0000)] 
disks: Do not scan for disks before the step is run

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd "first install" mode to do configuration later
Michael Tremer [Mon, 10 May 2021 19:57:33 +0000 (19:57 +0000)] 
Add "first install" mode to do configuration later

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosteps: Move TUI into Step class
Michael Tremer [Mon, 10 May 2021 19:47:14 +0000 (19:47 +0000)] 
steps: Move TUI into Step class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobootloaders: Remove comment from package install code
Michael Tremer [Mon, 10 May 2021 19:41:03 +0000 (19:41 +0000)] 
bootloaders: Remove comment from package install code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobootloaders: Create special partitions only if needed
Michael Tremer [Mon, 10 May 2021 19:40:23 +0000 (19:40 +0000)] 
bootloaders: Create special partitions only if needed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd installation of bootloaders
Michael Tremer [Mon, 10 May 2021 14:15:44 +0000 (14:15 +0000)] 
Add installation of bootloaders

Currently only GRUB (in legacy and EFI mode) are supported

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd timezone selection
Michael Tremer [Sun, 9 May 2021 11:28:40 +0000 (11:28 +0000)] 
Add timezone selection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoImplement dependency resolving and package installation
Michael Tremer [Sun, 9 May 2021 11:18:00 +0000 (11:18 +0000)] 
Implement dependency resolving and package installation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoAdd a step for the root password
Michael Tremer [Sun, 9 May 2021 10:29:46 +0000 (10:29 +0000)] 
Add a step for the root password

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Allow user to cancel the installation process
Michael Tremer [Sat, 8 May 2021 17:09:37 +0000 (17:09 +0000)] 
tui: Allow user to cancel the installation process

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDrop test mode
Michael Tremer [Sat, 8 May 2021 16:57:22 +0000 (16:57 +0000)] 
Drop test mode

This has now become useless when we can simply perform all operations on
a dummy device

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Default to zero when no value is given
Michael Tremer [Sat, 8 May 2021 16:54:49 +0000 (16:54 +0000)] 
tui: Default to zero when no value is given

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Merge multi-select into select window
Michael Tremer [Sat, 8 May 2021 16:54:11 +0000 (16:54 +0000)] 
tui: Merge multi-select into select window

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Refactor progress window
Michael Tremer [Sat, 8 May 2021 16:41:02 +0000 (16:41 +0000)] 
tui: Refactor progress window

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Add own implementation of button and list choice windows
Michael Tremer [Sat, 8 May 2021 16:30:25 +0000 (16:30 +0000)] 
tui: Add own implementation of button and list choice windows

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMount/umount filesystems
Michael Tremer [Sat, 8 May 2021 14:56:59 +0000 (14:56 +0000)] 
Mount/umount filesystems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoShow message window when creating the partition layout
Michael Tremer [Sat, 8 May 2021 14:14:27 +0000 (14:14 +0000)] 
Show message window when creating the partition layout

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agowelcome: Merge language selection into welcome screen
Michael Tremer [Sat, 8 May 2021 14:06:01 +0000 (14:06 +0000)] 
welcome: Merge language selection into welcome screen

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agotui: Move from sub-module to normal file
Michael Tremer [Sat, 8 May 2021 13:53:23 +0000 (13:53 +0000)] 
tui: Move from sub-module to normal file

I thought this would become more code which would need to be split into
multiple files, but that does not turn out to be true.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoImplement passing disk images on the command line
Michael Tremer [Sat, 8 May 2021 13:47:24 +0000 (13:47 +0000)] 
Implement passing disk images on the command line

This is helpful for testing when a test image can be created and passed
to the installer.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodisk: Show status window when formatting partitions
Michael Tremer [Sat, 8 May 2021 13:28:27 +0000 (13:28 +0000)] 
disk: Show status window when formatting partitions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>