Commit Graph

2467 Commits

Author SHA1 Message Date
Ricardo Pardini
37d9200e6a hack: trixie has lost its software-properties-common package so get rid of it for all Debian releases
- https://tracker.debian.org/news/1579223/software-properties-removed-from-testing/
- that provides add-apt-repository, but we don't use that on Debian, hopefully
- move also cpufrequtils hack (which requires release) to specific function after userspace checks and when DISTRIBUTION is set
- `software-properties-gtk` if of course also gone, so remove that for desktop's sake
2024-11-12 11:42:13 +01:00
Werner
0afd94a84b Deprecated WIREGUARD once and for all (#7452)
* remove wireguard

* remove wireguard

* remove wireguard

* Update armsom-sige1.csc

* Update hinlink-hnas.csc

* Update hinlink-h28k.csc

* Update hinlink-h66k.csc

* Update mangopi-m28k.csc

* Update hinlink-h68k.csc
2024-11-09 21:02:50 +01:00
Igor Pecovnik
48228f1e49 Userspace: Switch armbian-config to new generation. It has very small footprint, thus it will be installed by default 2024-11-05 16:35:36 +01:00
user
502e139598 New option: CRYPTROOT_MAPPER. Make ROOT_MAPPER name for CRYPTROOT changable. 2024-11-05 16:35:02 +01:00
user
817519210b Fix partitioning root UUID bug in /etc/crypttab. 2024-11-05 16:35:02 +01:00
igorpecovnik
68c758f4a1 tools: Bump SHELLFMT_VERSION from 3.9.0 to 3.10.0 2024-11-03 22:24:23 +01:00
aiamadeus
ef193e5a03 main-config: add China mirror for ghcr.io 2024-11-01 08:29:36 +01:00
aiamadeus
76b36c4da5 main-config: update ghproxy mirror address
The ghproxy mirror is more reliable than gitclone, so set it to default.
2024-11-01 08:29:36 +01:00
ColorfulRhino
82aa7b3963 compilation: armbian-kernel: Change forced uncompressed modules option for kernels >=v6.12
The kernel option `CONFIG_MODULE_COMPRESS_NONE`  was superseded by `CONFIG_MODULE_COMPRESS` in 6.12.
Adapt the kernel compilation script accordingly to force the correct kernel option.

Source: c7ff693fa2
2024-10-20 18:21:58 +02:00
Igor Pecovnik
7850d7750a Wireless drivers: remove driver for 8822BS applicable for old kernels < 5.16
Git was removed and there is not need to restore it.
2024-10-18 23:03:48 +02:00
Igor Pecovnik
9697c17fbd Overlay management: somewhere we had OVERLAY_DIR and somewhere OVERLAYDIR 2024-10-08 12:37:49 +02:00
Ricardo Pardini
fd692cd6b5 armbian-bsp-cli-deb: fix shellcheck breakage; fixes #7303
- also, shellfmt

Fixes: db2b432d18
2024-10-02 12:06:31 +02:00
The-going
028952fe1e sunxi-6.11: xradio: exclude driver if kernel version >= 6.11 2024-09-30 18:38:35 +02:00
Ricardo Pardini
55b87180b5 rootfs: don't use the Armbian repo when building rootfs from both GHA pipelines and CLI; fixes #7123
- Fixes: 71296430fa -- which only set `SKIP_ARMBIAN_REPO=yes` when `rootfs` cli shortcut used
  - GHA artifact pipelines are generic across all artifacts, and don't use the cli shortcuts
    - instead, they use the `artifact` shortcut, with the `WHAT=rootfs` parameter
    - so in GHA pipelines `SKIP_ARMBIAN_REPO=yes` was not taking effect
- rootfs artifact itself now enforces `SKIP_ARMBIAN_REPO` to be `yes` and makes it readonly
- also add `SKIP_ARMBIAN_REPO` to the general change-tracking for more clarity about configs and hooks etc
- add change tracking calls before/after generic artifact config adapter for even more clarity
2024-09-30 16:15:36 +02:00
Igor Pecovnik
89476e86f3 BSP: store kernel and kernel test target definition to /etc/armbian-release to be used in armbian-config
Kernel switching will be allowed only between kernels defined here.
2024-09-29 19:29:35 +02:00
Igor Pecovnik
6a03d070d7 MD5 sum: changing default checking as it will fail on base-files
Base files are changed during the process.

FORCE_CHECK_MD5_PACKAGES=yes turns checking back on.
2024-09-29 09:55:15 +02:00
Igor Pecovnik
aaf53327a7 Add property order which we use to sort releases historically 2024-09-27 15:08:54 +02:00
Igor Pecovnik
db2b432d18 BSP: Expand distribution status with possible upgrade information 2024-09-27 15:08:54 +02:00
Paolo Sabatino
1c79daddc0 bump rockchip64 edge kernel to v6.11 2024-09-21 14:18:19 +02:00
Ricardo Pardini
5396ffb602 patching: emit warnings when files in dt folder overwrite pre-existing files (DTs that landed upstream)
- it's more and more common that the (bare) DT files in our `dt` folders have landed upstream
- this adds warnings and marks the patching table red when some bare-dt file overwrites what's already in git
- without this it's very easy to forget them there during bumps
2024-09-18 16:31:34 +02:00
igorpecovnik
46dd7d2760 tools: Bump SHELLFMT_VERSION from 3.8.0 to 3.9.0 2024-09-16 13:17:49 +02:00
Igor Pecovnik
0d8ed3fbd1 Adding OVERLAYDIR variable to hash calculating mechanisms
This will force rebuild package in case this variable gets changed
2024-09-16 13:15:18 +02:00
Igor Pecovnik
4a1e10219c armbian-config: store overlay folder definition to /etc/armbian-release
This way we don't need to calculate yet again
2024-09-15 11:42:41 +02:00
David Andreoletti
f145fc2af2 armbian-firstrun: Optionally skip OpenSSH host key regeneration 2024-09-15 11:42:29 +02:00
rafael
dcff6cf71d fixes #7210 for extensions that modify rootdevice 2024-09-14 21:44:52 +02:00
Ricardo Pardini
7745d2ece6 kernel-debs: show 3 levels of dirs in tree output for kernel-dtb, so overlays are shown 2024-09-14 21:41:24 +02:00
IsMrX
dfe8fc39e8 Enable oras pull to use system proxy 2024-09-13 22:02:17 +02:00
amazingfate
b156e14b9a uwe5622: fix for rk35xx vendor kernel 2024-09-13 09:36:42 +08:00
Igor Pecovnik
8050897d07 rootfs cache: after updating github cli key, we need to rebuild rootfs cache 2024-09-12 07:33:07 +02:00
Ricardo Pardini
a1b1d61834 distro-specific: systemd-resolved: don't impose 1.0.0.1 DNS server on users
- See https://github.com/armbian/build/pull/6756/files#r1731373505

Fixes: b6f018a2b1
2024-09-10 21:59:14 +02:00
amazingfate
24be131989 dt_makefile_patcher: fix dtbs with dot in filename 2024-09-10 10:48:53 +08:00
Igor Pecovnik
56f5d6692c Revert setting default hostname to Armbian 2024-09-08 17:43:14 +02:00
Igor Pecovnik
59979a4573 Set default hostname to Armbian 2024-09-08 17:43:14 +02:00
Igor Pecovnik
7aa89f350f Store VENDORPRETTYNAME to the image instead to the BSP. This is image property. 2024-09-08 16:22:02 +02:00
Igor Pecovnik
05ae71d8f2 Store EXTENSION list to the image instead to the BSP 2024-09-08 16:22:02 +02:00
Igor Pecovnik
8ee40367d4 Revert "Store list of preinstalled extensions EXTENSIONS and add VENDORPRETTYNAME to image fingerprint"
This reverts commit 9af94d5977.
2024-09-08 16:22:02 +02:00
Ricardo Pardini
ea028fbcba prepare-host: trixie and sid don't carry python3-distutils anymore 2024-09-03 22:04:33 +02:00
Ricardo Pardini
b834256138 kernel-dtb: copy also the dtb binary for the board to output 2024-09-03 22:04:20 +02:00
Igor Pecovnik
9af94d5977 Store list of preinstalled extensions EXTENSIONS and add VENDORPRETTYNAME to image fingerprint 2024-09-03 22:03:04 +02:00
Igor Pecovnik
edbf678780 Improved freezing mechanism with README 2024-08-26 17:51:06 +02:00
Igor Pecovnik
ec76e1282e More elegant solution to prevent kernel upgrades per certain board 2024-08-24 17:15:24 +02:00
Igor Pecovnik
a26eb472f0 Framework: bump tmpfs size as we are going over
Suppress this warning: "Rootfs post-tweaks size is larger than estimated tmpfs size"
2024-08-23 11:43:03 +02:00
Igor Pecovnik
71f5662dac Force rootfs cache rebuild - once again. 2024-08-23 06:59:40 +02:00
Igor Pecovnik
c0c7431af4 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-08-23 06:59:40 +02:00
Igor Pecovnik
8648d1f39b 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-08-23 06:59:40 +02:00
Igor Pecovnik
71296430fa Framework: disable armbian repository while generating rootfs cache 2024-08-22 16:53:29 +02:00
JohnTheCoolingFan
bed3f85213 Run docker via run_host_command_logged 2024-08-18 10:40:32 +02:00
JohnTheCoolingFan
1045fda3d4 Check for loop devices and a temp container run 2024-08-18 10:40:32 +02:00
JohnTheCoolingFan
69f408236e Revert "Add MKNOD capability to docker container (#6927)"
This reverts commit 8162899d3d.

The capability has nothing top do with the actual issue.
2024-08-18 10:40:32 +02:00
Igor Pecovnik
54c79a2008 rootfs: add comment to force rootfs rebuild 2024-08-17 15:51:43 +02:00