Igor
d4945e89fc
Do not show hash in version
2023-04-06 08:35:44 +02:00
Ricardo Pardini
369e69a553
artifact-armbian-bsp-cli: hash more variables included in /etc/armbian-release
2023-04-04 09:12:48 +02:00
hzy
9341455567
meson: onecloud: Enable USB0 OTG mode
2023-04-03 21:21:17 +02:00
hzy
1dfc55d74f
meson: onecloud: Correct eMMC node
2023-04-03 21:21:17 +02:00
hzy
ae4a1747c1
meson: onecloud: Update GPIO descriptions
2023-04-03 21:21:17 +02:00
hzy
30566d6f96
meson: onecloud: Bugfix: Slow ethernet uplink
...
Not sure why but PHY's TX delay doesn't work, which cause TX
retransmission and slow uplink. So let's use MAC's TX delay.
2023-04-03 21:21:17 +02:00
hzy
689e7d2a61
meson: onecloud: Resort DTS node
2023-04-03 21:21:17 +02:00
Ricardo Pardini
6b1055dc9d
uboot: WiP: introduce UBOOT_CONFIGURE=yes -- saves defconfig to output/ folder, nothing else (no patches, etc)
2023-04-03 21:21:03 +02:00
Ricardo Pardini
9b229f25ad
artifact-uboot: add hashes for extension and old-timey -Hooks and -Variables hash (BOOTDELAY et al)
...
- helper for hashing old-timey hooks: `calculate_hash_for_function_bodies()` in `hash-files.sh` cos I'm lazy
2023-04-03 21:21:03 +02:00
dependabot[bot]
ea4e75a79b
build(deps): bump ossf/scorecard-action from 2.1.2 to 2.1.3
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.2...v2.1.3 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 21:20:48 +02:00
Paolo Sabatino
4d80872e49
rk322x: fix emmc/sdio clock selection
2023-04-03 21:01:38 +02:00
Ricardo Pardini
c4d91fd66f
rockchip64_common: refactor: extract BOOT_SPI_RKSPI_LOADER=yes into rock-3a, rock-5b, and orangepi5 (no more such rockchip-rk3588 references in common code)
2023-04-03 11:14:44 +02:00
Julian Sikorski
7ab8245a77
Update odroidxu4-current to 5.4.239
2023-04-01 20:51:31 +02:00
Igor
e986b8c0ee
Move lsof package to minimal images as its needed for armbian-install
2023-04-01 20:50:51 +02:00
Igor
e33842ef2c
Remove broken font from Ubuntu Lunar
...
[🐳 |🌱 ] Installing 128 desktop packages [ lunar xfce ]
[🐳 |🔨 ] E: Unable to locate package libfontembed1
[🐳 |🔨 ] Reading package lists...
[🐳 |🔨 ] Building dependency tree...
[🐳 |🔨 ] Reading state information...
[🐳 |🔨 ] E: Unable to locate package libfontembed1
2023-03-31 13:56:04 +02:00
Igor
b2be0e5a45
Enable non-free-firmware repository for Debian Sid
...
Addressing:
[🐳 |💥 ] Error context msg [ Installation of Armbian main packages for sid 3dsupport xfce no failed ]
Error: Error context msg Installation of Armbian main packages for sid 3dsupport xfce no failed
[🐳 |🔨 ] Reading package lists...
[🐳 |🔨 ] Building dependency tree...
[🐳 |🔨 ] E: Unable to locate package firmware-sof-signed
2023-03-31 13:21:35 +02:00
Ricardo Pardini
fbc324ec06
artifact-kernel: fix: add -Variables version hashing, including KERNEL_INSTALL_TYPE, KERNEL_IMAGE_TYPE and SRC_LOADADDR amongst others
2023-03-31 12:29:53 +02:00
Ricardo Pardini
6ce9f48885
fix: (uImage change, after #5018 ): config: fix: replace undue export statements with declare -g; shellfmt
2023-03-31 12:29:53 +02:00
Igor
e599976a35
Bump Allwinner kernels to latest version
2023-03-31 09:45:48 +02:00
Ricardo Pardini
c6e68bf577
meson64: only gxbb and gxl require fetching repo odroidc2-blobs, split hook
2023-03-31 09:37:37 +02:00
Ricardo Pardini
667ac5afb7
odroidn2: bump to 2022.10 u-boot with boot order patch and nothing else; remove old legacy uboot crap (odroidn2 hasn't even had a legacy BRANCH for a while)
2023-03-31 09:37:37 +02:00
Ricardo Pardini
62f5fe1596
config: fix: replace undue export statements with declare -g; shellfmt
2023-03-31 09:37:37 +02:00
Igor Pečovnik
f51a99f1fa
distro-agnostic.sh: fix, install armbian-zsh correctly (not armbian-config twice)
2023-03-31 09:12:44 +02:00
Igor Pecovnik
bf801d194b
distro-agnostic.sh: bring back BSPFREEZE=yes which now works (somewhat)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
ad56df54ba
artifact-armbian-bsp-cli: correctly hash the *sources* of family_tweaks_bsp old-timey hook and post_family_tweaks_bsp extension hooks
2023-03-31 09:12:44 +02:00
Ricardo Pardini
d2bb1f893a
extensions: many fixes; allow for dumping the source of hooks, via dump_extension_method_sources_functions() and dump_extension_method_sources_body()
...
- fix: indent of generated sources
- fix: no reason to source the generated file in a loop. do it once. 20x faster?
- `dump_extension_method_sources_functions "name_of_hook"`: get function definitions (inside braces)
- `dump_extension_method_sources_body "name_of_hook"`: get the function bodies (sans-braces)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
61d85648ea
cleaning: stop lying about CLEAN_LEVEL=debs -- now it simply deletes every .deb in the folder (same as =alldebs)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
55af87be8b
lib: update library-functions.sh (via bash lib/tools/gen-library.sh)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
f969a5e30f
lib: completely remove CHOSEN_xxx, BSP_xxx_NAME, BSPFREEZE=yes
2023-03-31 09:12:44 +02:00
Ricardo Pardini
ed0b406265
lib: fix: replace undue export statements with declare -g
2023-03-31 09:12:44 +02:00
Ricardo Pardini
77921725fb
lib: run shellfmt; remove commented-out; no actual changes
2023-03-31 09:12:44 +02:00
Ricardo Pardini
f75b9c110f
aggregation: fix: don't eat value if empty during bash_string_multiline(); write end-of-file comment; show aggregation bash results if debugging
2023-03-31 09:12:44 +02:00
Ricardo Pardini
fe7a24885b
docker: introduce DOCKER_SKIP_UPDATE=yes to skip updating prebuilt Docker image, only when using
2023-03-31 09:12:44 +02:00
Ricardo Pardini
40c5df55ab
docker: introduce ${DOCKER_ARMBIAN_BASE_COORDINATE_PREFIX:-"ghcr.io/armbian/docker-armbian-build:armbian-"} for easy override
2023-03-31 09:12:44 +02:00
Ricardo Pardini
7d90b10f79
configdump: better logging; insert (still unsupported) array/dict raw value and 2do markers into produced dump JSON
2023-03-31 09:12:44 +02:00
Ricardo Pardini
f12015954a
distro-agnostic: emit 'info' message before setting root password, otherwise logs are confusing
2023-03-31 09:12:44 +02:00
Ricardo Pardini
d868d76182
artifacts: bsp-cli, bsp-desktop, desktop: rework, with @igorpec
...
- bsp-cli: does not require aggregation
- bsp-desktop / desktop: requires aggregation
- 'desktop' packaged moved out of 'bsp' folder, it is NOT a bsp
- make consistent naming/folders
- extract .sh generation workflow into 'declare -f' magic functions
- `SHOW_DEBIAN=yes` to bump most of `DEBIAN/xxx` stuff to screen
- artifact armbian-bsp-desktop: use aggregation, require certain vars, CLI forces `BUILD_DESKTOP=yes`; requires BOARD
- artifact armbian-desktop: use aggregation, require certain vars, CLI forces `BUILD_DESKTOP=yes`, not require `BOARD` anymore
- cli: commands: fix artifact aliases, reorder
- desktop/bsp-desktop: add `config_dump` method; fix `artifact_map_debs` ref subdir and name
- artifact bsps: require aggregation to build, not to list what needs to be built
- distro-agnostic: fix install of `armbian-bsp-cli` (not `armbian-bsp`)
- armbian-bsp-cli: add `_config_dump` method, use configuration with aggregation, add required vars check
- distro-specific: fix installation of `fake-ubuntu-advantage-tools`
2023-03-31 09:12:44 +02:00
Ricardo Pardini
55ba084acc
configdump: include rudimentary artifact dependency information for config-dump-json (artifact implementations)
...
- include rudimentary artifact dependency information for config-dump-json: fixes/refactor/cleanup
- artifact-rootfs.sh: include rudimentary artifact dependency information for config-dump-json
- artifact-armbian-(config/plymouth-theme/zsh).sh: include rudimentary artifact dependency information for config-dump-json
- artifact-fake-ubuntu-advantage-tools.sh: include rudimentary artifact dependency information for config-dump-json
2023-03-31 09:12:44 +02:00
Ricardo Pardini
42fc56697b
configdump/json-info-boards: revamp, all-JSON now; use_board=yes skip_kernel=no for config; refactor & use new Python bash-declare-to-JSON utility
...
- use new capture'd vars scheme
- so `./compile.sh BOARD=xxx BRANCH=yyyy config-dump-json | jq .` now works and is consistent/newline tolerant
- introduce internal `skip_host_config=yes` for `prep_conf_main_minimal_ni()` to skip calling `check_basic_host()`
2023-03-31 09:12:44 +02:00
Ricardo Pardini
fc14d62c52
capture: set globals CAPTURED_VARS_NAMES and CAPTURED_VARS_ARRAY (instead of CAPTURED_VARS_ARRAY that was space-delimited); filter and sort last-minute
2023-03-31 09:12:44 +02:00
Ricardo Pardini
fb4477afb8
oras: add --insecure to further retries if we get a failure on first try, to workaround GitHub's March/2023 mess with certificates
2023-03-31 09:12:44 +02:00
Ricardo Pardini
9a74b838ce
runners: introduce internal skip_error_info=yes for run_host_command_logged()
...
- doesn't show nor clear vars `if_error_find_files_sdcard` and `if_error_detail_message`
- used by `chroot_sdcard_apt_get()` which uses `run_host_command_logged()` multiple times, and the first would clear the important/last one
2023-03-31 09:12:44 +02:00
Ricardo Pardini
a77d5f3c70
fix: declare some variables that were leaking into global namespace for no reason
...
- especially `for VAR in ...` and VAR leaks sans the declare
- rename `fragment_manager_cleanup_file` to `extension_manager_cleanup_file`
2023-03-31 09:12:44 +02:00
Ricardo Pardini
02c561ce0e
bat-cat: introduce tooling support for bat (colorized/smart cat), including DEBIAN/xxx syntaxes; cached in Docker image
2023-03-31 09:12:44 +02:00
Ricardo Pardini
b820a4d68f
tools: oci-oras/shellcheck: fix, test if binary already in place before considering copying it, but only after BIN is actually defined
2023-03-31 09:12:44 +02:00
Ricardo Pardini
b59447c96e
apt-install: install_deb_chroot(): useful logging, when trying to install invalid stuff
2023-03-31 09:12:44 +02:00
Igor
00f849ac71
[AR-1620 + AR-1639 squashed]:: @igorpec's armbian-config/zsh/bsp/desktop/ubuntu-advantage artifacts
2023-03-31 09:12:44 +02:00
Matthijs Kooijman
54636219cc
Include alsa-utils in minimal cli builds
...
This ensures that the armbian-audio-config script actually works in
minimal builds too.
This fixes #5012 (AR-1644)
2023-03-29 23:22:19 +02:00
hzy
2a9279c27d
armbian-firstlogin: Make sure that the first charactor of username isn't number
2023-03-29 23:22:04 +02:00
hzy
76ce4c3a3d
Fix uImage build
2023-03-30 03:41:28 +08:00