Commit graph

1049 commits

Author SHA1 Message Date
MilhouseVH
3d7409570c busybox: assign copyright to Team LE 2018-06-02 22:09:17 +01:00
Tomas Kelemen (vudiq)
c2792f5dbb redefine variable names for partition labels 2018-05-30 08:31:04 +02:00
Tomas Kelemen (vudiq)
efe33a0a96 platform_init: use labels defined by distro options 2018-05-29 09:23:01 +02:00
MilhouseVH
517330f9fe installer: drop extlinux support, not needed - use syslinux 2018-05-15 22:14:42 +01:00
MilhouseVH
cdb7daba21 grub: drop /flash/grub.cfg 2018-05-15 22:14:42 +01:00
MilhouseVH
7f61cb0349 init: fix grub check 2018-05-15 22:14:42 +01:00
MilhouseVH
52aa5db587 init: extra update validation 2018-05-15 22:14:42 +01:00
MilhouseVH
4c0b9c5f85 init: stop using backticks, minor cleanup 2018-05-15 22:14:42 +01:00
MilhouseVH
01a87ad788 init: fix // as IMAGE_KERNEL and IMAGE_SYSTEM should always have a leading / 2018-05-15 22:14:42 +01:00
MilhouseVH
20992919e1 init: update copyright 2018-05-15 22:14:42 +01:00
MilhouseVH
d8d723d7c2 init: drop BOOT_IMAGE from RPi/RPi2/Rockchip; fix img upgrades 2018-05-15 22:14:42 +01:00
MilhouseVH
63d995fc9c init: add post mount user hooks 2018-05-15 22:14:42 +01:00
MilhouseVH
f918598aa9 init: allow configurable ramdisk limit 2018-05-15 22:14:42 +01:00
MilhouseVH
2c281d13d9 syslinux.cfg/init/etc: unify syslinux.cfg 2018-05-15 22:14:42 +01:00
Chris Novakovic
dac5caa67c initramfs: write /dev/.flash_netboot if /flash is a remote filesystem
The init script currently touches a file at /dev/.storage_netboot if
/storage is a remote filesystem, so that scripts that run after the root
filesystem has been switched can behave differently depending on whether
/storage is mounted locally or remotely. Add similar functionality for
/flash by touching /dev/.flash_netboot if it is a remote filesystem.
2018-05-03 13:25:38 +01:00
Matthias Reichl
71b060e76e busybox: always build devmem
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-25 16:19:33 +02:00
Sascha Kuehndel (InuSasha)
8827a540aa
buildsystem: add BUILD_FLAG support
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)

All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk

Thanks to @MilhouseVH, for support and fixing
2018-03-07 18:35:01 +01:00
MilhouseVH
6d6f9daacb busybox: update init config for 1.28.1 2018-03-01 11:19:27 +00:00
MilhouseVH
68cbae3262
Merge pull request #2504 from adamg88/le90_busybox_1281
busybox: bump package to v1.28.1
2018-02-27 16:47:53 +00:00
MilhouseVH
8fa36a2642 busybox: don't build parallel 2018-02-21 17:19:36 +00:00
MilhouseVH
b7967dfcb7 Revert "add -J flag to limit race condition during build step"
This reverts commit 8af0df0bf6.
2018-02-21 17:17:51 +00:00
Adam Green
9d4a55d566
busybox: bump package to v1.28.1 2018-02-16 15:02:37 +00:00
MilhouseVH
208ff6fd8e busybox: use helper function 2018-02-01 05:21:36 +00:00
James Millar
8af0df0bf6 add -J flag to limit race condition during build step 2018-01-26 14:15:45 -05:00
MilhouseVH
92a868a64c
Merge pull request #2388 from kszaq/fstrim_linux_util
fstrim: disable in Busybox, enable in util-linux
2018-01-05 23:26:25 +00:00
Christian Hewitt
a8470ee576
Merge pull request #2375 from lrusak/systemd-umount
busybox: add upstream patch to fix umount from systemd
2018-01-05 22:06:31 +04:00
kszaq
e6b4fa074b fstrim: disable in Busybox, enable in util-linux
fstrim from util-linux gives more options, e.g. -a to trim all drives,
we also don't need fstrim in initramfs.

Thanks to koenkooi for the idea.
2018-01-05 18:44:33 +01:00
Lukas Rusak
cec921c1bd
busybox: add upstream patch to fix umount from systemd 2018-01-05 09:39:50 -08:00
Christian Hewitt
2ab057331f
Merge pull request #2357 from MilhouseVH/le90_pastebinit_fix
pastebinit: switch to ix.io
2018-01-03 09:25:51 +04:00
Lukas Rusak
54698ed9b2
busybox: enable brctl 2018-01-01 11:41:25 -08:00
MilhouseVH
347767b848 pastebinit: sprunge.us is worse than useless 2017-12-26 17:55:35 +00:00
MilhouseVH
4f89c4aa68 busybox: drop /var/lock - already created by legacy.conf from systemd 2017-12-09 18:35:30 +00:00
chewitt
628ce14af4 busybox: prevent weak root passwords 2017-12-08 06:53:41 +00:00
MilhouseVH
dc30a81d1c shadow: move from .config to .cache 2017-12-08 03:31:30 +00:00
MilhouseVH
4c9ad98ae2 /etc/shadow: fix file permissions 2017-12-07 20:16:45 +00:00
Radostan Riedel
7e07b2fc23
Merge pull request #2284 from chewitt/passwd
busybox: allow changing root password
2017-12-06 19:51:01 +01:00
MilhouseVH
4bc97b2aa9 init: fix offset calculation after busybox fdisk change 2017-12-04 00:49:10 +00:00
Lukas Rusak
712ce0b82e busybox: allow changing root password 2017-12-01 20:06:40 +00:00
Sascha Kuehndel (InuSasha)
3846ec7dac
buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
cvh
837b447b7c decommission PKG_IS_ADDON 2017-10-16 00:01:20 +02:00
MilhouseVH
41dd8f9534 Merge pull request #2061 from maideii/libreelec-8.2
added EFI 32bit support via GRUB2
2017-10-12 23:05:17 +01:00
Matthias Reichl
ad9e8dc372 Add support for kernel overlays
Core Kernel modules are now installed to
/usr/lib/kernel-overlays/base/lib/modules instead of /usr/lib/modules

Firmware files are installed to
/usr/lib/kernel-overlays/base/lib/firmware instead of /usr/lib/firmware

Packages can choose to install their modules and/or firmwareinto a
different overlay directory than base so they are not automatically enabled.

A new systemd service kernel-overlays, which is run before any modules
are loaded, adds overlays enabled via /storage/.cache/kernel-overlays/*.conf

These conf files must either contain the name of a system overlay,
which will then be searched for in /usr/lib/kernel-overlays/, or an
absolute path starting with '/'.

Overlaying is implemented by symlinking files from the overlays
to /usr/lib/modules and /usr/lib/firmware as not all platforms
support overlayfs.

This overlaying system can also be used by addons to provide optional
kernel modules and/or firmware by storing the absolute path to the addon
directory in the conf file and shipping kernel modules in
<addondir>/lib/modules/<KERNELVER>.

To save space only symlinks for modules matching the currently
running kernel version are created as addons may want to ship
modules for older kernel versions as well to be backward-compatible
to older LibreELEC versions.

Changes since v1:
- fixup kernel-overlays-service: add before kmod-static-nodes.service
  Fix static device nodes for module autoloading not being created.
- fixup kernel-overlays-service: fail if /usr/lib/modules exists
- squash kernel overlays: use get_kernel_overlay_dir in linux/package.mk
- Add support for firmware files via kernel overlays
- config/functions: include kernel overlays in addon installation

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 20:04:02 +02:00
maideii
7def0a79dc added EFI 32bit support via GRUB2-updated busybox init config 2017-10-12 08:40:08 +08:00
maideii
c268754d0d added EFI 32bit support via GRUB2-expanded all the config with variables 2017-10-10 11:31:49 +08:00
MilhouseVH
8ac550bde9 init: recover from a failed upgrade 2017-09-17 16:16:55 +01:00
Christian Hewitt
63c0f2cb8c Merge pull request #1773 from MilhouseVH/init_break_after
init: make break after behaviour really break after
2017-09-13 20:56:12 +04:00
DaVukovic
e766b0bac5 updated getedid script because of an issue 2017-09-09 19:39:22 +02:00
Lukas Rusak
2800b210d7 Merge pull request #1862 from MilhouseVH/busybox_dd_fix
busybox: revert dd fsync change which makes no sense
2017-08-21 10:33:03 -07:00
MilhouseVH
52479d65d6 init: fix error handling during get_project_arch 2017-08-09 16:20:31 +01:00
MilhouseVH
3a2a85022a busybox: revert dd fsync change which makes no sense 2017-08-08 22:57:12 +01:00