Commit Graph

2470 Commits

Author SHA1 Message Date
Franklyn Tackitt
4a8199b992 partitioning: Use btrfs set-default MOUNT/subvolume
This simplifies the code, removing the need to grep/cut the output of btrfs subvolume list
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
76470b1dad partitioning: Rely on the btrfs default subvolume for remounting
This allows changes to the default subvolume in `btrfs_root_add_subvolumes`
 to propagate as needed into the final image.
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
9f37e55980 partitioning: Add BTRFS_ROOT_SUBVOLUME switch
This allows changing the default root subvolume from @ to any user
 defined subvolume name
2025-05-05 06:15:50 +02:00
FantasyGmm
76229701ca Adding Variables to Set the Sector Size for UFS Devices 2025-04-19 13:19:13 +02:00
Werner
1c0e3c9b0d Update prepare-host.sh
I don't know. This doesn't feel right. The package exists in Jammy, Noble and Bookworm in both amd64 and arm64 variants so should be good...though it is probably not needed in all constellations. 
Still it is part of the toolchain and not generic packages. If this gets merged as it is this should be revisited.
2025-04-19 13:18:55 +02:00
EvilOlaf
f365339980 add new host build dependency for noble 2025-04-19 13:18:55 +02:00
Werner
204c646cc6 rockchip64: fix atf build, bump ATF to latest tag 2025-04-19 13:18:55 +02:00
Werner
11c285872e Fix ORAS tooling download due to absense of wget (#8104)
* move `wget` to basic deps
* fix spaces
2025-04-19 13:17:31 +02:00
Franklyn Tackitt
58a3d74eec fix: update jq in apt-utils to use filter arguments
This fixes the issue where jq sometimes fails to compile the filter when parsing
base-files.json
2025-04-19 07:56:05 +02:00
Igor Velkov
ab6587ac05 If rootfs placed on btrfs filesystem, place root on @ subvolume
It makes possible to work with snapshots of a root filesystem
2025-04-16 23:33:07 +02:00
Werner
554580ae34 copy example config at first start 2025-04-16 23:32:14 +02:00
Ricardo Pardini
484aac7df2 lib/tools/info: mapper-oci-uptodate: adapt to oras-py 0.2 api change 2025-04-12 20:06:13 +02:00
Ricardo Pardini
9e5ca480d2 lib/tools: Python CLI for ORAS (add non-existing case) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
5d712c242a lib/tools: Python CLI for ORAS (bump to 0.2.y, api change, not too bad) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
89eae213a7 lib/tools: Python CLI for ORAS (0.1.y) 2025-04-12 20:06:13 +02:00
JohnTheCoolingFan
5795f7202a Fix rtl8189fs driver commit version
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
Igor Pecovnik
451547b0d4 Add VENDOR color to BSP and artifacts hashing 2025-03-31 21:37:55 +02:00
Ricardo Pardini
4aa306c740 drivers_network: bump rtl8812au for 6.14.y
- https://github.com/aircrack-ng/rtl8812au/pull/1226 landed
2025-03-31 21:37:24 +02:00
Ricardo Pardini
454c49626d Revert "drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)"
This reverts commit 6b74df6f2c.
2025-03-31 21:37:24 +02:00
Igor Pecovnik
9c206d0175 Drop examples as they are not needed for hooks 2025-03-31 20:50:39 +02:00
coderabbitai[bot]
bd5bf38593 📝 Add docstrings to netkit
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8036#issuecomment-2766658224

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-31 20:50:39 +02:00
Igor Pecovnik
f029ab11c4 Enable NETKIT feature for all armbian-kernels => 6.7 2025-03-31 20:50:39 +02:00
Mecid
a322285cfb Replace bsdmainutils with bsdextrautils 2025-03-28 12:38:01 +01:00
Mecid
322f86ff69 Add bsdmainutils to host dependencies in prepare-host.sh
for mac80211 in 6.14 which failed requiring hexdump
2025-03-28 12:38:01 +01:00
Igor Pecovnik
a0c35c73a6 Add support for MOTD logo colors
- we might want to have different welcome colors for stable and nightly images
- this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
2025-03-28 12:36:52 +01:00
Igor Pecovnik
c20fba9908 UEFI: add cloud kernel under cloud branch 2025-03-27 19:24:07 +01:00
coderabbitai[bot]
e4c7d24229 📝 Add docstrings to armbiankernel
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8014#issuecomment-2755642576

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-27 12:50:03 +01:00
Igor Pecovnik
eb62028fa0 Armbian kernel: add ZRAM and DOCKER configurations
Those two are present in all kernels
2025-03-27 12:50:03 +01:00
Paolo Sabatino
7c55b4fce9 bump rockchip 32bit edge kernel to v6.14 2025-03-26 22:23:29 +01:00
Ricardo Pardini
6b74df6f2c drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)
- revert this and update sha1 after https://github.com/aircrack-ng/rtl8812au/pull/1226 lands
2025-03-26 10:05:36 +01:00
Ricardo Pardini
94bab3bb81 drivers_network: bump rtl88x2cs for 6.14.y
- ref https://github.com/jethome-ru/rtl88x2cs/pull/13 (done, thanks adeepv)
2025-03-26 10:05:36 +01:00
Ricardo Pardini
3777676009 drivers_network: bump rtl8189es/rtl8189fs/rtl8812au/rtl8811cu/rtl88x2bu for 6.14.y 2025-03-26 10:05:36 +01:00
Ian Goodacre
86ea59c378 Fix patching.sh to include untracked (new) files in patch 2025-03-23 20:50:33 +01:00
Rolf Leggewie
5e8ab3ae8b BSP: make -cli packages provide the armbian-bsp-cli virtual package 2025-03-23 20:49:51 +01:00
Rolf Leggewie
09267e3b5d nitpick: spell check s/neeeded/needed/ 2025-03-19 22:24:48 +01:00
Igor Pecovnik
4530b26278 Revert "Stop altering global git config file and set safe per cloned repository"
This reverts commit ccde662ccb.
2025-03-16 17:26:49 +01:00
Igor Pecovnik
ccde662ccb Stop altering global git config file and set safe per cloned repository 2025-03-16 11:53:56 +01:00
igorpecovnik
19b0a062a7 tools: Bump SHELLFMT_VERSION from 3.10.0 to 3.11.0 2025-03-16 11:53:12 +01:00
Igor Pecovnik
3199178c70 Multiple sources fix: after changing to deb822 we forgot on leftovers
- deboostrap still uses old ways and we need to remove this file
- when displaying the content of sources, we need to look correct file
2025-03-05 10:40:48 +01:00
amazingfate
47381df472 wireless: fix build with kernel 6.14 2025-02-26 21:40:01 +08:00
Igor Pecovnik
b47d408ff7 After changing apt lists methodology, we need to rebuild rootfs cache 2025-02-24 12:43:04 +01:00
Blieque Mariguan
8e75c8ebd1 feat: Use deb822 APT sources
- Replace `armbian.list` with `armbian.sources`. This holds the same
  information in a newer format, deb822.
