From 80b232a02f1e233597ed3d657cde8252fedf7195 Mon Sep 17 00:00:00 2001 From: Markus Boehme Date: Tue, 7 Jun 2022 20:29:52 +0000 Subject: [PATCH] tools: Move empty-bootconfig.data into a dedicated directory empty-bootconfig.data will soon get company. Create a dedicated directory for pre-assembled bootconfig initrds and move the file there. Signed-off-by: Markus Boehme --- tools/{ => bootconfig}/empty-bootconfig.data | Bin tools/rpm2img | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tools/{ => bootconfig}/empty-bootconfig.data (100%) diff --git a/tools/empty-bootconfig.data b/tools/bootconfig/empty-bootconfig.data similarity index 100% rename from tools/empty-bootconfig.data rename to tools/bootconfig/empty-bootconfig.data diff --git a/tools/rpm2img b/tools/rpm2img index b6872b9259d..6b0565a173c 100755 --- a/tools/rpm2img +++ b/tools/rpm2img @@ -301,7 +301,7 @@ dd if="${BOOT_IMAGE}" of="${OS_IMAGE}" conv=notrunc bs=1M seek="${partoff[BOOT-A # Copy the empty bootconfig file into the image so grub doesn't pause and print # an error that the file doesn't exist -cp /host/tools/empty-bootconfig.data "${PRIVATE_MOUNT}/bootconfig.data" +cp /host/tools/bootconfig/empty-bootconfig.data "${PRIVATE_MOUNT}/bootconfig.data" # Targeted toward the current API server implementation. # Relative to the ext4 defaults, we: # - adjust the inode ratio since we expect lots of small files