Skip to content

Commit

Permalink
add pre script to set all locales
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Oct 22, 2023
1 parent 87fde64 commit bb55a8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions katsu/modules/live/live-pre.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions katsu/modules/live/live.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bb55a8a

Please sign in to comment.