Giter Site home page Giter Site logo

Comments (7)

drtyhlpr avatar drtyhlpr commented on June 4, 2024

Hi, thanks for your feedback!

hm I currently don't know why there should be a file created in 2014 if your build system is running the correct date. Can you please add the commandline or config template that you used - so I can use this as a basis to perform the same steps like you did. of course no rpi hardware has realtime clock on it but it should be possible to add a simple i2c based one ... and yeah this nasty big battery.

from rpi23-gen-image.

supergilbert avatar supergilbert commented on June 4, 2024

Sorry I was not able to reproduce my problem.
Maybe I have made a wrong configuration or I was too much influenced by people that have problems to update date, when they are in "2014" (The default date on my RPI3 without any setting).
If I see the problem again. I willi try to bring you all usefull the information.
But for now you can consider that as a mistake.

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 4, 2024

hi no problem. I ll leave this issue open for a couple of weeks so maybe another user can give message if he has same or similar problems. to be honest I haven't tested the keyboard lang setting much :)

from rpi23-gen-image.

supergilbert avatar supergilbert commented on June 4, 2024

It seems to stay some problems with the keyboard configuration under the console.

The keyboard configuration have a strong dependency with packages "keyboard-configuration" and "locales".

In the script "bootstrap.d/12-locale.sh" line 13. There is a grep on ",locales". That seems to not work in some cases.

With the folowing configuration:
RPI_MODEL=3
APT_INCLUDES=locales
XKB_MODEL="pc105"
XKB_LAYOUT="fr"
XKB_VARIANT="latin9"
XKB_OPTIONS=""

I have got:

...

    • grep ,locales
      echo locales,apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils,parted,dbus,openssh-server,alsa-utils,rng-tools
  • [ ]
    ...

What follow the echo is the variable APT_INCLUDES
The keyboard configuration does not seems to be done.

(At line 43 we have got "chroot_exec dpkg-reconfigure -f noninteractive keyboard-configuration", but I do not know if this package is installed without including it in the variable APT_INCLUDES)

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 4, 2024

hi thanks for the info. sorry for the delay in the reply. I will test and patch it

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on June 4, 2024

not fixed yet. the required locales (and keyboard) packages are only installed if DEFLOCAL is different from en_US.

# Add required locales packages
if [ "$DEFLOCAL" != "en_US.UTF-8" ] ; then
  APT_INCLUDES="${APT_INCLUDES},locales,keyboard-configuration,console-setup"
fi

I thought the XKB_ settings are only relevant for the xorg keyboard settings, but https://wiki.debian.org/Keyboard reads different,

from rpi23-gen-image.

burnbabyburn avatar burnbabyburn commented on June 4, 2024

i always included these packages in apt_include. (German language didn't work without it) seems like this is the same error or atleast related.

I think this should fix the problem:

if [ "$DEFLOCAL" != "en_US.UTF-8" ] || ([ -n XKB_MODEL ] || [ -n XKB_LAYOUT ] ||  [ -n XKB_VARIANT ] ||  [ -n XKB_OPTIONS ]); then
  APT_INCLUDES="${APT_INCLUDES},locales,keyboard-configuration,console-setup"
fi

from rpi23-gen-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.