- Replace HTTP with HTTPS for Armbian repositories.
2025-02-24 09:23:11 +01:00
Ricardo Pardini
370f85b067 python3: do not rely on hostdeps python3-pip nor python3-dev; deploy pip via get-pip.py
- python3-pip implies a very old setuptools (which is system-wide and takes precedence)
- python3-dev implies python3-distutils (which is long deprecated)
- get-pip.py allows us to version pip in requirements.txt just like everything else
- in the end this fixes the conundrum with pylibfdt / dtschema on Jammy
- and, finally, the setuptools we specify in requirements.txt will be actually used
2025-02-24 09:21:53 +01:00
Ricardo Pardini
0c7596bd5a export-logs: use multiple paste servers in order until one works
- user can override by setting PASTE_SERVER_HOST=some.paste.server.com
2025-02-22 22:35:45 -03:00
amazingfate
94949aec8a kernel: fix for 6.14 make clean fail at tools dir due to upstream dir change 2025-02-22 23:19:31 +08:00
Igor Pecovnik
ec2544e005 Bugfix: Remove directories from sha files 2025-02-10 20:17:25 +01:00
Ricardo Pardini
51b300ebdf armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
  - default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
  - if KERNEL_BTF=no is passed, the BTF debug info is always disabled
  - if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
Blieque Mariguan
3743daffa2 feat: Use deb822 APT source for armbian-config
- Replace creation of `armbian-config.list` with
  `armbian-config.sources`. This holds the same information in a newer
  format, deb822. This does not affect `armbian.list`.

See also: https://github.com/armbian/configng/pull/407
2025-02-04 18:49:52 +01:00
Igor Pecovnik
1477b478c5 Add upstream release as csc target: Ubuntu plucky 25.04 2025-01-23 18:30:49 +01:00
Lane Jennison
de97c74ae5 disable ccache in a friendly way 2025-01-23 15:12:27 +03:00