Commit Graph

247 Commits

Author SHA1 Message Date
Rolf Leggewie
affc5ef302 extensions: export APA_IS_ACTIVE marker for the current build 2025-06-23 20:36:23 +02:00
Werner
15407330c6
Preparation for http proxy caching (#8281)
* always use http for apt repos

* pass possible proxy arguments to docker

* populate lower-case env variables with upper-case ones if not set otherwise
2025-06-13 10:31:24 +02:00
Tom Urlings
cdf71df4b8 fix/netplan-dhcp-all-lan-wan-interfaces
- apply dhcp to all interfaces that are renamed to either
  'lanX' or 'wanX' by udev.
- applies to a.o. nanopi-r1, nanopi-r2s.
2025-06-03 09:49:13 +02:00
Ricardo Pardini
9a971ded79 grub: if serialcon is not a tty0 or tty1, include a console=tty0 as first console
- that way one can still get last-resort non-serial console if the serial fails
2025-05-29 18:07:54 +02:00
Rolf Leggewie
723d5f0d6f extensions: add APA extension
using this extension allows for activation of the APA armbian package
archive and installation of the provided binary packages at image
creation time from within the Armbian Build Framework.

The goal of APA is to simplify maintenance of Armbian Core by moving
dependency logic and other packaging information into a separate space
and handle that meta-data with the proper distribution-creation and
-publication tools.  Currently, much of this is done with fragile bash
scripting in Armbian Core instead.

https://github.com/armbian/apa
2025-05-03 10:36:02 +02:00
amazingfate
16e38f9daf Revert "Disable broken AIC8800 wifi driver on Rockchip vendor kernel"
This reverts commit e2b5c430e6.
2025-04-21 08:45:03 +02:00
Igor Pecovnik
e2b5c430e6 Disable broken AIC8800 wifi driver on Rockchip vendor kernel 2025-04-19 07:52:17 +02:00
EvilOlaf
cefdde835a radxa-zero3: enable wifi extension by default. allow newer kernels 2025-04-06 22:05:47 +02:00
Milivoje Legenovic
8f1b441dfc Fixed errors and warnings found in journald 2025-03-27 14:43:40 +01:00
Ricardo Pardini
15cc3d3f1e grub-with-dtb: accept GRUB_FDT_FILE if BOOT_FDT_FILE is unset
- some boards have u-boot auto-detect the board variant, and thus we unset `BOOT_FDT_FILE`
- but grub needs to know...
- so introduce a `GRUB_FDT_FILE` that is checked in case `BOOT_FDT_FILE` is not set
- this way we can keep u-boot autodetecting and grub happy
- preserve BOOT_FDT_FILE into GRUB_FDT_FILE for `nanopct6`/`nanopct6-lts`
2025-03-19 06:52:59 +01:00
Igor Pecovnik
e4837dd90e Extension V4L2: disable installation on minimal images 2025-02-24 11:54:08 +01:00
Chen Jiali
135bbc423b radxa-aic8800: use systemd.link instead of udev rule
And move naming_wireless_interface to radxa-aic8800.sh

To avoid unexpected errors caused by ID_NET_SLOT being empty when using lower version udev
2025-02-20 06:59:58 +01:00
amazingfate
b2d38b2c2b mesa-vpu: add chromium back for debian and noble 2025-02-20 13:56:05 +08:00
amazingfate
7faaf639fa extensions: fix outdated ghproxy mirror address 2025-02-10 07:51:22 +01:00
Igor Pecovnik
710f2cd369 Armbian-config sources lists - remove double quotes from EOT 2025-02-05 07:28:08 +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
amazingfate
b6e25d0cc3 mesa-vpu: only add kisak ppa for jammy 2025-02-03 13:36:38 +01:00
Igor Pecovnik
06802ceef5 Mesa VPU: allow package downgrading at apt upgrade
When packages are more recent or with identical version, function will errors out.
2025-02-03 08:08:42 +01:00
Igor
4e33412ec2
Refactor armbian-config into install as external package (#7716)
* Refactor armbian-config into install as external package

- https://github.armbian.com/configng repository is always present
- package can still be removed from the install list

Since this tool will have deeper integration with Armbian, we should probably drop possibility to remove the tool from the list.

* Enable armbian-config as extension
2025-01-20 14:23:28 +01:00
Igor Pecovnik
ffd1a42d7a AIC wifi and v4l2 extensions: disable them for kernel 6.12 and higher until we have a solution 2025-01-08 13:18:01 +01:00
amazingfate
9358fe75e9 image-output-abl: build boot recovery image 2025-01-07 10:12:50 +01:00
Ricardo Pardini
3894e92845 v4l2loopback-dkms: do not restrict to desktops only
- undoes baeaee6f20
- as I use this for debugging general dkms issues, even in non-desktops
2025-01-05 10:21:01 +01:00
Igor Pecovnik
6e8e47219d riscv64: enable support in Debian Trixie, enable UEFI grub 2025-01-01 19:47:52 +01:00
M.Schmidt
6607728e24 improve(lvm,cryptroot): export private key with a structurally equal naming scheme; cleanup 2024-12-13 10:01:19 +01:00
M.Schmidt
590b75fd6f improve(lvm+cryptroot extensions): enable possibility for LVM on LUKS 2024-12-13 10:01:19 +01:00
M.Schmidt
3ec24d40e8 fix(lvm,cryptroot extensions): introduce another variable to keep track of the physical partition/uuid and rootdevice/uuid seperately 2024-12-13 10:01:19 +01:00
amazingfate
08e7bba4f6 extensions: image-output-abl: set rootfs image larger for kde 2024-12-10 10:32:22 +01:00
amazingfate
384045a736 extension: mesa-vpu: remove adding chromium ppa
We already have imported chromium debs from ppa to armbian's repo
2024-12-02 16:05:06 +08:00
Teguh Sobirin
508c9f7c3a Ignore ABL image type creation if building UEFI GRUB target. 2024-11-29 11:34:04 +08:00
user
502e139598 New option: CRYPTROOT_MAPPER. Make ROOT_MAPPER name for CRYPTROOT changable. 2024-11-05 16:35:02 +01:00
amazingfate
d796acea82 extension: image-output-abl: fix blank slot_suffix in cmdline 2024-10-18 10:52:59 +02:00
amazingfate
cd4b4e8318 mesa-vpu: use mesa from debian bookworm-backports 2024-10-09 20:45:38 +02:00
Muhammed Efe Cetin
067dd99d18 mesa-vpu: don't override DEFAULT_OVERLAYS 2024-10-09 19:52:49 +02:00
Igor Pecovnik
70cbb6df6e Mesa-vpu: we also need to have conditions in the install part or there is no point
+ resolve small typo
2024-10-05 19:06:39 +02:00
Igor Pecovnik
9895cbe2ab mesa-vpu: don't install mesa-vpu on minimal images 2024-10-04 07:20:26 +02:00
Ricardo Pardini
932c78d9e6 mesa-vpu: support CLI builds as well as desktop
- a CLI image might have panfork or mesa, but not glx-mesa, mesa-utils, chromium, glmark which depend on x11/wayland
- this makes mesa-vpu useful for eg GBM applications
2024-10-02 21:43:16 +02:00
amazingfate
5e8d48cb7a mesa-vpu: fix dist-upgrade when upstream release new conf file 2024-09-20 07:10:05 +02:00
amazingfate
0ff3d972b0 radxa-aic8800: remove kernel version check 2024-09-20 07:09:55 +02:00
amazingfate
a82902c75a extensions: add bcmdhd to install bcmdhd dkms driver 2024-09-17 06:54:23 +02:00
Ricardo Pardini
1b4e19dc17 systemd-networkd: default to DUIDType=link-layer for ipv6; via networkd.conf.d
- only affects systemd-networkd-using builds (MINIMAL images?)
- does NOT affect NetworkManager
- this allows network administrators to give out IPv6 addresses over DHCPv6 based on the MAC address (which should be stable) instead of systemd's own notion of it's "DUID", which is based on the machine-id and changes on every redeployment
2024-09-14 22:44:28 +02:00
rafael
fca88467f9 re-instantiates LVM required devices. 2024-09-14 21:44:52 +02:00
Igor Pecovnik
8f01eea1f8 Mesa fixes applies only to armhf and arm64. Adjusting 2024-08-23 14:06:38 +02:00
Igor Pecovnik
edad72b29f Expand MESA extension fix to Jammy userspace 2024-08-23 11:01:34 +02:00
Igor Pecovnik
9760ad0096 KDE Neon: hack must be implemented only on Ubuntu Noble / Oracular 2024-08-19 12:31:24 +02:00
Igor Pecovnik
350da61ef2 Mesa extentsion: adjust KDE related troubles with packages downgrade
- one is actually general fix - recommened installation of library before installing rockchip-multimedia
- second is holding package before running upgrade as it wants to pull older library from kde repositories
- remove KDE Neon base files upgrade pin
2024-08-17 17:33:28 +02:00
Igor Pecovnik
0051d745fb aic8800 DKMS driver: fix logic when extension is used 2024-08-13 12:18:53 +02:00
Igor Pecovnik
d116232b7a Driver compilation is not supported on kernel 6.10 and up 2024-08-13 09:20:02 +02:00
Igor Pecovnik
f0b38dc380 KDE neon downgrades base-files for some reason. Lets prevent this to happen 2024-08-04 21:28:53 +02:00
Igor
10b92e2493
Extend mesa-vpu extension to load unpatched Chromium by default (#6657)
* Extend mesa-vpu extension to load unpatches Chromium by default
* Pin only Chromium browser

For future - make separate browser extension
2024-07-29 08:16:00 +02:00
Muhammed Efe Cetin
0c86f76d30 mesa-vpu: install chromium package instead of chromium-browser 2024-07-29 07:55:49 +02:00
amazingfate
d02225dd8e mesa-vpu: install backported mesa from obs for bookworm panthor driver 2024-07-27 00:52:26 +08:00
Igor Pecovnik
a57f4e2cf0 Fix for no network inside Docker container
Force netplan to use DHCP only on interface e* and not also on the docker interface
2024-07-25 16:41:40 +02:00
amazingfate
ec83684f24 mesa-vpu: use kisak mesa ppa instead of oibaf 2024-07-21 10:24:57 +02:00
ColorfulRhino
cc59d8af9e extensions: Add "Extension: ${EXTENSION}: " prefix to some extension logs
Establish some consistency with extension logging. Some extensions use another format:
display_alert "message" "${EXTENSION}" "info"

These were *not* adapted to this new schema.
2024-07-18 12:30:11 +02:00
Alessandro Lannocca
befac02d7b extend network inactivity timeout to 100 seconds 2024-07-02 10:00:57 +02:00
Alessandro Lannocca
9fe029567f extensions/fs-cryptroot-support.sh:
add 10 seconds network inactivity timeout to dropbear ssh while waiting for cryptroot-unlock password
2024-07-02 10:00:57 +02:00
Alessandro Lannocca
970048441a extensions/fs-cryptroot-support.sh: fix #6857
rework quoting for sed expression manipulating DROPBEAR_OPTIONS in dropbear.conf
2024-07-02 10:00:57 +02:00
Aleksey Vasenev
d5df9f06be Fix btrfs and xfs resize 2024-07-01 19:15:27 +02:00
Andy Yan
1e68000826 extensions/radxa-aic8800: fix aic8800_dkms_file_name for sdio
The aic8800_dkms_file_name for sdio should be aic8800-sdio-dkms.

Signed-off-by: Andy Yan <andyshrk@163.com>
2024-06-29 17:18:44 +02:00
ColorfulRhino
3cca9dcaed Fix formatting in scripts by running lib/tools/shellfmt.sh version 3.8.0 2024-06-25 07:06:34 +02:00
Ricardo Pardini
71d5e192c6 networking: exts: introduce sanity checks, debug info
- protect against enabling networking exts directly
- debug logging
- fix typo in ext name
2024-06-24 12:24:15 +02:00
Ricardo Pardini
ee37a0c19a ext: fs-cryptroot-support: don't abuse add_host_dependencies
- use correct hook to make config changes
2024-06-23 11:49:12 +02:00
Igor Pecovnik
e797126638 Networking: set proper hook location for extensions 2024-06-23 09:19:32 +02:00
Igor Pecovnik
75ce67f329 Run shellfmt to complete code 2024-06-22 19:22:24 +02:00
Igor Pecovnik
8ccec185be Replace add_packages_to_rootfs with add_packages_to_image as we don't want to make caches for each variant
- also fixes a problem of generating caches all over again
- change cache date scheme name to force rebuild them all
2024-06-22 13:30:28 +02:00
ColorfulRhino
b6f018a2b1 net: Use resolved for DNS resolution
- Use resolved no matter what manages the network (networkd or NetworkManager)
- Use resolved.conf.d/ directory to set DNS as recommended by resolved itself
- In armbian-firstrun, remove config specific to mvebu64|mt7623 since this is now done by default
2024-06-20 19:59:52 +02:00
ColorfulRhino
6b7284be3e bsp: firstrun: Use Netplan for setting fixed MACs
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a65cf4d9bb Remove ifupdown leftovers in the code 2024-06-20 19:59:52 +02:00
ColorfulRhino
d1c6fa6e76 net: Remove NM_IGNORE_DEVICES variable
This variable was originally introduces for the board "Espressobin" (mvebu64): 38db0b55f9
Use a hook in the mvebu64 and mt7623 family config to set ignored devices for NetworkManager instead.
2024-06-20 19:59:52 +02:00
ColorfulRhino
497c6dce0e extension: net: Refactor, fix and improve network extensions
- Rename extensions with "net-*" prefix
- Put the extensions into their own folder
- Split off time sync packages into their own extensions to be able to be used separately
- Put their config files into directories instead of using inline `cat <<- EOF >`
- Move some other NetworkManager related stuff into the extension
- Remove unneeded steps
- Install iproute2 by default on all images (for the `ip` command)
2024-06-20 19:59:52 +02:00
Igor Pecovnik
f4b160abde Move Network Manager bits into extensions
- use Chrony with Network Manager
- use timesync with systemd-networkd
- use NetPlan with Network manager only
- move command-not-found to CLI image only
- improve firstlogin ip detection
2024-06-20 19:59:52 +02:00
ZHANG Yuntian
e0762bbbb7
aic8800: update firmware package URL (#6768)
Firmware package was incorrectly marked as machine dependent.
This was fixed in radxa-pkg/aic8800#12, causing the file name to change.

Signed-off-by: ZHANG Yuntian <yt@radxa.com>
2024-06-20 11:26:13 +02:00
amazingfate
076fadd559 extensions: image-output-abl: use losetup instead of silly dd 2024-06-09 19:11:58 +02:00
mr-toolcraft
e85fe22477 fix typo 2024-06-03 11:59:32 +02:00
amazingfate
fc5e98726b add extension radxa-aic8800 for rock-5c onboard wifi 2024-05-31 00:30:19 +08:00
Igor
ddc9982286
Introduce integrated extension for 3D and multimedia (#6646) 2024-05-22 11:42:23 +02:00
Ricardo Pardini
7fe7dc189d extensions: rk-panthor: mesa-oibaf + DEFAULT_OVERLAYS="panthor-gpu"
- I had worked this before AF sent his oneliner, but I forgot to PR
- Should be the same, except avoids sadness when trying with the wrong kernel/branch
2024-05-19 19:45:04 +02:00
amazingfate
c1a0942105 rk-multimedia-amazingfate: add noble support 2024-05-15 10:17:14 +01:00
Igor Pecovnik
1cd36b1027 Add glmark2 2024-05-14 06:39:18 +01:00
Igor Pecovnik
46f73e34b7 Allow downgrade on mesa ppa as otherwise fails on KDE neon 2024-05-14 04:47:12 +01:00
amazingfate
a8890ad578 extensions: add rk-panthor for vendor 6.1 rk3588 kernel 2024-05-13 13:38:42 +01:00
Igor Pecovnik
a5ffc947a3 Use double instead of single quotes as otherwise variable is not expanded 2024-05-13 10:18:00 +01:00
Igor Pecovnik
6f8fd3a68a After enabling Ubuntu Oracular on nightly builds, oibaf extension fails to work
I think we just need to use "devel" key for unknown Ubuntu release.
2024-05-12 16:04:15 +01:00
Ricardo Pardini
10f9e7c9dc rk35xx: drop vendor-boogie-panthor BRANCH; it has been integrated into vendor
- This reverts commit 5f59fe63f1
2024-05-12 13:06:24 +01:00
Igor Pecovnik
baeaee6f20 Use oibaf and v4l2 in desktops only 2024-05-11 21:02:24 +01:00
Muhammed Efe Cetin
18e65527f7 Pin oibaf packages on mesa-oibaf extension 2024-05-11 17:35:41 +01:00
青菜萝 卜冬瓜
35d7b325f8
add support for allwinner T527 Avaota-A1 (#6495) 2024-04-26 09:22:17 +02:00
FantasyGmm
2a12c44e7b
Odin2 Use Custom ABL, boot from TF Card (#6517)
* Update sm8250: kernel add legacy and edge branch
* Update Odin2:Using a new boot method,boot from sd
2024-04-24 11:10:53 +02:00
Ricardo Pardini
3e4b2d3a03 rk-multimedia-amazingfate: add libv4l-rkmpp and gstreamer1.0-rockchip for desktop builds 2024-04-07 13:21:42 +02:00
Ricardo Pardini
e39839e6a0 extensions: (v3) amazingfated-rk35xx, now rk-multimedia-amazingfate - panfork-free
- simply skips if not on Jammy
- deploys Chromium + Widevine if desktop
2024-04-02 21:10:06 +02:00
Ricardo Pardini
0c76cf03af extensions: mesa-oibaf extension by @monkaBlyat - mainline mesa PPA for Ubuntu
- does nothing on Debian
2024-04-02 21:10:06 +02:00
Ricardo Pardini
1074c969e8 Revert "rockchip-rk3588: it's vendor boogie panthor time (experimental) (#6459)"
This reverts commit 43cf339c6c.
2024-04-02 21:10:06 +02:00
Ricardo Pardini
43cf339c6c
rockchip-rk3588: it's vendor boogie panthor time (experimental) (#6459)
* main-config: fix: avoid errors when BRANCH contains a dash; convert to underscore

* rockchip64_common: shellfmt, no changes

* rockchip64_common: move SERIALCON defaulting logic to a (verbose) hook for flexibility

* config: allow to build BRANCHes not listed in KERNEL_TARGET as long as the config is valid

- useful for `collabora` and other experimental kernels, we don't want to have to add it to each individual board's KERNEL_TARGES one by one
- but we don't want to allow typos in BRANCH to emit very strange unrelated errors

* extensions: mesa-oibaf extension by @monkaBlyat - mainline mesa PPA for Ubuntu

- does nothing on Debian

* extensions: (v3) amazingfated-rk35xx, now `rk-multimedia-amazingfate` - panfork-free

- simply skips if not on Jammy
- deploys Chromium + Widevine if desktop

* rockchip-rk3588: introduce `vendor-boogie-panthor` experimental BRANCH/kernel

- original: https://github.com/hbiyik/linux-rockchip.git (branch `rk-6.1-rkr1-panthor-v6`)
- I picked the commits on top of clean armbian/linux-rockchip `6.1-rkr1` as of 2024-04-01
  - At https://github.com/rpardini/armbian-linux-rockchip-rk3588/tree/armbian-rk-6.1-rkr1-plus-boogie-panthor-v6
  - Diff: https://github.com/armbian/linux-rockchip/compare/rk-6.1-rkr1...rpardini:armbian-linux-rockchip-rk3588:armbian-rk-6.1-rkr1-plus-boogie-panthor-v6

- rockchip-rk3588: introduce `boogie-bsp` BRANCH
- rockchip-rk3588: copy linux-rk35xx-vendor.config into linux-rk35xx-boogie-bsp.config
- rockchip-rk3588: update linux-rk35xx-boogie-bsp.config, no changes
- rockchip-rk3588: linux-rk35xx-boogie-bsp.config: `CONFIG_DRM_PANTHOR=m`
- rockchip-rk3588: linux-rk35xx-boogie-bsp.config: convert to defconfig
- rockchip-rk3588: rename to `BRANCH=vendor-boogie-panthor` for "clarity" (lol)
- rockchip-rk3588: vendor-boogie-panthor: force SERIALCON, full firmware (for blob needed for panthor) & mesa-oibaf extension
- rockchip-rk3588: vendor-boogie-panthor: enable amazingfated-rk35xx extension sans-panfork
2024-04-02 20:30:38 +02:00
Igor Pecovnik
ab7e8c5342 Expand predicted size for rootfs for abl type of images 2024-03-13 19:15:26 +01:00
David Andreoletti
a218d13345 uefi-x86: customizable UEFI_GRUB_TERMINAL per board 2024-03-06 01:10:32 +01:00
Igor Pecovnik
c2fe587716 Unifying style of variables 2024-03-03 16:08:04 +01:00
amazingfate
f85ebefb81 extensions: add preset-firstrun to preset configs for rootfs 2024-03-03 16:08:04 +01:00
FantasyGmm
52889b1079
Add ayn odin2 config (#6305) 2024-03-03 07:59:56 +08:00
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
Rafael
db93db6a4f
fixed indentation on cloud-init extension (#6231)
* fixed indentation on cloud-init extension
* indentation
---------

Co-authored-by: rafael <rvalle@privaz.io>
2024-02-01 20:01:17 +01:00