diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-09 10:28:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-09 10:28:50 +0000 |
commit | 91b873ea3e20149dbb554dc214611efa4627962a (patch) | |
tree | 46c9be7cf8a9fa2923fc9c220e10eabde601842d /sys-kernel/installkernel-systemd-boot/files | |
parent | 70b888182faea1598e1b5e231078af492793858a (diff) |
gentoo auto-resync : 09:11:2023 - 10:28:50
Diffstat (limited to 'sys-kernel/installkernel-systemd-boot/files')
2 files changed, 0 insertions, 60 deletions
diff --git a/sys-kernel/installkernel-systemd-boot/files/00-00machineid-directory.install b/sys-kernel/installkernel-systemd-boot/files/00-00machineid-directory.install deleted file mode 100644 index 70b966fbf4b3..000000000000 --- a/sys-kernel/installkernel-systemd-boot/files/00-00machineid-directory.install +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -# this file is installed by sys-kernel/installkernel-systemd-boot - -COMMAND="${1}" -ENTRY_DIR_ABS="${3}" - -# this is exported by kernel-install -if ! [[ $KERNEL_INSTALL_MACHINE_ID ]]; then - exit 0 -fi - -if [[ $COMMAND != add ]]; then - exit 0 -fi - -# If the machine-id dir does not exist (e.g. $ESP/<machine-id>) -# create it. It receives values directly from kernel-install. -# This is the only function of this plugin. -MACHINE_ID_DIR="${ENTRY_DIR_ABS%/*}" -if ! [[ -d "${MACHINE_ID_DIR}" ]]; then - if [[ "${KERNEL_INSTALL_VERBOSE}" -gt 0 ]]; then - echo "+mkdir -v -p ${MACHINE_ID_DIR}" - mkdir -v -p "${MACHINE_ID_DIR}" - else - mkdir -p "${MACHINE_ID_DIR}" - fi -fi diff --git a/sys-kernel/installkernel-systemd-boot/files/installkernel-systemd-boot-2-r2-00-00machineid-directory.install b/sys-kernel/installkernel-systemd-boot/files/installkernel-systemd-boot-2-r2-00-00machineid-directory.install deleted file mode 100644 index 5fa3bbeffc04..000000000000 --- a/sys-kernel/installkernel-systemd-boot/files/installkernel-systemd-boot-2-r2-00-00machineid-directory.install +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env sh - -# this file is installed by sys-kernel/installkernel-systemd-boot - -COMMAND="${1}" -ENTRY_DIR_ABS="${3}" - -# this is exported by kernel-install -if [ -z "${KERNEL_INSTALL_MACHINE_ID}" ]; then - exit 0 -fi - -if [ "${KERNEL_INSTALL_LAYOUT}" = "uki" ]; then - exit 0 -fi - -if [ "${COMMAND}" != "add" ]; then - exit 0 -fi - -# If the machine-id dir does not exist (e.g. $ESP/<machine-id>) -# create it. It receives values directly from kernel-install. -# This is the only function of this plugin. -MACHINE_ID_DIR="${ENTRY_DIR_ABS%/*}" -if ! [ -d "${MACHINE_ID_DIR}" ]; then - if [ "${KERNEL_INSTALL_VERBOSE}" = "1" ]; then - echo "+mkdir -v -p ${MACHINE_ID_DIR}" - mkdir -v -p "${MACHINE_ID_DIR}" - else - mkdir -p "${MACHINE_ID_DIR}" - fi -fi |