From bb55a8a08a0cb2ec10e5c5a47c8c3534c7fdf1a6 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sun, 22 Oct 2023 21:41:35 +0700 Subject: [PATCH] add pre script to set all locales --- katsu/modules/live/live-pre.sh | 5 +++++ katsu/modules/live/live.yaml | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 katsu/modules/live/live-pre.sh diff --git a/katsu/modules/live/live-pre.sh b/katsu/modules/live/live-pre.sh new file mode 100644 index 0000000..597ee28 --- /dev/null +++ b/katsu/modules/live/live-pre.sh @@ -0,0 +1,5 @@ +#!/bin/bash -x + +mkdir -p $CHROOT/etc/rpm/macros.d/ + +echo "%_install_langs all" > $CHROOT/etc/rpm/macros.d/macros.lang \ No newline at end of file diff --git a/katsu/modules/live/live.yaml b/katsu/modules/live/live.yaml index d0a6af8..72aaa74 100644 --- a/katsu/modules/live/live.yaml +++ b/katsu/modules/live/live.yaml @@ -1,4 +1,8 @@ scripts: + pre: + - id: live-pre + name: Pre Live Image + file: pre.sh post: - id: live-setup name: Set up Live Image