From 655dbbbc647f7c0ff62ac57f5208c29d759156f7 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 20 Nov 2023 17:01:37 +0530 Subject: [PATCH] add pkg "hdparm" to be installed on image and used in image creation script --- create-image.sh | 2 +- includes/package-list.ksi | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/create-image.sh b/create-image.sh index 401ba1b..8e9600d 100755 --- a/create-image.sh +++ b/create-image.sh @@ -6,7 +6,7 @@ TODAY="$(TZ='UTC' date +%Y.%m.%d)" KICKSTART_FILE="${KICKSTART_BASE}.ks" APPLIANCE_NAME="${KICKSTART_BASE}-$(dnf config-manager --dump-variables | grep releasever | awk '{print $3}')-$(uname -m)-minimal-${TODAY}" IMAGE_NAME="${APPLIANCE_NAME}.raw" -COMMANDS_TO_CHECK=('appliance-creator' 'shasum' 'zstd') +COMMANDS_TO_CHECK=('appliance-creator' 'hdparm' 'shasum' 'zstd') for COMMAND in "${COMMANDS_TO_CHECK[@]}"; do if ! command -v "${COMMAND}" > /dev/null; then diff --git a/includes/package-list.ksi b/includes/package-list.ksi index e394a2b..8d291a2 100644 --- a/includes/package-list.ksi +++ b/includes/package-list.ksi @@ -54,6 +54,7 @@ btop dash epel-release gzip +hdparm htop mock neovim