Ricardo Pardini
bf7f20776c
cli: introduce inventory-boards cli command, for hopefully painless & useful one-board-per-line CSV output
...
- `inventory-boards-csv.py`: moar Python atrocities done to data; idea here is to output one line per board, with <<varies>> for fields that, well, vary (mainly across BRANCH'es)
- `inventory-boards` sets `TARGETS_FILE` to something that doesn't exist, so the `default-targets.yaml` is used (so same list for everyone, save for userpatched-boards)
2024-03-06 00:58:26 +01:00
hzy
1d31aac7a9
repo-list: fix build issue with eos distribution
...
armbian repo doesn't existed in eos distribution, which makes `apt update` fail.
2024-03-03 17:59:31 +01:00
amazingfate
86865a446b
move firstrun network config to firstlogin
2024-03-03 16:08:04 +01:00
Ricardo Pardini
71753f4b3b
python-tools: bump PyYAML to 6.0.1 to fix build failures on sid/trixie/noble etc
2024-03-03 16:07:19 +01:00
Ricardo Pardini
ceed97c57b
prepare-host/host-release: enable noble for building; noble also doesn't have python2 anymore
2024-03-03 16:07:19 +01:00
Ricardo Pardini
e3575ecd1d
kernel: revert "also, don't add target 'install' twice"
...
- oops
2024-03-02 22:04:00 +01:00
BlitzKrieg
85eced8d64
Adds --partscan parameter to losetup command for forcing the kernel to scan partition table. #6333
2024-03-02 21:00:55 +01:00
Ricardo Pardini
8a2fad5beb
kernel: call make with INSTALL_MOD_STRIP=1 so modules are stripped
...
- also, don't add target 'install' twice
2024-03-02 20:50:36 +01:00
Ricardo Pardini
b8de0983f0
wsl2: fix: don't pester user for UTF-8 terminal if stdin is not a terminal
2024-03-02 20:48:57 +01:00
Ricardo Pardini
c3fc3f432c
config-prepare: do change tracking for each sourced board file (core vs userpatches)
2024-03-02 20:48:13 +01:00
Ricardo Pardini
49e86b2cff
u-boot: call olddefconfig after config hooks; use pipetty instead of unbuffer for make
...
- also: cli `uboot-config` produces a defconfig diff (useful to create post_config_uboot_target)
2024-03-02 20:48:01 +01:00
Ricardo Pardini
5e1b3ca392
debootstrap: use latest git for Ubuntu/Debian debootstrap instead of host-installed
...
- `DEBOOTSTRAP_DIR` must be set during the 1st stage, but NOT the second stage
- latest devel versions might be missing scripts for old releases; just symlink to the default one if so
- this hopefully should _end_ the debootstrap madness we've been handling, at least until we get around to mmdebstrap (Perl) one day
2024-03-02 20:46:58 +01:00
Ricardo Pardini
6e0520f3da
debootstrap: remove debootstrap from host dependencies
2024-03-02 20:46:58 +01:00
Ricardo Pardini
e37525d234
debootstrap: Partially revert f2e663f0 "Improved debootstrap hacking support with fixes for Ubuntu Noble"
2024-03-02 20:46:58 +01:00
Ricardo Pardini
34bfa92052
Revert "Debootstrap is again too old for latest releases. Lets ship currently latest with and install it when we build distros that needs it."
...
This reverts commit 7b61b05867 .
2024-03-02 20:46:58 +01:00
c0rnelius
88ed514b89
RTW88: RTL8822/21CU FIXUPS ( #6314 )
...
* patch: misc: rtw88: `rtl8822/21cu fixups`
Backported 6.7.y to 6.1.y.
Included fixups for 6.1, 6.6, 6.7 and added 6.8.
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
* patch: misc: rtw88: 6.6: removed mbox
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
* patch: misc: rtw88: `v2 rtl8822/21cu fixups`
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
---------
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-02 13:14:43 -05:00
Igor Pecovnik
7b61b05867
Debootstrap is again too old for latest releases. Lets ship currently latest with and install it when we build distros that needs it.
2024-03-01 12:45:11 +01:00
Ricardo Pardini
bf1f57faef
artifact-uboot: include BOOTCONFIG in u-boot artifact version hash
...
- HOW did we get this far without this?
- should cause rebuild of all u-boots, hopefully
2024-02-23 11:21:47 +01:00
Gunjan Gupta
2bce64e24d
kernel: add hook to allow modifying kernel headers before packaging
2024-02-21 06:34:43 +05:30
Gunjan Gupta
6f1b675591
Prevent systemd from starting all services on first-boot
2024-02-11 01:20:17 +05:30
Viacheslav Bocharov
d0cfcfa733
Add hook to activate build module for rtl88x2cs driver in kernel config
2024-02-10 15:32:34 +01:00
Viacheslav Bocharov
4e7363f227
Update commit for network driver rtl88x2cs. Re-enable build
2024-02-10 15:32:34 +01:00
Gunjan Gupta
03a9465f00
armbian-bsp-cli: Allow adding contents to preinst, postrm scripts using post_family_tweaks_bsp hook
2024-02-09 19:40:14 +01:00
Darsey Litzenberger
ce33bddb58
Make the colorized build output readable on a light background
...
This fixes the readability of colorized output of compile.sh when
running on a terminal with a light background. It uses the COLORFGBG
environment variable similarly to how the ip(8) command does.
Signed-off-by: Darsey Litzenberger <dlitz@dlitz.net>
2024-02-09 19:38:03 +01:00
Gunjan Gupta
2341940cbe
Fix broken compilation for boards with multiple targets
2024-02-04 16:23:09 +01:00
Gunjan Gupta
473548220c
uboot: make sure patches work for custom uboot builds too
2024-02-04 11:22:27 +01:00
Gunjan Gupta
218f54dc28
Fix git_ensure_safe_directory function again
...
The command added to check whether the directory is git or not was
having syntax error. Fixed the same. Also it seems adding safe-directory
with local doesn't really work which actually makes sense. hence
reverting to using global instead. Its still safer than before as
we are not adding * and are adding the actual path of the directory
2024-02-03 04:50:42 +05:30
Rafael
94d4c007d1
Feature lvm support ( #6204 )
...
* using the configured volume group name
* added LVM support
* ensuring /boot never on LVM volume, created hook to setup root device
* preparing root device via extension, not assuming any particular partition for root
* using tab spacing
* using global parameter to require a boot partition
* using boot require, moving cryptroot code to extension
* adds crypt image suffix
---------
Co-authored-by: rafael <rvalle@privaz.io>
2024-02-01 20:01:58 +01:00
Igor Pecovnik
07037232a1
Unstable / testing packages sometimes contain hacks that are patching files
2024-02-01 22:01:44 +05:30
Gunjan Gupta
7b81255a5f
Fix compilation within docker-shell
2024-02-01 21:04:23 +05:30
Gunjan Gupta
7bb20d7063
uwe5622: reduce system load
2024-01-31 23:55:58 +05:30
Gunjan Gupta
d9d6524e7f
Add hook to allow forcing uboot update
2024-01-30 12:00:24 +01:00
Igor Pecovnik
6b42f34b73
Add additonal check before running git command
2024-01-26 22:11:14 +01:00
Igor Pecovnik
12910e0d37
Fixes poorly made Git safe.directory workaround
2024-01-26 21:28:05 +01:00
Gunjan Gupta
c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump ( #6201 )
...
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
Igor Pecovnik
5383bd3cfa
Upstream wireless RTW88: Both 6.6 and 6.7 got patch integegrated, thus don't apply it for 6.6 and up
2024-01-26 08:34:38 +01:00
amazingfate
d9389553e0
rtw88: remove merged patch for kernel 6.8
2024-01-24 17:43:27 +01:00
Alex Shumsky
eee0d33bbc
partitioning: allow to disable boot partition if bootloader known to support rootfs
2024-01-22 21:18:15 +01:00
Alex Shumsky
86a743ad83
partitioning: do not force image size estimation for (potentially) compressed btrfs rootfs
2024-01-22 21:18:15 +01:00
amazingfate
64094ee20e
fix gitee mirror
2024-01-22 21:17:15 +01:00
Igor Pecovnik
565a33d62d
Add SWITCH to define XZ compression as a parameter and leave defaults as is
2024-01-17 13:08:13 +01:00
Gunjan Gupta
a57329d611
remove remnants of SKIP_BOOTSPLASH
2024-01-17 04:13:40 +05:30
Ricardo Pardini
c8de95ccc7
artifact-uboot.sh: add a fake variable to hash, so all u-boots are rebuilt
2024-01-13 14:44:56 +01:00
Ricardo Pardini
04bde7ac47
config: calculate BOOTSOURCEDIR & friends only _after_ late_family_config hook; fixes #6144
...
- snafu on my part, sorry
- also: add more change-tracking variables; add more calls to change tracking in some key places, for future clarity
2024-01-13 14:44:49 +01:00
Igor Pecovnik
6cd3981805
Re-enable resolv.conf during deboostrap process as network manager seems to break it
2024-01-13 11:48:38 +01:00
Igor Pecovnik
9c75c86a54
Set DNS server if systemd-resolved is in use, change switch to if and check for DISTRIBUTION
2024-01-12 19:34:17 +01:00
Paolo Sabatino
8786526914
rtl8723cs: fix driver compilation on kernel 6.7
2024-01-11 23:38:57 +01:00
Ricardo Pardini
bebf4c7ae0
lib: implement and sprinkle some very basic config var change-tracking across board/family sourcing and several hook calls
2024-01-07 18:58:36 +01:00
Ricardo Pardini
dccf44630f
main-config: arch common: kernel/u-boot config defaulting+overriding via hook instead of pre-setting
...
- common.conf delegating to new `mainline_kernel_decide_version` hooks
- special case handling for v6.7-rc7
- some examples
- late-stage "use rolling branch version"
2024-01-07 18:58:36 +01:00
Ricardo Pardini
ac599c557a
lib/family config: remove resquices of KERNELDIR which is completely unused for a long time
...
- also `MAINLINE_KERNEL_DIR` not needed then
2024-01-07 18:58:36 +01:00