Commit graph

52 commits

Author SHA1 Message Date
Peter
a963782b40 glibc: include C.UTF-8 locale in image
Normally locale addon must be installed but users don't know that. Simplify this with adding default C.UTF-8 locale in image. Users can still install addon to use some other locale.

fixes Python3 error
UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-41: ordinal not in range(128)

like
https://github.com/croneter/PlexKodiConnect/issues/1447
https://forum.libreelec.tv/thread/23116-pvr-recorder-unsuppored-locale/?postID=147453

from Kodi Python
  before
    sys.getdefaultencoding(): utf-8
    sys.getfilesystemencoding(): ascii
  after
    sys.getdefaultencoding(): utf-8
    sys.getfilesystemencoding(): utf-8

from SSH console
  before
    # locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=

  after
    # locale
    LANG=C.UTF-8
    LC_CTYPE="C.UTF-8"
    LC_NUMERIC="C.UTF-8"
    LC_TIME="C.UTF-8"
    LC_COLLATE="C.UTF-8"
    LC_MONETARY="C.UTF-8"
    LC_MESSAGES="C.UTF-8"
    LC_PAPER="C.UTF-8"
    LC_NAME="C.UTF-8"
    LC_ADDRESS="C.UTF-8"
    LC_TELEPHONE="C.UTF-8"
    LC_MEASUREMENT="C.UTF-8"
    LC_IDENTIFICATION="C.UTF-8"
    LC_ALL=
2021-05-09 19:26:18 +02:00
mglae
b03dd0a9e1 st: st terminal emulator initial package
- add package including official scrollback patch
- add patch to fix color allocation and (missing) locale
- add st-256color to ncurses and busybox profile
2020-12-25 16:15:09 +01:00
queeup
48c425f8b9 busybox: allow bigger shell history size 2019-11-12 12:14:46 +03:00
CvH
1b9cbdaf26 spdx: packages/sysutils 2018-07-18 22:37:47 +02:00
Lukas Rusak
725ea4f977
busybox: use unified /usr 2016-12-04 13:23:45 -08:00
Stefan Saraev
7c35f31139 cleanup TODO in * 2015-04-07 12:08:46 +03:00
Stefan Saraev
bf42102acb reorder etc/profile.d
- all files should be xx-*.conf
- kodi.conf should be last. it appends $PATH and $LD_LIBRARY_PATH
  for addons. those are very important.
- busybox.conf should be right before kodi. it sets $HOME. nothing but
  kodi is allowed to override whatever is set by busybox.conf
- addons.conf should be first, so if we allow addon specific
  profile files, those should not be allowed to override env vars
  or functions we depend on.
