@ -84,6 +84,7 @@ LIVE_TASK=
PREINSTALLED=false
PREINSTALLED=false
PREINSTALL_POOL=
PREINSTALL_POOL=
PREINSTALL_POOL_SEEDS=
PREINSTALL_POOL_SEEDS=
ISOLINUX_LANG=
CHROOT_HOOKS=
CHROOT_HOOKS=
BINARY_HOOKS=
BINARY_HOOKS=
@ -244,6 +245,7 @@ case $PROJECT in
add_package install ubuntukylin-default-settings
add_package install ubuntukylin-default-settings
LIVE_TASK='ubuntu-live'
LIVE_TASK='ubuntu-live'
COMPONENTS='main restricted universe'
COMPONENTS='main restricted universe'
ISOLINUX_LANG=zh_CN
;;
;;
base)
base)
@ -388,6 +390,14 @@ EOF
;;
;;
esac
esac
if [ "$ISOLINUX_LANG" ]; then
cat > config/hooks/100-default-language.binary <<EOF
#! /bin/sh
set -e
echo "$ISOLINUX_LANG" > binary/isolinux/lang
EOF
fi
if $BINARY_REMOVE_LINUX; then
if $BINARY_REMOVE_LINUX; then
cat > config/binary_rootfs/excludes << EOF
cat > config/binary_rootfs/excludes << EOF
boot/vmlinu?-*
boot/vmlinu?-*