Commit b9f4b48f authored by Ophélie Gagnard's avatar Ophélie Gagnard

Update README

parent 32dcb2d4
...@@ -32,16 +32,41 @@ This stage is about enrolling Rapid.Space's keys in the UEFI firmware of the mac ...@@ -32,16 +32,41 @@ This stage is about enrolling Rapid.Space's keys in the UEFI firmware of the mac
Refer to the `README.md` file in there and follow the instructions. Note that it is usually required one time. If Rapid Space's keys are already enrolled on the machine and they are the one in `uefi-keys/keys`, then you can proceed to [the next step](#initramfs-image) of the current document. Refer to the `README.md` file in there and follow the instructions. Note that it is usually required one time. If Rapid Space's keys are already enrolled on the machine and they are the one in `uefi-keys/keys`, then you can proceed to [the next step](#initramfs-image) of the current document.
## Initramfs image ## Create an initramfs image
This stage is about creating and signing an initramfs image with the Metadata Collect Agent (MCA) enabled in it. This stage is about creating and signing an initramfs image with the Metadata Collect Agent (MCA) enabled in it.
### Install dependencies ### Install dependencies
Run `sudo ./installation/dependencies.sh` Run `./generation/10install-dependencies.sh`
### Install the dracut module and signed initramfs image ### Get the target kernel
Run `sudo ./installation/install.sh` To choose the right kernel version, set the variable `KERNEL_VERSION` in `./generation/00env.sh`.
Notes: Run `./generation/20get-kernel-package.sh`
### Generate the image
The configuration file can be modified here: `./dracut.module/dracut.conf.in`
Run `30generate-image.sh`
### Upload the image
Run `40upload-image.sh` to upload the image in shacache and create an entry in shadir.
## Install an initramfs image
This stage is about installing an image on the machine.
### Install dependencies
Run `./installation/10install-dependencies.sh`
### Generate the network script
This step has to be performed only once unless the network configuration has been changed.
Run `./installation/20generate-get-network.sh`
### Install the image
Run `30install-image.sh`
### Notes
* The installation of the dracut module is performed by `dracut.module/Makefile`. * The installation of the dracut module is performed by `dracut.module/Makefile`.
* The initramfs image is created by dracut according to the preferences in dracut.module/dracut.conf and the command-line. * The initramfs image is created by dracut according to the preferences in dracut.module/dracut.conf and the command-line.
* The (unsigned) initramfs image is then signed by dracut, again according to dracut.module/dracut.conf * The (unsigned) initramfs image is then signed by dracut, again according to dracut.module/dracut.conf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment