Commit Graph

1026 Commits

Author SHA1 Message Date
Matthias Reichl
549e7667fb busybox: disable mount and umount programs for target
Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-08 12:16:25 +01:00
CvH
d09d7c51b2 pastebinit: use LE paste service 2023-12-10 22:00:52 +01:00
mglae
51af7dcbad busybox: fix dependencies of var-log.mount after systemd v254 bump
Fix for:
systemd[1]: local-fs.target: Found ordering cycle on var-log.mount/start
systemd[1]: local-fs.target: Found dependency on local-fs-pre.target/start
systemd[1]: local-fs.target: Found dependency on systemd-tmpfiles-setup-dev.service/start
systemd[1]: local-fs.target: Found dependency on machine-id.service/start
systemd[1]: local-fs.target: Found dependency on local-fs.target/start
systemd[1]: local-fs.target: Job var-log.mount/start deleted to break ordering cycle starting with local-fs.target/start
2023-08-29 19:31:03 +02: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
0657645515 busybox: enable FEATURE_IP_NEIGH
Add support for neighbor commands to "ip".

Using ip neigh:

The ip neigh command provides information very similar to what you get
using arp. (The neigh option to the ip command can be spelled out as
"neighbor" or "neighbour" if you don't mind typing a few more letters.)

One of the reasons for using ip neigh in place of arp is that arp
is among a number of Linux commands that are now deprecated (not
recommended), and the net-tools package from which it derives is no
longer under active development. The newer ip commands should provide
the same basic information, but arp is still a popular tool because
of its many features.

Here is an example of the ip neigh command:

$ ip neigh
192.168.0.33 dev enp0s25 lladdr 7c:67:a2:cf:9f:ef REACHABLE
192.168.0.1 dev enp0s25 lladdr f8:8e:85:35:7f:b9 STALE
192.168.0.7 dev enp0s25 lladdr 20:ea:16:01:55:eb REACHABLE
192.168.0.23 dev enp0s25  FAILED
192.168.0.20 dev enp0s25  FAILED
192.168.0.14 dev enp0s25 lladdr 04:ed:33:7c:44:c6 STALE
192.168.0.8 dev enp0s25  FAILED
192.168.0.17 dev enp0s25 lladdr 00:25:00:4e:9e:35 STALE
192.168.0.15 dev enp0s25 lladdr 38:30:f9:29:f8:a4 STALE
192.168.0.13 dev enp0s25 lladdr 44:65:0d:43:ed:44 STALE
fe80::fa8e:85ff:fe35:7fb9 dev enp0s25 lladdr f8:8e:85:35:7f:b9 router STALE

FAILED indicates that the system could not be reached.
STALE indicates that the connection hasn't been recently verified.

The ip neigh command offers additional options as well. For example,
to add or remove an address from your arp table, you could use commands
like these:

$ sudo ip neigh add 192.168.0.21 dev emp0s25		 add an entry
$ sudo ip neigh del 192.168.0.8 dev enp0s25		 delete an entry
2023-05-25 10:42:26 +00: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
mglae
76bda434d5 busybox: createlog: don't include journal files of persistent logging 2023-04-23 19:31:00 +02:00
mglae
c4c635b04c fs-resize: log to /flash
Add simple logging to ease debugging of future errors
2023-03-30 18:42:21 +02:00
mglae
597423a948 fs-resize: print error if disk or partition was not deteced 2023-03-30 18:42:20 +02:00
mglae
47baee87f4 fs-resize: add nvme support 2023-03-30 18:42:18 +02:00
Ian Leonard
5fd5392e6d samba: move directory creation to busybox or kodi tmpfiles.d
For the logfiles share, the createlog script will create /storage/logfiles
before moving the zipped logs there.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-03-18 18:35:18 +00:00
Ian Leonard
787b30b24b busybox: createlog: no githash stored in /etc/issue
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-03-18 06:31:06 +00:00
Ian Leonard
462b767ce4 busybox: createlog: cleanup
Only create a logfile for the previous boot if persistent journal
is being used.

Also applies some changes for shellcheck warnings:

`...` to $(...)
Verifying variable is set ${var:?} before rm'ing
Useless use of cat
Command grouping when the commands redirect to the same file
Use of == in [...]
[ test1 -a test2 ] to [ test1 ] && [ test2 ]

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-03-18 06:30:34 +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
8cc6cb9db8 busybox: add t95z-plus to vfd-clock 2023-02-26 13:06:34 +00:00
Christian Hewitt
29e9c4c936 systemd: add tx9-pro to vfd-clock script 2023-02-12 11:22:11 +00:00
mglae
f296f3507a Merge pull request #6886 from bugsyb/policy-based-routing
PBR - Policy Based Routing config dir added as /storage/.config/iproute2 - to allow configuration
2022-10-03 12:20:39 +02: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
bugsyb
2be11132ab PBR - Policy Based Routing config dir added as /storage/.config/iproute2 - to allow configuration 2022-09-12 01:19:24 +02:00
Christian Hewitt
9ca8e10854 busybox: find extlinux on alternative /flash layouts 2021-11-26 12:00:19 +00: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
CvH
b30f709a56 Merge pull request #5266 from antonlacon/oe-init
init: stop checking for OPENELEC_ARCH
2021-08-11 13:23:45 +02:00