| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
compress-checksum: add SKIP_COMPRESSING to leave formats uncompressed Bulk builds set COMPRESS_OUTPUTIMAGE=xz, which compresses every output including .qcow2 and .iso — formats consumed as-is (imported / mounted) that gain little from xz and are inconvenient compressed. Add a global SKIP_COMPRESSING: a comma- or space-separated list of file extensions to leave uncompressed, e.g. SKIP_COMPRESSING="iso,qcow2". Skipped files are still checksummed when COMPRESS_OUTPUTIMAGE requests sha. Empty (default) keeps current behaviour. Signed-off-by: Igor Pecovnik <igor@armbian.com> | 1 个月前 | |
(#9400 P1a) lib/functions/image/fingerprint.sh: convert [ ] to [[ ]] Replace POSIX `[ ]` with bash `[[ ]]` on one -n test. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | 6 个月前 | |
(#9400 P1a) lib/functions/image/initrd.sh: convert [ ] to [[ ]] Replace POSIX `[ ]` with bash `[[ ]]` on one string comparison. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | 6 个月前 | |
loop: include device path in check_loop_device timeout error check_loop_device referenced ${device} in its "does not exist after 5 tries" message, but that variable is local to check_loop_device_internal, so the outer message printed an empty node ("Device node does not exist after 5 tries."). Capture $1 locally so the error names the actual path (e.g. /dev/loop0p1) - which is exactly what the new image-output-abl caller passes. Signed-off-by: Igor Pecovnik <igor@armbian.com> | 1 个月前 | |
show-extensions: fix hook-doc rendering (heading marker + btrfs docs) Two rendering bugs on the generated Extension Hooks docs page: 1. The docs formatter emitted the one-line summary as `> <first-comment-line>`. When a hook's inline doc opened with a `#`-prefixed line (e.g. btrfs_root_add_subvolumes), that became `> #text` — a level-1 heading inside a blockquote, which rendered huge and broke the page's table of contents for every hook after it. Strip a leading `#` from the summary so it can never become a heading; also guard the body so summary-only hooks emit no trailing blank. 2. The two btrfs_root_add_subvolumes[_fstab] hook docs were raw shell (comment lines + example commands), not markdown, so they rendered as run-together text. Rewrite them as a prose summary + description + a fenced example. Generated docs are prose (with inline code) as intended; hook doc comments are markdown and should be written as such. Signed-off-by: Igor Pecovnik <igor@armbian.com> | 23 天前 | |
chore: update copyright years to 2026 Update all copyright notices in shell scripts from 2025 to 2026. ## Changes - **Igor Pecovnik**: 2013-2025 → 2013-2026 (129 files) - **Ricardo Pardini**: 2023-2025 → 2023-2026, 2020-2025 → 2020-2026 (5 files) ## Additional Improvements Also updated the backtitle in `lib/functions/configuration/interactive.sh`: - Changed title from "Armbian building script" to "Armbian Linux build framework" - Removed docs link for cleaner display - Uses dynamic year calculation with separate declaration (fixes shellcheck SC2155) | 8 个月前 | |
(#9400 P3a) Replace useless cat with input redirection (#9404) * (#9400 P3a) trap-logging: replace useless cat with direct file arguments - gzip < file → gzip -c file (direct argument, -c for stdout) - cat file | ansi2txt → ansi2txt < file (ansi2txt has no file argument) - Remove now-unnecessary shellcheck disable=SC2002 comments * (#9400 P3a) logging: replace useless cat with direct file argument - cat file | grep | sed → grep file | sed (grep accepts filename directly) - Remove now-unnecessary shellcheck disable=SC2002 comment * (#9400 P3a) initrd: replace useless cat with direct file argument - cat file | md5sum → md5sum file (md5sum accepts filename directly) * (#9400 P3a) write-device: replace useless cat with direct file argument - cat file | awk → awk file (awk accepts filename directly) - Remove now-unnecessary shellcheck disable=SC2002 comment * (#9400 P3a) export-logs: replace useless cat with direct file argument - cat file | sed → sed file (sed accepts filename directly) - Remove now-unnecessary shellcheck disable=SC2002 comment * (#9400 P3a) python-tools: replace cat subshell with $(<file) syntax - $(cat file) → $(< file) (bash builtin, no subprocess) * (#9400 P3a) artifact-armbian-base-files: replace useless cat with direct file argument - cat file | grep → grep file (grep accepts filename directly) | 7 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 1 个月前 | ||
| 23 天前 | ||
| 8 个月前 | ||
| 7 个月前 |