sys-kernel/booster: update ebuild

This commit is contained in:
2024-09-27 15:23:23 +03:00
parent a141283b90
commit 3400aac286
5 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ main() {
[[ ${EUID} -eq 0 ]] || die "Please run this script as root"
booster build --kernel-version="${ver}" "${initrd}" || die "Failed to generate initramfs"
booster -v build --force --kernel-version="${ver}" "${initrd}" || die "Failed to generate initramfs"
}
main

View File

@@ -12,4 +12,4 @@ KERNEL_VERSION="${2:?}"
# only run when the COMMAND is add, and fewer than 5 arguments are passed
[ "${COMMAND}" = "add" ] && [ "${#}" -lt 5 ] || exit 0
booster "$([ "${KERNEL_INSTALL_VERBOSE}" = 1 ] && echo --verbose)" --kernel-version="${KERNEL_VERSION}" "${KERNEL_INSTALL_STAGING_AREA}/initrd" || exit 1
booster "$([ "${KERNEL_INSTALL_VERBOSE}" = 1 ] && echo --verbose)" build --force --kernel-version="${KERNEL_VERSION}" "${KERNEL_INSTALL_STAGING_AREA}/initrd" || exit 1