Ricardo Pardini
64b724d1d7
main-config: mark mirror variables readonly; add todo's
2024-01-07 18:58:36 +01:00
Igor
f2e663f087
Improved debootstrap hacking support with fixes for Ubuntu Noble ( #6076 )
...
* Remove extension for patching Deboostrap to support Ubuntu Noble
* Integrate Deboostrap patching to the build script
* fix problems related to Noble
2023-12-22 08:04:55 +01:00
Werner
e23c6cf9b5
Update main-config.sh
2023-12-21 09:38:37 +05:30
Ricardo Pardini
4e37b276d1
bash: run shellfmt, no changes
2023-11-25 13:38:30 +01:00
amazingfate
aff6915fba
use mirror.ghproxy.com as default url of ghproxy
2023-11-21 17:06:14 +01:00
amazingfate
81c460e3bf
use GHPROXY_ADDRESS to customize ghproxy url
2023-11-21 17:06:14 +01:00
Igor
6bcf74f2e7
Anonymize default build engine settings ( #5865 )
...
Improve naming confusion by changing build framework defaults. Set framework defaults VENDOR to Armbian-unofficial for self build images. Unsupported boards and unsupported distribution have framework defaults, except VENDOR and VENDORURL. We build images with predefined values.
2023-11-15 22:00:21 +01:00
Igor
d799b5a6df
Remove cpufrequtils from trixie as its not / will not be present anymore ( #5881 )
...
* Remove cpufrequtils from trixie as its not / will not be present anymore
* Remove aggregation hacks for cpufrequtils while adding another condition
2023-11-03 08:10:59 +01:00
Ricardo Pardini
f3c3fe8e82
ubuntu: add mantic (23.10), symlinks to lunar
2023-10-14 09:40:45 +00:00
Igor
2a8cb5793f
Removing exceptions needed to support riscv64 withing Debian
...
Signed-off-by: Igor <igor@armbian.com>
2023-08-17 22:09:05 +02:00
Ricardo Pardini
be11e171a8
main-config: allow using REVISION from env or command-line param; ensure it begins with digit
2023-08-12 09:58:32 +02:00
Ricardo Pardini
a592ab763c
hashed-OCI-revisioned-debs: build debs in PACKAGES_HASHED_STORAGE, not DEB_STORAGE (temp commit, will be rewritten by a later commit)
...
- fakeroot_dpkg_deb_build() now only takes a single argument, the unpacked package dir
2023-08-12 09:58:32 +02:00
Ricardo Pardini
ec0a87efb5
hashed-OCI-revisioned-debs: get completely rid of artifact_prefix_version
2023-08-12 09:58:32 +02:00
Ricardo Pardini
718047cfd7
interactive: show all possible KERNEL_TARGET's in branch selection UI; handle current/edge/legacy, others are "experimental"
...
- remove `midstream` special handling
2023-07-12 02:41:02 +05:30
Michael Beck
fae99241a9
Added "midstream" to the interactive config kernel branch selection. ( #5349 )
...
Co-authored-by: Michael Beck <beck.xt3@gmail.com>
2023-06-19 22:03:07 +02:00
Andrew Davis
92aa7b3de2
Use HTTPS for kernel.org sources checkout
...
HTTPS is more secure and less likely to be blocked by firewalls. The
other sources here use HTTPS now, update the kernel to the same.
2023-06-14 15:55:09 +02:00
Ricardo Pardini
31131fe14e
bsp-cli/BETA: fixes for bsp-cli bootscript hashing; don't normalize bootscript vars; debugging for BETA=yes/no stuff
...
also:
- get rid of comments and `SUBREVISION` and `RC` variables
- better debugging in calculate_hash_for_variables() do_normalize_src_path=yes/no
- tag a few places where output/debs might wrong in face of BETA=yes/no
2023-05-25 19:30:40 +02:00
Ricardo Pardini
52710b3363
git/docker: bsp-cli: fix BUILD_REPOSITORY_URL and BUILD_REPOSITORY_COMMIT under Docker; fixes AR-1750
2023-05-24 19:20:57 +02:00
Igor
fae54d84ca
Change remaining variables of base-files
2023-05-18 20:49:06 +02:00
Igor Velkov
9b68c4e42a
Add support for nilfs2 fs based image
...
Signed-off-by: Igor Velkov <iav@iav.lv>
2023-05-16 08:51:05 +02:00
Ricardo Pardini
d164f6850b
rootfs/aggregation/helios64: fix: include PACKAGE_LIST_BOARD_REMOVE (and FAMILY version) into rootfs' artifact_input_variables
...
- `PACKAGE_LIST_BOARD_REMOVE` is used only in `helios64` board
- the fact is `PACKAGE_LIST_BOARD_REMOVE` removes the packages _from the rootfs_ and not _from the image_
- this only accounts for that fact, but in the future we should actually change how this works
2023-05-15 17:43:25 +02:00
Ricardo Pardini
e49d91ec40
popular demand: bring back KERNEL_CONFIGURE=yes *during image build*
...
- partially revert 6ef394d95d (thus bring back the TUI/dialog for selecting KERNEL_CONFIGURE=yes/no)
- partially revert d890b418c7 (thus bring back the capacity to config & build image in one go)
- stop after configuring kernel, but only if command is `kernel-config`, not regular image-build KERNEL_CONFIGURE=yes
2023-05-09 10:05:09 +02:00
Ricardo Pardini
6ef394d95d
kernel: get better rid of KERNEL_CONFIGURE, remove UI asking for it, it's now a separate command kernel-config and wouldn't work anyway
2023-05-03 15:09:56 +02:00
Ricardo Pardini
9a073d06fb
interactive: desktop: use set_interactive_config_value() so user-selected desktop options appear in repeat build args
2023-04-21 14:26:33 +02:00
Markus Hoffrogge
d1252fc0ee
interactive: better Repeat Build Options [by @mhoffrog, squashed, rebased]
...
Add interactive configurations to Repeat Build Options
Simplify function produce_repeat_args_array()
- make use of $ARMBIAN_NON_PARAM_ARGS and $ARMBIAN_PARSED_CMDLINE_PARAMS (associated array)
- quote parameter values to be on the safe side
Move "Repeat Build Options" logs to start-end.sh
- cli-build.sh, start-end.sh:
- move function function produce_repeat_args_array() to start-end.sh
- add $WHAT as first arg to produce_repeat_args_array() if
$WHAT is not empty
- move early display log of "Repeat Build Options" to
function main_default_start_build()
- move last log of "Repeat Build Options" to
function main_default_end_build()
- add last log of "Repeat Build Options" to
LOG_SECTION="repeat_build_options"
2023-04-21 14:26:33 +02:00
Igor
0590a70597
Change custom Ubuntu mirror logic
...
Signed-off-by: Igor <igor@armbian.com>
2023-04-19 20:25:03 +02:00
amazingfate
115cb80a04
add dockerproxy to accelerate ghcr.io
2023-04-18 09:28:25 +02:00
amazingfate
409ce6f362
add ghproxy to GITHUB_MIRROR
2023-04-17 13:42:53 +02:00
Ricardo Pardini
d59271f903
config: refactor calculate_image_version() out of create_image_from_sdcard_rootfs(), make more flexible, predict IMAGE_FILE_ID during config
...
- default `IMAGE_INSTALLED_KERNEL_VERSION="generic"` instead of `"linux"`
2023-04-15 22:43:06 +02:00
Ricardo Pardini
ac25ac18be
config/extensions: consolidate EXTRA_IMAGE_SUFFIXES array as _the way_ to add to image filename, during configuration
...
- can add to `EXTRA_IMAGE_SUFFIXES` array during `user_config` or `extension_prepare_config`
- in the end goes into a `EXTRA_IMAGE_SUFFIX` global readonly
- this simplifies extension code
- we still can't "predict" image names during configuration since it includes the kernel version (6.2.11/generic) which only comes later
2023-04-15 22:43:06 +02:00
Ricardo Pardini
871415b7b3
arch configs (all): default, but do not overwrite, KERNEL_IMAGE_TYPE/KERNEL_INSTALL_TYPE/etc: allow board/family to set
2023-04-08 14:33:39 +02:00
Ricardo Pardini
ed0b406265
lib: fix: replace undue export statements with declare -g
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
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
630ee512cb
stop the build if LIB_TAG is set at all; some users expect it to work while it doesn't
2023-03-17 08:32:11 +01:00
Ricardo Pardini
6b965c605c
completely remove any traces of KERNEL_ONLY and exit with error if set
2023-03-17 08:32:11 +01:00
Ricardo Pardini
ff657fcf90
artifacts (all): require prefixing of artifact_version with artifact_prefix_version (which is ${REVISION}--)
2023-03-17 08:32:11 +01:00
Igor Pečovnik
b7b8eb7b72
Add / modify (c) in bash scripts ( #4922 )
...
* Add / modify (c) in bash scripts
Signed-off-by: Igor <igor@armbian.com>
* Add (c) to the source config files
---------
Signed-off-by: Igor <igor@armbian.com>
2023-03-09 18:30:40 +01:00
Igor Pečovnik
b7921eb53e
Rename config file "only_for" into "architecture" ( #4861 )
...
* Rename only_for def into architectures
* Rename def with typo arhitectures -> architectures
2023-02-24 20:36:27 +01:00
Ricardo Pardini
68e20a4bf4
qemu-uboot-xxx: fix missed rootfs cache due to pkg removals
2023-02-18 07:46:41 -03:00
Ricardo Pardini
ca6bf9046b
armbian-next: remove all traces of Vagrant and FEL boot
2023-02-18 07:46:00 -03:00
Ricardo Pardini
49947ec373
armbian-next: aggregation: don't include packages.additional if BUILD_MINIMAL=yes
2023-02-18 07:45:58 -03:00
Ricardo Pardini
70e68b619c
armbian-next: swap github in as default u-boot mirror; allow denx to use upstream's gitlab
...
- @TODO still need to change mirror swap to usage instead of config
2023-02-18 07:45:37 -03:00
Ricardo Pardini
388c76c91b
armbian-next: shellcheck: squash more shellcheck warnings; some long-lost variables being used; some unset's that are better reset's, etc
2023-02-18 07:45:33 -03:00
Ricardo Pardini
68d76d6f3a
armbian-next: squash some shellcheck warnings; don't local and assign subshell value in same statement, that masks errors (declare/local almost-always works)
2023-02-18 07:45:31 -03:00
Ricardo Pardini
bb6975707a
armbian-next: take a breath: config might mark aggregation required; aggregation requires prepare_host, and thus runs in default-build
2023-02-18 07:45:21 -03:00
Ricardo Pardini
bef7f8fee4
armbian-next: artifacts: introduce kernel/u-boot artifacts; git ref2info; "memoizer"; some hashing
...
- artifacts: u-boot/kernel - pt7 - adapt legacy/artifact versions; use common `capture_rename_legacy_debs_into_artifacts()`
- artifacts: u-boot - pt6: add artifact for u-boot
- use artifact version / reason in actual u-boot .deb if present
- artifacts: kernel - pt5: tune kernel version, refactor
- artifacts: kernel - pt4: squash unrelated bugs that show up; move `prepare_compilation_vars()` to default build
- artifacts: kernel - pt3: drivers+patches+.config hashing
- split file hashing function from drivers-harness; fix it so filenames are relative and sorted; sort from ${SRC}, always
- aplit prepare_kernel_config_core_or_userpatches() from `kernel_config_initialize()`
- artifacts: kernel - pt2: memoizing git ref2info
- artifacts: kernel - pt1: versioning
2023-02-18 07:45:20 -03:00
Ricardo Pardini
19aa7e95cf
armbian-next: introduce assert_prepared_host() and assert before using any Python, to un-mask any further fallacies
2023-02-18 07:45:19 -03:00
Ricardo Pardini
16eb5eb50b
armbian-next: aggregate_packages out of main_default_start_build(); introduce assert_requires_aggregation()
2023-02-18 07:45:03 -03:00
Ricardo Pardini
78dcf01c92
armbian-next: cleanup, kill and add to-do's, remove dead code, turn down logging, squash future shortcircuit bugs
...
- killed `[[ $ROOTFS_TYPE != ext4 ]] && display_alert "Assuming ${BOARD} ${BRANCH} kernel supports ${ROOTFS_TYPE}" "" "wrn"`
- which definitely didn't belong in rootfs
- disable usage of run_host_command_logged_long_running for kernel-make
- stop lying about long_running stuff being any different from non-long_running versions
- stop lying about 'set -e' when there's still a bunch of pipes for "pv" and stuff all around
2023-02-18 07:44:33 -03:00