2334 Commits

Author SHA1 Message Date
Igor Pecovnik
28f520420d Improved freezing mechanism with README 2024-09-13 09:02:21 +08:00
Igor Pecovnik
147b4ab40f More elegant solution to prevent kernel upgrades per certain board 2024-09-13 09:02:21 +08:00
Igor Pecovnik
d3dff5ce8c Framework: bump tmpfs size as we are going over
Suppress this warning: "Rootfs post-tweaks size is larger than estimated tmpfs size"
2024-09-13 09:02:21 +08:00
Igor Pecovnik
d1c1e3f551 Force rootfs cache rebuild - once again. 2024-09-13 09:02:21 +08:00
Igor Pecovnik
68a01df343 Enable allow-downgrades to base-files install to allow building images with older version than current
Framework stores our base-files in rootfs cache with version that comes from trunk and when we make stable images for current or previous release, build fails with error  E: Packages were downgraded and -y was used without --allow-downgrades.
2024-09-13 09:02:21 +08:00
Igor Pecovnik
cdf52784cb Expand functions install_deb_chroot and install_artifact_deb_chroot with accepting additional custom parameter
This adds support to pass additonal parameters to package installer.
2024-09-13 09:02:21 +08:00
Igor Pecovnik
278bc6c60d Framework: disable armbian repository while generating rootfs cache 2024-09-13 09:02:21 +08:00
JohnTheCoolingFan
7c54c78846 Run docker via run_host_command_logged 2024-09-13 09:02:20 +08:00
JohnTheCoolingFan
2edf596e7b Check for loop devices and a temp container run 2024-09-13 09:02:20 +08:00
JohnTheCoolingFan
a7060ed749 Revert "Add MKNOD capability to docker container (#6927)"
This reverts commit 8162899d3d42deb531bc9c18903bcf1f1af9a352.

The capability has nothing top do with the actual issue.
2024-09-13 09:02:20 +08:00
Igor Pecovnik
528cac174b rootfs: add comment to force rootfs rebuild 2024-09-13 09:02:20 +08:00
ColorfulRhino
60b646c516 cli: kernel-make: Use build@armbian instead of armbian@next for KBUILD 2024-09-13 09:02:20 +08:00
ColorfulRhino
553b76368f cli: kernel-make: Add note for parallel compression for xz
Source: https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/
2024-09-13 09:02:20 +08:00
Evgenii Zheltonozhskii
cc117369be Support kernel compilation with Clang/LLVM 2024-09-13 09:02:20 +08:00
Kevin Schmidt
93dc858d35 Fix armbian-firmware-full package build.
Include symlinks from linux-firmware.
2024-09-13 09:01:26 +08:00
ColorfulRhino
b0d5059617 partitioning: Declare rootpart as local variable
The others like `uefipart` and `bootpart` are also defined as local var. Establish consistency.
2024-09-13 08:58:35 +08:00
ColorfulRhino
9d746da793 partitioning: Set correct partition type UUID for root filesystem
Previously, only the type "Generic Linux filesystem" was used.
Use the correct type "Linux root ($ARCHITECTURE)" for the root filesystem.
2024-09-13 08:58:35 +08:00
ColorfulRhino
58aa481144 partitioning: Add check to use legacy BIOS boot partition with GPT only, not MBR
Exit with an error message if trying to add this partition to an MBR disk.
2024-09-13 08:58:35 +08:00
ColorfulRhino
db842c1b29 partitioning: Output the partitioning options to the debug log 2024-09-13 08:58:35 +08:00
ColorfulRhino
3c699bd035 partitioning: Add some comments to improve readbility 2024-09-13 08:58:35 +08:00
schwar3kat
48483780fe Add Linux Mint Virginia and Wilma to supported hosts
Add virginia and wilma in host-release.sh

