Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W wicopa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • jlopez
  • wicopa
  • Issues
  • #22
Closed
Open
Created Mar 09, 2020 by remy@remyGuest

adding a checkbox to add the right timezone and locales

If you take a look at this recipe you will see that there is two sections to fix the timezone and the locales in the recipe. One is generic; we should be able to add it easily:

  # Timezone and locales settings
  TZ=Europe/Paris
  ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
  #dpkg-reconfigure -f noninteractive tzdata
  sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
  locale-gen
  echo 'LANG="en_US.UTF-8' >> /etc/default/locale

The other one is specific to R and is done later in the recipe:

  ## fixing locales in R
  #echo 'LANG <- Sys.getenv("LANG")' | R --slave
  #echo 'Sys.setlocale("LC_ALL", LANG)' | R --slave

This would be a nice enhancement in wicopa

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking