sys-kernel/booster: update ebuild
This commit is contained in:
parent
9b71c7e3b7
commit
a141283b90
|
@ -1,6 +1,6 @@
|
||||||
AUX booster.yaml 477 BLAKE2B 6107c1a393a1ac87223850a96de96edf82ef5db7a13efdda3a50f996500f71f9c8b72d68abeaf05e1ef8d68fb9723917a37089e7cef4eb935d179603c4ec9a21 SHA512 9a7882601238bbf5d8c7bb9f8917c0535c52a83b3fb775049331cb9d11a61f0ec84904db4af2e1fdb9ed3009cbfa1848b402fba0cc0b7e281e43858d5c00acdc
|
AUX booster.yaml 477 BLAKE2B 6107c1a393a1ac87223850a96de96edf82ef5db7a13efdda3a50f996500f71f9c8b72d68abeaf05e1ef8d68fb9723917a37089e7cef4eb935d179603c4ec9a21 SHA512 9a7882601238bbf5d8c7bb9f8917c0535c52a83b3fb775049331cb9d11a61f0ec84904db4af2e1fdb9ed3009cbfa1848b402fba0cc0b7e281e43858d5c00acdc
|
||||||
AUX installkernel-52-booster.install 866 BLAKE2B 3c44490fffd26603000d7359c7c877090485fad6851da65f865a9879594470bdd7a50bc5aefe466989beb454537e1b47b4389ba81028319e6787a155aaa45332 SHA512 176d99e71f79f2524e86cf32e6e150056205cc442f964fbcb4849f7f0b29c03ba6fcdf77d42fa23d178deed3661f8c9c8e9f996060001a44dc7527d60cfa0c92
|
AUX installkernel-52-booster.install 875 BLAKE2B 199cac5c09b1dcec45100126d5363aac10934f484f3bc96901eba054bb6b562d77716533bbdcc3c75538f1717bc80c8bc3d41547f85aa5c84a150e0da6a7bc7b SHA512 e8e3af5a4e77a726b6c2955064bff8e75bc5603848c6d3ba35af83a2462c772598893f76e3a18e0bb956b7810b81d2954a1cca34d0bd8fb6738cbc09ef0560a9
|
||||||
AUX kernel-install-52-booster.install 574 BLAKE2B 076ae7ceb2cd859163b13690c64e16c8074bf8515c856ebdaa4de7a8cf8f1d9bd994552ed251f32851f51f3c4faf4f451c193bc93b50f39c6a758fcc3c89d9ba SHA512 65fb02d0f4a9f8cbbe382a2ccc32b847dbf16a31e188a45da53fb72a9cb2b479f638ff76dcd290dc4d23268046c9f6d0fb0d5f6ee8850ee2602529908f4490e9
|
AUX kernel-install-52-booster.install 577 BLAKE2B 97ad6a1a4926a70818968fa396f7f64807bd014d0470d692088e3ecbd659d7b327b0e3f0e9f86c8d05249d38a959bb689a87da787ef9bc10a516bfb448b4d63f SHA512 0600037a0929073e78cb8b83798c3be2fea5bd918c742a86c6909ed15a0e51e0ef315e65515b57373b41ccd647e4a6f763e1d49eb55a0d061bb5d827865f917f
|
||||||
DIST booster-0.11-vendor.tar.xz 1919268 BLAKE2B 8f29b68d15595d8995fff13fe1f77bb7ea9bdb556c5ba7c096a12539b2fcfd05cbd7ed12a6dde6d1977096b5d7de7bd5569b27951a28b9be908d71d41eaae5e6 SHA512 cd1f50166b22bb7e1524e113e63dcc9fe25b8bbf36a6fda7f0e6f86b7706b4c6666bfa48aa9597fa3b94bd82851d41cfe1ec48338829855fe490d54a6df3b53c
|
DIST booster-0.11-vendor.tar.xz 1919268 BLAKE2B 8f29b68d15595d8995fff13fe1f77bb7ea9bdb556c5ba7c096a12539b2fcfd05cbd7ed12a6dde6d1977096b5d7de7bd5569b27951a28b9be908d71d41eaae5e6 SHA512 cd1f50166b22bb7e1524e113e63dcc9fe25b8bbf36a6fda7f0e6f86b7706b4c6666bfa48aa9597fa3b94bd82851d41cfe1ec48338829855fe490d54a6df3b53c
|
||||||
DIST booster-0.11.tar.gz 113332 BLAKE2B 55969cd75fea79df20b3778bbd295b9d69284a04d42a5cfa0ac8128772b37c26a76f68bf2fe587f7d98670a13741a95647ef736e0baf3cc3e09a75952c021ab4 SHA512 fbccb75b57d38696d4e81f0c587c6c456270290d4867b1e5028363beff9f0b08770719e0fcc991bd6c751fe48fdd8d2aee262355b8691caeb6ee702d6cccb7a0
|
DIST booster-0.11.tar.gz 113332 BLAKE2B 55969cd75fea79df20b3778bbd295b9d69284a04d42a5cfa0ac8128772b37c26a76f68bf2fe587f7d98670a13741a95647ef736e0baf3cc3e09a75952c021ab4 SHA512 fbccb75b57d38696d4e81f0c587c6c456270290d4867b1e5028363beff9f0b08770719e0fcc991bd6c751fe48fdd8d2aee262355b8691caeb6ee702d6cccb7a0
|
||||||
DIST booster-0.11_p20240709-vendor.tar.xz 1951976 BLAKE2B 9091ebb47a93d266b6542097074a72757f7e6f5520a799dbc2dc97327af54c27472dab6bab1b186fde8ec28373fb2ab350a20321b4657d104a0f51bb100cfb78 SHA512 b73ee71583287ce58019432d8cbcc5e3c5c834b8571982273cac07e21b4ec99b45f1195957850c9b039b314cee508cace9154f97942f7bc9d2ffabc8897b7931
|
DIST booster-0.11_p20240709-vendor.tar.xz 1951976 BLAKE2B 9091ebb47a93d266b6542097074a72757f7e6f5520a799dbc2dc97327af54c27472dab6bab1b186fde8ec28373fb2ab350a20321b4657d104a0f51bb100cfb78 SHA512 b73ee71583287ce58019432d8cbcc5e3c5c834b8571982273cac07e21b4ec99b45f1195957850c9b039b314cee508cace9154f97942f7bc9d2ffabc8897b7931
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# this file is installed by sys-kernel/ugrd
|
# this file is installed by sys-kernel/booster
|
||||||
|
|
||||||
ver=${1}
|
ver=${1}
|
||||||
img=${2}
|
img=${2}
|
||||||
|
@ -24,10 +24,10 @@ main() {
|
||||||
# re-define for subst to work
|
# re-define for subst to work
|
||||||
[[ -n ${NOCOLOR+yes} ]] && NOCOLOR=
|
[[ -n ${NOCOLOR+yes} ]] && NOCOLOR=
|
||||||
|
|
||||||
# Exit if ugrd is not the INSTALLKERNEL_INITRD_GENERATOR
|
# Exit if booster is not the INSTALLKERNEL_INITRD_GENERATOR
|
||||||
[[ ${INSTALLKERNEL_INITRD_GENERATOR} == "booster" ]] || exit 0
|
[[ ${INSTALLKERNEL_INITRD_GENERATOR} == "booster" ]] || exit 0
|
||||||
|
|
||||||
# do nothing if somehow ugrd is not installed
|
# do nothing if somehow booster is not installed
|
||||||
[[ -x $(command -v booster) ]] || { ewarn "booster is not installed" && exit 0 ; }
|
[[ -x $(command -v booster) ]] || { ewarn "booster is not installed" && exit 0 ; }
|
||||||
|
|
||||||
[[ ${EUID} -eq 0 ]] || die "Please run this script as root"
|
[[ ${EUID} -eq 0 ]] || die "Please run this script as root"
|
||||||
|
|
|
@ -6,7 +6,7 @@ KERNEL_VERSION="${2:?}"
|
||||||
# Do not attempt to create initramfs if the supplied image is already a UKI
|
# Do not attempt to create initramfs if the supplied image is already a UKI
|
||||||
[ "${KERNEL_INSTALL_IMAGE_TYPE}" = "uki" ] && exit 0
|
[ "${KERNEL_INSTALL_IMAGE_TYPE}" = "uki" ] && exit 0
|
||||||
|
|
||||||
# Only run if the initrd generator is ugrd
|
# Only run if the initrd generator is booster
|
||||||
[ "${KERNEL_INSTALL_INITRD_GENERATOR}" = "booster" ] || exit 0
|
[ "${KERNEL_INSTALL_INITRD_GENERATOR}" = "booster" ] || exit 0
|
||||||
|
|
||||||
# only run when the COMMAND is add, and fewer than 5 arguments are passed
|
# only run when the COMMAND is add, and fewer than 5 arguments are passed
|
||||||
|
|
Loading…
Reference in New Issue