about summary refs log tree commit diff
path: root/mklive.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2012-07-06 15:38:26 +0200
committerJuan RP <xtraeme@gmail.com>2012-07-06 15:38:26 +0200
commitc50879d93af2821e11a9a39c29c2cb23f855e05d (patch)
tree00450ca8ed87d6387f6717b433bcf55d886a16a7 /mklive.sh.in
parente48e63b61c2c409757a2d4180255f903f1a7296a (diff)
downloadhrmpf-c50879d93af2821e11a9a39c29c2cb23f855e05d.tar.gz
hrmpf-c50879d93af2821e11a9a39c29c2cb23f855e05d.tar.xz
hrmpf-c50879d93af2821e11a9a39c29c2cb23f855e05d.zip
mklive.sh.in: replace @@ARCH@@.
Diffstat (limited to 'mklive.sh.in')
-rw-r--r--mklive.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/mklive.sh.in b/mklive.sh.in
index 9e31155..008ecf0 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -379,6 +379,7 @@ fi
 sed -i  -e "s|@@SPLASHIMAGE@@|$(basename $SPLASH_IMAGE)|" \
 	-e "s|@@KERNVER@@|${KERNELVERSION}|" \
 	-e "s|@@KEYMAP@@|${KEYMAP}|" \
+	-e "s|@@ARCH@@|$(uname -m)|" \
 	-e "s|@@LOCALE@@|${LOCALE}|" $ISOLINUX_DIR/isolinux.cfg
 
 #
@@ -390,6 +391,7 @@ cp -f $MKLIVE_DATADIR/grub_void.cfg.in $GRUB_DIR/grub_void.cfg || error_out $?
 sed -i  -e "s|@@SPLASHIMAGE@@|$(basename $SPLASH_IMAGE)|" \
 	-e "s|@@KERNVER@@|${KERNELVERSION}|" \
 	-e "s|@@KEYMAP@@|${KEYMAP}|" \
+	-e "s|@@ARCH@@|$(uname -m)|" \
 	-e "s|@@LOCALE@@|${LOCALE}|" $GRUB_DIR/grub_void.cfg
 mkdir -p $GRUB_DIR/fonts $GRUB_DIR/locale || error_out $?
 cp -f $GRUB_DATADIR/unicode.pf2 $GRUB_DIR/fonts || error_out $?