Add wilma in prepare-host.sh
2024-09-13 08:58:35 +08:00
Igor Pecovnik
20d7e5c417 Packages: move base-files, bsp-desktop and desktop packages to RELEASE specific folders 2024-08-06 17:13:31 +08:00
schwar3kat
bd98f81565 Fix_rtl8189fs_WiFi_driver (#6984)
Fix wrong commit being pulled for rtl8189fs WiFi driver.

Add CONFIG_RTL8189FS=m to linux-sunxi-current.config and linux-sunxi64-current.config.
2024-08-06 16:51:57 +08:00
Ricardo Pardini
8d845eeddc utils-dpkgdeb: force rebuild of all artifacts, due to https://github.com/armbian/build/pull/6964 (ORAS change) 2024-08-06 16:51:57 +08:00
Ricardo Pardini
081e2cf552 oci-oras: fix for ORAS > 1.x, as it now requires HOME to be set (fixes download-artifact)
- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes https://github.com/armbian/build/pull/6964
2024-08-06 16:51:57 +08:00
igorpecovnik
6a6814b1b9 tools: Bump BATCAT_VERSION from 0.23.0 to 0.24.0 2024-08-06 16:51:57 +08:00
igorpecovnik
62eb632587 tools: Bump ORAS_VERSION from 0.16.0 to 1.2.0 2024-08-06 16:51:57 +08:00
igorpecovnik
d88ca9e834 tools: Bump SHELLCHECK_VERSION from 0.9.0 to 0.10.0 2024-08-06 16:51:57 +08:00
amazingfate
239df637fa add customized GHCR_MIRROR_ADDRESS support 2024-08-06 16:51:57 +08:00
ColorfulRhino
47905ccd12 cli: uboot: Move uboot_cflags variable to before its first use 2024-08-06 16:51:57 +08:00
amazingfate
821ab197f5 wifi: rtl8852bs: add driver for family instead of board 2024-08-06 16:51:56 +08:00
JohnTheCoolingFan
514ddcb320 Add MKNOD capability to docker container (#6927)
* Added MKNOD capability to docker container
* Added comment explaining why MKNOD capability is needed
2024-08-06 16:51:56 +08:00
ColorfulRhino
f0094a2d8c wifi: rtl8852bs: Add some comments 2024-08-06 16:51:56 +08:00
amazingfate
860f069769 wifi: rtl8852bs: fix build for rockchip 2024-08-06 16:51:56 +08:00
ColorfulRhino
c345ed60cb partitioning: Reduce commit mount option for btrfs and ext4 to 120
Mount option `commit=600` (=10 minutes) seems pretty high.
Reduce it to 120 for ext4 (default for ext4 is `commit=5`)
and 120 for btrfs (default for btrfs is `commit=30`) to reduce
risk of losing data on power loss.

Sources:
- https://www.kernel.org/doc/html/latest/admin-guide/ext4.html
- https://wiki.archlinux.org/title/Btrfs#Commit_interval
- https://btrfs.readthedocs.io/en/latest/Administration.html
2024-08-06 16:51:56 +08:00
ColorfulRhino
ff6f7852cc Beautify shellfmt and add board configs to formatting list (#6910)
* tools: shellfmt: Beautify and add board configs to formatting list
* Format the whole code using `lib/tools/shellfmt.sh`
---------
Co-authored-by: Igor <igor@armbian.com>
2024-08-06 16:51:56 +08:00
ColorfulRhino
c2b37cd9f9 cli: main-config: Move NETWORKING_STACK config after family config
This allows family configs to change the networking stack.
2024-08-06 16:51:56 +08:00
ColorfulRhino
e6f5548197 cli: uboot: Remove HOME workaround for old tinkerboard/xt-q8l-v10 U-Boot
This temporary workaround was only needed for tinkerboard and xt-q8l-v10 version 2022.04 U-Boot. The version has since bumped to 2024.07 and builds fine without this.
2024-08-06 16:51:56 +08:00
Ricardo Pardini
1cda6cdaf2 u-boot: embed armbian artifact version in CONFIG_LOCALVERSION
- we're hacking at it anyway, so why not use it to uniquely identify the exact build
2024-08-06 16:51:56 +08:00
Viacheslav Bocharov
6550a6efc0 Fix trap-logging to CI ant not GITHUB_ACTIONS
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
Viacheslav Bocharov
1027ba4aec Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
Viacheslav Bocharov
4c22786618 Allow to pass docker login credentials to oras-cli for and CI environment
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
Igor Pecovnik
efbd8dd79a Revert "git: git_ensure_safe_directory(): use env vars instead of changing config"
This reverts commit 11245601d095645d2973a0e765ee0f9a01d51cc1.
2024-08-06 16:49:39 +08:00
ColorfulRhino
79b926dfbe cli: Improve patching logs for U-Boot and kernel 2024-08-06 16:49:39 +08:00
Ricardo Pardini
d189b2dc2a git: git_ensure_safe_directory(): use env vars instead of changing config 2024-08-06 16:49:39 +08:00
Ricardo Pardini
2714955ea8 u-boot: use pipetty in place of unbuffer
- unbuffer never solved anything; pipetty might
2024-08-06 16:49:38 +08:00
ColorfulRhino
f409c0c43e cli: kernel-patching: Print KERNELBRANCH and KERNELPATCHDIR before patching 2024-08-06 16:47:46 +08:00
ColorfulRhino
ebd6ce54c2 cli: uboot-patching: Print BOOTBRANCH and BOOTPATCHDIR before patching 2024-08-06 16:47:45 +08:00
Ricardo Pardini
bd15b7030f bsp-cli/bsp-desktop: hashing fixes
- both artifacts use functions in the bsp/utils-bsp.sh file, which wasn't being hashed
- bsp-cli hashed non-existent 'packages/bsp-cli' directory, remove
- bsp-cli: be verbose when rsync'ing `packages/bsp/common`
- force sync in a few strategic spots
- utils-bsp.sh: be verbose when copying files (incl `config/optional` stuff)
2024-08-06 16:47:45 +08:00
Ricardo Pardini
45545d1859 rootfs: add comment to force rootfs rebuild (#6864) 2024-08-06 16:45:09 +08:00