Browse Source

remove localepurge

master
crims0n 5 years ago
parent
commit
836233b51e
  1. 2
      linux-live/config
  2. 8
      linux-live/minioslib
  3. 1
      linux-live/pkglists/main.list

2
linux-live/config

@ -33,7 +33,7 @@ DISTRIBUTION_VARIANT="minbase"
DISTRIBUTION_URL="http://ru.archive.ubuntu.com/ubuntu"
#
COMP_TYPE="xz"
COMP_TYPE="lz4 "
# Kernel file, will be copied to your Live Kit
# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready

8
linux-live/minioslib

@ -1122,10 +1122,12 @@ EOF
update-locale LANGUAGE=ru_RU.UTF-8 >>$OUTPUT 2>&1
update-locale LANG=ru_RU.UTF-8 >>$OUTPUT 2>&1
update-locale LC_ALL=ru_RU.UTF-8 >>$OUTPUT 2>&1
echo "localepurge localepurge/nopurge debconf-set-selections multiselect en_US.UTF-8, ru_RU.UTF-8" | debconf-set-selections -v >>$OUTPUT 2>&1
echo "localepurge localepurge/use-dpkg-feature boolean true" | debconf-set-selections -v >>$OUTPUT 2>&1
dpkg-reconfigure -f noninteractive localepurge >>$OUTPUT 2>&1
if grep localepurge $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1; then
echo "localepurge localepurge/nopurge debconf-set-selections multiselect en_US.UTF-8, ru_RU.UTF-8" | debconf-set-selections -v >>$OUTPUT 2>&1
echo "localepurge localepurge/use-dpkg-feature boolean true" | debconf-set-selections -v >>$OUTPUT 2>&1
dpkg-reconfigure -f noninteractive localepurge >>$OUTPUT 2>&1
#localepurge -v >>$OUTPUT 2>&1
fi
# configure resolvconf
if grep resolvconf $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1 || grep resolvconf $SCRIPT_DIR/pkglists/other.list || [ $DISTRIBUTION != "xenial" ] >>$OUTPUT 2>&1; then

1
linux-live/pkglists/main.list

@ -3,7 +3,6 @@
ubuntu-minimal
resolvconf
xz-utils
localepurge
bash-completion
# имя этого ▼ пакета нужно задавать в зависимости от необходимого типа ядра
#linux-image-generic-hwe-18.04

Loading…
Cancel
Save