Commit Graph

119 Commits

Author SHA1 Message Date
Matthias Reichl
44e25639b6 busybox: drop rpcbind dependency
This is now pulled in via nfs-utils

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-12 20:07:20 +01:00
CvH
d09d7c51b2 pastebinit: use LE paste service 2023-12-10 22:00:52 +01:00
mglae
671a358b65 busybox: fs-resize: use parted to fix gpt errors instead of sgdisk
parted's 6.3 "--fix" parameter now allows non-interactive fixing

gptfdisk package dependency is removed
2023-06-04 12:17:09 +02:00
Rudi Heitbaum
ca0a9f7400 busybox: update to 1.36.1
log:
- https://git.busybox.net/busybox/log/?h=1_36_stable

Bug fix release. 1.36.1 has fixes for line editing, detection of
hardware sha1/sha256 support, unzip (do not create suid/sgid files
unless -K), shell (printf and sleep with no args, handing of SIGINT
in sleep), ed.

release notes:
- https://busybox.net
2023-05-20 13:58:22 +00:00
heitbaum
9bb5a09af7 busybox: update to 1.36.0
Includes seedrng:
- https://www.mail-archive.com/busybox@busybox.net/msg28256.html

news:
- https://www.busybox.net/news.html

ann:
- http://lists.busybox.net/pipermail/busybox-cvs/2023-January/041367.html
2023-03-14 13:04:21 +00:00
Christian Hewitt
e8391a769d busybox: add vfd-clock script/service 2022-10-01 06:40:19 +00:00
SupervisedThinking
611b07c484 various: link with gold if supported 2022-09-22 18:27:07 +02:00
Ian Leonard
9d03223e80 busybox: init: use buildsystem's SYSTEM_SIZE for update warning
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 22:03:09 +00:00
Ian Leonard
5db34cb1fb busybox: drop host package
busybox:host installs two binaries into $TOOLCHAIN:

arch - the same as "uname -m"
cryptpw - generates password hashes - replaced with python

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-12 00:15:41 +00:00
Ian Leonard
2cb6f17526 config/buildsystem: generate password hash in add_user using python
Python3's crypt module is capable of generating password hashes. Use that
instead of busybox:host's cryptpw function.

Move password hashing into config/function's add_user(), so one need not
remember to generate the hash and then pass it into add_user().

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-12 00:15:01 +00:00
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
Matthias Reichl
76fd023bb0 busybox: add getedid script for RPi
The getedid script supports the "create" and "delete" options like
the x86 version.

It makes use of the "dump-active-edids", "create-edid-cpio" and
"update-bootloader-edid" scripts and can be used as is on other
DRM platforms as well as it doesn't contain any RPi specific code.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 19:18:09 +01:00
Matthias Reichl
f962a4b2b6 busybox: add script to modify edid override with RPi bootloader
The script supports two operations:

"set" enables initramfs cpio in config.txt and adds edid and video
override kernel options for the specified connectors to cmdline.txt

"delete" removes edid.cpio initramfs loading in config.txt and
removes all edid override and video options from cmdline.txt

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
a02a2e8b51 busybox: add script to dump edids of active DRM connectors
The script dumps all edids of currently active connectors to
.config/firmware/edid as edid-CONNECTORNAME.bin

When run with the "-q" option informative messages are disabled
and only the active connectors are returned so the output can
be easily used by other scripts.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
0039f93de6 busybox: add create-edid-cpio script
This script simply creates /flash/edid.cpio with the contents from
.config/firmware/edid

Compared to the x86 specific getedid script this works on all platforms
as it doesn't contain any platform specific code. Eventually getedid
should be refactored make use of this helper script, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
8f1344f6fd Move kernel overlays setup to init
When running kernel-overlays-setup as a systemd service we have
a short window where /lib/firmware isn't available.

This causes drm edid override to occasionally fail if the edid file
is requested between switching to sysroot and completion of the
kernel-overlays-setup script.

Setting up firmware and module overlays in init, before switching
to sysroot, closes the gap and also has the benefit that we no longer
need to care about the rather tedious systemd unit ordering.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
Ian Leonard
b31ce30170 sysutils: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:16 +00:00
Christian Hewitt
b9272a4e90 Merge pull request #4773 from CvH/10.0/unzip_cleanup
drop unzip and minizip package
2021-01-16 16:47:35 +04:00
heitbaum
5a68b66691 busybox: update to 1.32.1
update 1.32.0 (26 June 2020) to 1.32.1-stable (1 January 2021)
changelog: https://www.busybox.net
2021-01-09 13:00:28 +00:00
CvH
54a2f66da6 busybox: switch to busybox unzip 2020-12-19 11:13:25 +01:00
CvH
8b77e86ea5 Merge pull request #4662 from chewitt/dthelper
busybox: rework device-tree helper scripts
2020-12-01 18:15:02 +01:00
heitbaum
0c0f29df35 busybox: updated to 1.32.0 2020-11-26 06:14:38 +00:00
Christian Hewitt
05174a6f99 busybox: rework device-tree helper scripts 2020-11-19 05:20:56 +00:00
Matthias Reichl
d233b7660d busybox: add systemd generator to override default.target
libreelec-target-generator replaces the logic previously used
in the initramfs init script and dynamically redirects default.target
if needed.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-25 23:58:02 +02:00
chewitt
25e7ecaa43 busybox: add ledfix script/service 2020-07-06 06:49:47 +00:00