2015-01-09 19:55:42 +02:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stefan Saraev
b650cd514a busybox: cleanup. we don't ship terminfo/v/vt100 anymore 2013-12-09 21:19:43 +02:00
Stefan Saraev
756951f934 etc/profile.d: simplify PATH/LD_LIBRARY_PATH export
.. and move export LD_LIBRARY_PATH to busybox (where ot belongs)
2013-12-07 16:54:49 +02:00
Stefan Saraev
83a284fff2 busybox: merge profile.d scripts 2013-10-17 21:04:15 +03:00
Stefan Saraev
9b2a8fbb9b clean up 2013-08-29 12:03:36 +03:00
Stephan Raue
615f3358dd busybox: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-08-21 16:11:04 +02:00
Stephan Raue
afddea760e busybox: rework debug shell systemd service scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-08-16 12:22:06 +02:00
Stephan Raue
4e9047ef6a busybox: add userconfig config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-14 15:28:45 +02:00
Stephan Raue
9715ae0aa5 busybox: create /etc/machine-id (symlink from /run/machine-id), used by systemd, dbus and replaces '$SYSTEMID'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-12 23:44:12 +02:00
Stephan Raue
3c17768471 ConsoleKit: remove package ConsoleKit
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-07 17:32:23 +02:00
Stephan Raue
5157f5e9b6 xbmc: rework, rename and cleanup profile.d config files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-07 15:51:39 +02:00
Stephan Raue
f1c6f96972 busybox: rename some profile config files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-07 15:46:10 +02:00
Stefan Saraev
288c27a6bd bash: move profile.d/* to busybox 2013-05-27 20:59:58 +02:00
Stefan Saraev
9963ca92da busybox: make 'safe shutdown' ash compatible 2013-05-27 20:59:57 +02:00
Stefan Saraev
ca8c0d4dd5 busybox & busybox-initramfs: clean up fastboot 2013-05-12 22:08:59 +03:00
Stefan Saraev
8d68698bdb busybox: implement a custom 'shutdown' script. use with care!
closes #2097
2013-03-22 20:07:53 +02:00
Stefan Saraev
948e47ddf5 busybox: some extra speed up 2013-01-18 22:38:17 +02:00
Stefan Saraev
84faae5a0a busybox: re-add 'safe shutdown / reboot' 2013-01-17 21:57:31 +02:00
Stephan Raue
ef23929355 busybox: add local addons to $LD_LIBRARY_PATH
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-10-23 16:02:04 +02:00
Stephan Raue
3edbb46861 Revert "remove package 'bash'"
This reverts commit 21ef847c81.

Conflicts:
	packages/sysutils/busybox/config/busybox.conf
2012-10-07 05:32:05 +02:00
JD239
cfb49e8781 The color scheme defined in /etc/profile.d/shell.conf makes most of the text white. This is quite hard to read on a white background. The file itself is readonly and I can't seem to override it with a .bashrc or .bash_profile.
This commit allows the client terminal to set its preferred text color.
2012-07-09 23:34:51 +03:00
Stephan Raue
21ef847c81 remove package 'bash'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-05-31 20:24:45 +02:00
Stephan Raue
e028757802 new package: add package 'bash', this reverts 32ba6fe666, this fixes #325
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 21:00:39 +01:00
Domin6
543c89c24b Change copyright and FSF address, this fixes #252 2012-02-29 13:36:32 +01:00
Adam Boeglin
42ce6908b2 Add the system library path so they're always found first. 2011-12-30 10:30:06 -05:00
Adam Boeglin
f83f5e14fa Addon library paths added to LD_LIBRARY_PATH so they need not be defined in every script. 2011-12-30 10:19:58 -05:00
Stephan Raue
32e81df74a busybox: dont install symlinks in /usr, add switch_root and mount.cifs to busybox
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-11-12 02:19:41 +01:00
Stephan Raue
87509b77fb busybox: provide unique and anonymous system id
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-10-19 08:24:34 +02:00
Stephan Raue
32562d4fa9 Revert "busybox: rename $RUNLEVEL to $MODE"
This reverts commit 991a990a2e.
2011-09-12 19:29:16 +02:00
Stephan Raue
2c48bb91ee Revert "xbmc: move addon hacks in a own init script"
This reverts commit 94a52caaac.
2011-09-12 02:39:11 +02:00
Stephan Raue
94a52caaac xbmc: move addon hacks in a own init script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-09-08 06:12:21 +02:00
Stephan Raue
991a990a2e busybox: rename $RUNLEVEL to $MODE
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-09-07 21:43:23 +02:00
Stephan Raue
fdaca07b9f busybox: set TERM variable to 'linux'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-08-16 01:04:12 +02:00
Stephan Raue
fbb989f98a busybox: add TERM env variable by default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-08-08 12:05:00 +02:00
Stephan Raue
c31436dcb6 busybox: add addons to PATH
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-05-27 00:19:19 +02:00
Stephan Raue
32ba6fe666 bash: remove package 'bash', add busybox shell, move inits and configs (we will see if this works :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-02-16 17:27:20 +01:00
Wintemrute
2d3ad4c2da Adding Headers...... 2011-01-09 22:06:11 +01:00
Stephan Raue
b551e33292 busybox: add runlevel 'installer'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-06 19:22:42 +02:00
Stephan Raue
31855dd999 busybox:
- remove some profile configfiles (moved to bash)
2010-05-09 01:42:04 +02:00
Stephan Raue
b60ee2d65c merging branch next
- add initial patch for adding nct667x lirc driver
- add asound.conf config file
2010-05-08 20:17:44 +02:00
Stephan Raue
3fae0a1108 busybox:
- add config file to setup $HOME
2010-05-07 21:29:21 +02:00
Stephan Raue
7af1f7d976 merging trunk 2010-03-26 19:47:45 +01:00
Stephan Raue
4751f4fd41 busybox:
- add /etc/profile.d/configcache.conf for permanent caching of configfiles to /storage/.cache
- add /etc/profile.d/fastboot.conf for fastboot config variables
- remove /etc/profile.d/home.conf
- add /etc/profile.d/hostname.conf for hostnam config variable
- remove /etc/profile.d/language.conf
- cleanup /etc/profile.d/path.conf
- add /etc/profile.d/runlevel.conf for detecting runlevel (move from /sbin/init)
- cleanup /etc/profile.d/shell.conf
- start /sbin/init with login shell to have access to profile.d variables
- remove additional read of /etc/profile
2010-03-25 12:11:29 +01:00