diff options
author | Aaron Ball <nullspoon@oper.io> | 2023-03-05 12:12:51 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2023-03-05 12:13:28 -0700 |
commit | 6ead95901ccb3d9f53e5536a0b080b09961a33a7 (patch) | |
tree | 7a277239eff7a8da3402eeed5510f19c77d19d9c /init | |
parent | dfcf646257566df65a07722c30564286935f394a (diff) | |
download | mkinitramfs-master.tar.gz mkinitramfs-master.tar.xz |
This does many little things. First, this changes the `function <name>`
syntax to `<name>()`. This also moves referencse from `echo` to
`printf`. It also switches out the bash `[[ ]]` conditional blocks to
more ubiquitous `[ ]`. This also simplifies the `get_first_path`
function (which will later be replaced as it is pretty bad).
Finally, this rewrites the `check_crypto_support` function. Rather than
copy in all of the kernel modules, then removing unneeded ones, it has
become easier to only copy what is needed, which further reduces the
initramfs size.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions