17 Commits

Author SHA1 Message Date
William Douglas 8276f49e43 Add remove-kernel command
In some cases users will want to remove kernels from their systems
outside an update workflow. This is fairly painful to do manually so
add a command to handle the operation which removes both the /boot
data and configuration files as well as the /usr data.

The default symlink for a kernel type will remain as this is something
that the update mechanism should be in control of and figuring out
what would be the fallback is out of cbm's scope.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-01-04 14:46:43 -08:00
Brett T. Warden 453fc25f23 Use INITRD vars in manpage
Define and use INITRD_DIRECTORY and USER_INITRD_DIRECTORY in the man
page
2022-10-12 13:39:11 -07:00
Brett T. Warden c76515f985 Add documentation for early microcode initrd 2022-10-12 13:39:11 -07:00
Leandro Dorileo 4be250b819 man: add /etc/kernel/initrd.d documentation
We're missing man page documentation to the recent user initrd freestanding
file.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2020-01-07 14:21:30 -08:00
Leandro Dorileo e6c6dfccc5 man: update man page to reflect new flags (-n,--no-efi-update)
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2019-12-12 16:02:08 -08:00
William Douglas 009c5a49a1 Correct man page's vendor kernel configuration directory 2019-01-17 13:07:50 -08:00
Jacob dd056a47a2 Let's use https for security reasons 2018-12-07 14:43:53 -08:00
La Ode Muh. Fadlun Akbar d4d2cbf7f8 Update copyright year 2018-11-20 08:56:37 -08:00
William Douglas b214194e33 Enable listing of available kernels and setting a default
Add the cli command list-kernels which will display the currently
available kernels that can be booted on the system and highlight the
kernel which will be used for the next boot.

Also add the cli command set-kernel which will set the given kernel as
the default to be used for booting (until the next update or
set-kernel is run).
2018-11-14 12:45:29 -08:00
William Douglas 4ec6d304bf Improve documentation of the kernel commandline addition files
Add details to how the files should be structured and where the vendor
configuration files are that the user configuration files can
override.
2018-09-17 14:37:11 -07:00
William Douglas 8f43f73f12 Enable commandline removal configuration files
Add the ability for clr-boot-manager to handle removing content from
the kernel commandline. The removal configuration files are formatted
exactly the same as the add configuration files. The matches are done
line-by-line so that:

"option-a option-b"

in a removal file would only delete exactly that string unlike:
"option-a
option-b"

in a removal file which would try to remove "option-a" and "option-b"
separately.
2018-08-30 21:16:02 -07:00
William Douglas dd5da5edcf Add documentation to man page for kernel configuration
Update man page to describe the use of the kernel configuration files
that can be modified by the system administrator to set the kernel
commandline.
2018-01-09 20:13:12 -08:00
Ikey Doherty cba2f74c8c Convert build system to meson
This change is designed to make it simpler to maintain clr-boot-manager
by switching to the much easier meson build system. Care is taken to
preserve the original functionality, but this will allow us to avoid
repeated issues of "failed distcheck", etc.

Additionally, a new test entry point is now included for Travis, to ensure
all relevant codepaths are properly tested. This now enables us to trivially
merge multiple runs into a single coverage report so that we can test the
code base in various "deployments".

To alleviate the issue of distributing without a `make distcheck` target,
this change vendors the `git-archive-all.sh` script into `scripts/` and
provides a port of the `budgie-desktop` `mkrelease.sh` script to quickly
and easily create a signed distribution tarball straight from git, along
with the submodules (i.e. nica).

Lastly, we'll only build the bootvar support + systemd-shim when we've
actually selected this bootloader, to ensure the project can still be built
without needing gnu-efi/efivar.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-11-01 13:09:31 -07:00
Ikey Doherty 820cc57312 Update copyright year range to include 2017
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2017-01-11 09:21:43 -08:00
Ikey Doherty 282e9433ed man: Document the environment variable CBM_DEBUG
This newly exposed option should be made apparent to integrators and users
alike so that they are able to firmly debug issues with CBM now, and in the
future.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-15 14:45:41 +01:00
Ikey Doherty 71773956c3 Add a forcible --image operation mode
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-06-21 14:56:54 +01:00
Ikey Doherty 6cb754b3db Add the clr-boot-manager man page
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-06-08 13:41:43 +01:00