Changeset 3692


Ignore:
Timestamp:
Feb 23, 2017, 10:14:13 AM (2 years ago)
Author:
jrpelegrina
Message:

Fix debconf questions in cli

Location:
lliurex-up/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/lliurex-up-core/usr/share/lliurex-up/commonScripts/forceinstall

    r3644 r3692  
    33case "$ACTION" in
    44        initActions|initActionsSai|preActions|postActions)
    5                 DEBIAN_FRONTEND=gnome DEBIAN_PRIORITY=high apt-get install -f -y --force-yes
     5                apt-get install -f -y --force-yes
    66        ;;
    77esac
  • lliurex-up/trunk/fuentes/lliurex-up/usr/share/lliurex-up/LliurexUpConnect.py

    r3690 r3692  
    340340
    341341                self.preActions=self.llxUpCore.preActionsScript()
    342                 self.preActions=self.preActions + ' ;touch ' + self.preactions_token + '\n'
     342                self.preActions='DEBIAN_FRONTEND=gnome DEBIAN_PRIORITY=high ' +self.preActions + ' ;touch ' + self.preactions_token + '\n'
    343343                log_msg="Exec Pre-Actions"
    344344                self.log(log_msg)
     
    425425
    426426                self.postActions=self.llxUpCore.postActionsScript()
    427                 self.postActions=self.postActions + ' 2> >(tee ' + self.llxUpCore.errorpostaction_token + ') ;touch ' + self.postactions_token + ' \n'
     427                self.postActions='DEBIAN_FRONTEND=gnome DEBIAN_PRIORITY=high '+self.postActions + ' 2> >(tee ' + self.llxUpCore.errorpostaction_token + ') ;touch ' + self.postactions_token + ' \n'
    428428                #self.postActions=self.postActions + ' ;touch ' + self.postactions_token + ' \n'
    429429
  • lliurex-up/trunk/fuentes/python-lliurex-up/lliurex/lliurexup/__init__.py

    r3691 r3692  
    426426                        This function install lliurex-up
    427427                '''
     428                self.updateCacheApt(options)
    428429                command = "LANG=C LANGUAGE=en apt-get install --force-yes --yes " + flavourToInstall + "{options} ".format(options=options)
    429430                p = subprocess.Popen(command,shell=True,stdout=subprocess.PIPE)
Note: See TracChangeset for help on using the changeset viewer.