Age | Commit message (Collapse) | Author |
|
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
|
|
* indentation fixes
* simplify label/uuid code
* simplify variable names
* remove some cruft
* fix/improve some code and spelling
|
|
The function now stores parameters into var kernel_parameters. The
new function does not set the kernel name (vmlinuz). This must now be
done in the bootloader configuration code.
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
AIF does not depend on mkinitcpio.
It only runs mkinitcpio chrooted in the installed target system
|
|
Uses bash globbing and parameter expansion to find all of the slaves for
a raid device. This is a much better method then using ls. Also, by
looking at DEVNAME in the uevent file we provide support for block
device that are not in the root of /dev.
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
again afterwards
|
|
|
|
device_is_raid now uses dev major number to determine if a device is a
raid device. A major ID of 8 is a /dev/sd? device whereas a major ID of
9 is a 'metadata' (raid) device.
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
|
|
* bugfix: $grubmenu was not set correctly, because $var_TARGET_DIR was
not set when grubmenu was being defined
* feature: allow more control over on which system (where the root is
mounted) to work with
|
|
|
|
|
|
|
|
|
|
was broken since 5c03ae0f698800e4cae751df078443e5fc461787
|
|
Will call target_configure_network instead of worker_auto_network in
preconfigure_target. Calling worker_auto_network during
worker_configure_system caused worker_configure_system to never set a
return code. Calling target_configure_network follows the same format
as other methods in preconfigure_target()
worker_auto_network has been removed since no other function calls it.
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
|
|
|
|
|
|
By using local variables, we prevent getting cwd's and object names
getting mixed up during recursive calls. This fixes the
configure_system worker not being registered as having run successfully,
and preventing the user from going to the install bootloader step in the
interactive procedure.
|
|
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
|
|
target_configure_initial_keymap_font and target_configure_network would
falsely return >0 in some occasions, causing unneeded warnings.
|
|
* Move all pre/post-configure logic to separate functions (initcpio
config, time setting, mirrorlist)
* other steps will continue to be run, even if previous one(s) failed
* at the end of the pre/post-configure step you will be warned which
steps failed, if needed.
|
|
|
|
|
|
|
|
* bugfix for commit e5e4eec43cc04cd99648c8b6826af4b9e5c58b10
* simplyfying default setting in 3 places as well
|
|
|
|
bugfix for 66a265a1a0b31dfcbc69be0297c883403a460340
Weirdly enough, in my testing on bash, using the same version quotes
were not needed. But in live archiso environment they seem to be needed
|
|
|
|
|
|
|
|
hd/sd partitions
|
|
|
|
|
|
* port show_report to interactive procedure
* use msg_report worker as method to exit the installer (this is more in
line with the other procedures)
|
|
|
|
|
|
* remove locale, initcpio and initialtime workers, move logic in new
postconfigure_target function
* for base and automatic procedures, postconfigure_target() gets called
automatically
* interactive procedure calls this in interactive_configure_system in the
same way it calls preconfigure_target
* rename target_run_mkinitcpio to target_run_mkinitcpio, to be consistent
with other functions
|
|
|
|
* remove auto_locale and auto_keymap_font workers, no need for middle-man.
* call relevant code directly from prefill_configs, which is now renamed to
preconfigure_target
* make base procedure run preconfigure_target in configure_system worker.
(this also removes the need for the configure_system worker definition
in the automatic procedure)
* warn user in interactive_configure_system() when preconfigure_target()
failed, and allow him to go back
* simplify interactive worker_install_packages () a little bit
|
|
|
|
|
|
* give base/automatic procedures more elegant select_source, runtime_network
workers
* make select_mirrors part of select_source, no need to have it a worker
* "select source" extras (including runtime_network and
interactive_select_mirror) are specific to the interactive procedure, so
make it part of interactive's select_source worker.
* interactive worker_select_source has no problems being run multiple times
|
|
Make prefill_configs invoke auto_network worker, this makes more sense,
and the separate procedures don't need to worry about it anymore.
|
|
|
|
Make interactive_runtime_network() and target_configure_network() able
to be run multiple times with different settings,
and make it clear what's going on in target_configure_network().
|