Commit Graph

233 Commits

Author SHA1 Message Date
Igor Pečovnik
21fc940aaf
Several small bug fixes mainly outside supported areas (#4032)
* - disable few targets
- update unsupported kernel config
- bugfix on dtb install
- bugfix in download engine

* - fix broken compilation
- move onecloud to eos
2022-07-31 10:34:48 +02:00
Igor Pečovnik
20ee8c5450
Add support for month cache, limit push to master branch (#3939)
* Add support for month cache, limit push to master branch
* Bump cache version
* Add calculator
* Control file can't be zero lenght
* Remove non-existing package
* Remove non-existing pkg
* Wrong secret used
* Fix broken packages
* Improve download methods. No more errors
* Fix mechanism for using old cache files
2022-06-28 18:04:31 +02:00
The-going
7988c08451
feat: install_pkg_deb: Add the ability to install package files in function (#3929) 2022-06-24 13:15:21 +03:00
hzyitc
a863b5a242
Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
Igor Pečovnik
5847e91f18
Bugfix - add missing dependency (#3824)
Neede for assembling Orangepizero2 legacy boot loader
2022-05-27 08:58:25 +02:00
Igor Pečovnik
c8013d14a5
Small bugs and cosmetic issues (#3776)
* Remove debug code

* Replace duplicate query

* Oh-my-zsh configuration has been changed. Adjusting our modifications

* Address changes to git client in a better way
2022-05-11 19:46:10 +02:00
Igor Pečovnik
b8d4fb9d07
Update only supported repositories (#3752)
Don't add any packages to CSC repos, but generate index.
2022-05-04 14:41:48 +02:00
Igor Pečovnik
811b14aa48
Remove dead mirrors to suppress rootfs download errors (#3721)
* Remove dead mirrors to suppress rootfs download errors

* Typo
2022-04-30 18:58:43 +02:00
Przemysław Sztoch
13b1fdb081
Fix for rsyslog.conf and for SRC_EXTLINUX=yes with BOOTFS_TYPE=... (#3673)
* Better manifest and fix for rsyslog.conf

Commit info about builder
Somebody does not use rsyslog...

* Bug fix for SRC_EXTLINUX=yes with BOOTFS_TYPE=...
2022-04-24 22:36:24 +02:00
Igor Pečovnik
07abe12936
Fixing changes in Git for unsafe folder (#3695) 2022-04-18 13:43:31 +02:00
Derek
d464f10fb1
wrong toolchain was added and used for building wtmi_app.bin (#3679) 2022-04-16 09:13:46 +02:00
Derek
b1e85c9258
create an option to allow ipv6 downloads (#3640)
* create an option to allow ipv6 downloads

* Coding style fix

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-04-07 19:07:40 +02:00
Igor Pečovnik
5fa5c69838
Remove conflicting package due to Jammy user base (#3643)
* Remove conflicting package

Aptly does not want gnupg1 that is shipped with Jammy anymore. We need to check what does that means for generating repos

* Fixing broken chroot dependency for Jammy

* Remove rng-tool package. It seems not relevant anymore

https://git.kernel.org/linus/c51f8f88d705e06bd696d7510aff22b33eb8e638
2022-04-07 01:04:15 +02:00
Igor Pečovnik
db408b61c4
Purge bionic, impish, hirsute, stretch (#3600)
* Purge bionic, impish, hirsute, stretch

- up jammy to supported (will be soon anyway)

* Change recommended build env to Jammy
2022-04-05 16:19:51 +02:00
Igor Pečovnik
af903b2ccd
Move Docker image to Ubuntu 22.04 LTS (#3481)
* Add tested Docker files for current Debian / Ubuntu, defaulting to Jammy

* Update update-docker.yml

* Update update-docker.yml

* Solving with Docker run parameters

* Just variable name change

* Update update-docker.yml

* Change to master

Also merge https://github.com/armbian/scripts/pull/6

* Set default values

* Add missing libssl1.1
2022-03-30 07:26:59 +02:00
Jannis
ae3ad1fdee
Apply changes to Espressobin from Issue#2861 (#3498)
* Apply changes to Espressobin from Issue#2861

* Additional config changes

* Add cryptopp to marvell tools

* Remove local DDR topology changes

* Disable ebin MACs in armbianEnv.txt

* Change kernel options for ebin, remove mtdparts

* Add CZ.NICs ebin firmware

* Increase ATF compiler version"

* fixup external toolchains

* add gcc-aarch64-linux-gnu package (#3585)

* correct compiler names for ATF, external toolchain

Co-authored-by: Derek LaHousse <dlahouss@mtu.edu>
Co-authored-by: Derek <ManoftheSea@users.noreply.github.com>
2022-03-28 07:16:22 -04:00
Derek
c56c0ab506
Update external arm toolchains (#3582)
* Update external arm toolchains

Requires getting files into Armbian Mirror:

https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf.tar.xz
https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz

* Add torrent files

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-03-27 09:50:04 +02:00
Igor Pečovnik
eaa10a19de
Fixing deprecation notice for our primary key (#3553)
Leave old method for older variants
2022-03-26 12:40:42 +01:00
brenkem
f3f12248e1
enable support for LINUX Mint 20.3 (#3541) 2022-03-19 16:48:02 +01:00
Peter Young
11f1223ce2
Fix url slash & china mirror (#3525) 2022-03-09 09:24:27 +01:00
The-going
d3ff3de734
Function (#3476)
* Rename "git" to "improved_git" if the command accesses a remote server
* Rename by meaning
* fetch_from_repo: Remove dependency for related functions.
* waiter_local_git: Add an option for the whole family
if present in the configuration
* Correct the comment
* Fix rename git to improved_git
2022-02-13 20:13:51 +01:00
Igor Pecovnik
dc9722b535
During a build display mirror server where kernel sources are comming from 2022-02-03 13:35:57 +01:00
The-going
d885bfc97d
Patching sunxi (#3445)
* waiter_local_repo: Fixed incomplete logic

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* A series of patches for sunxi v5.15.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* DEBUG

* check 70

* check 101

* Add 101 Armbian patches as series

Patches are renamed using the logic of the file structure
and the essence of the changes, sorted in the order
of their receipt. Fixed a lot of incorrect overlay
of some pieces in patches. Several small patches are
combined, because they changed one file.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove old patches that have been reworked into a series

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix for apply to v5.15.17

* Two Bluetooth-BTRTL patches for sunxi will be applied in the series.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* check 113

* Fix print output

* Revert "DEBUG"

This reverts commit 49e2c7fdc0.
2022-01-28 19:08:04 +01:00
Oleg
e4c3b9916c
fix bootsplash and move set PKG_PREFIX to arm64.conf (#3410) 2022-01-22 19:49:06 +01:00
Igor Pečovnik
1b18df3c83
Remove deprecated library from Dockerfile (#3420)
* Update Dockerfile
* Remove zlib1g:i386 from general.sh as well
2022-01-22 06:04:41 +01:00
Igor Pečovnik
dc027bf8be
Bugfix - remove refference to aptly repostiry since it went offline (#3416)
Ubuntu from 21.10 packs the same version.
2022-01-20 14:44:27 +01:00
The-going
8331e8b9dc
Add initial series patches for sunxi-5.16 (#3392)
* Add initial series patches for sunxi-5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Now all patches are applied to the v5.16 kernel without errors

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Handle an exception if the initial tag is the top of the branch.

Remove the handling of the old exception.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi64_common.inc: Fix for 5.16

* sunxi-common.inc: Fix for 5.16

* Revert debug for EDGE: KERNEL_VERSION_LEVEL to "5.15"

* Add new patches from megous and switch to v5.16.1

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* waiter_local_repo: Fixed comment

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-01-17 14:19:53 +01:00
The-going
e4e4ab0791 install_pkg_deb: Fix the logic of selecting updates
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-01-13 11:33:35 +03:00
Igor Pečovnik
0344d20c15
Support for multi source download when using https protocol (#3306)
* Bugfix - toolchain download only from a single source

* - replaced hardcoded continent value with dynamic
- set https download as default since its downloading from multiple closest servers by default
2022-01-12 07:49:58 +01:00
Vyacheslav
1e1018eeac
Fix install basic packages without sudo (#3393) 2022-01-11 11:36:25 +01:00
The-going
3083038855
install_pkg_deb: Not updated every time the function is called. (#3385) 2022-01-08 09:59:06 +01:00
Igor Pečovnik
310495ddf1
Refactor armbian-bsp-cli package creation (#3378)
* Refactor armbian-bsp-cli package creation

- added general distro status for all in separate file inside BSP
- remove branch and distro specifics

* Looking for prebuild pack

* Small fixes
2022-01-06 11:50:24 +01:00
The-going
028256735d
prepare_host: Installing packages with the install_pkg_deb function (#3374)
* separate joint and own lists for architecture

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove duplicate selection

* Final add Installing build dependencies

* libncurses: Do not use transitional package

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* add arch i386: Remove duplicate selection

* lib32ncurses-dev: Dependency only for amd64

* install_pkg_deb: parameter verbose to log
2022-01-05 17:55:22 +01:00
The-going
fedc9c1f58
Install debian packages using a special function (#3368)
* Add new function install_pkg_deb

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Use the install_pkg_deb function

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi-tools: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* hostapd, hostapd-realtek: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Clean Environment for building as default

* upgrading: Repack a clean Environment archive

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-27 14:23:35 -05:00
lededev
1e08570817
Add warning when build environment is WSL2 docker (#3341)
* Add warning when build environment is WSL2 docker

* change warning message for WSL2 Docker

Co-authored-by: lededev <lededev@noreplay.github.com>
2021-12-14 00:13:51 +01:00
Igor Pečovnik
06c931c9c2
Add support for rootfs / toolchain bind (u)mount (#3342)
* Add support for rootfs / toolchain bind (u)mount

* Bugfixes
2021-12-12 17:41:03 +01:00
Igor Pečovnik
2e5d928057
Refactoring host preparation function to address a bug (#3340) 2021-12-11 21:16:12 +01:00
RadxaYuntian
fe9c032aac
Add new options to handle mirror selection better (#3325)
* Add new option UBOOT_MIRROR to select mainline U-Boot mirror

 - set to `github` to use mirror provided by GitHub, the same as `USE_GITHUB_UBOOT_MIRROR=yes`.
 - set to `gitee` to use mirror provided by Gitee, a Chinese git service.
 - leave it unset to use offical `source.denx.de`.

* Add GITHUB_MIRROR option

Usage similar to UBOOT_MIRROR.

* Add REGIONAL_MIRROR option

Chinese users (the main user of mirror options) can have use this one instead of configure many different options.
2021-12-08 16:15:26 +01:00
Igor Pecovnik
72dba9b907
Backend - add feature for easy edge cleaning from stable repository
We had an issues with some mirrors on exceeding its predicted size for several times. EDGE kernels are updated very often, so we have a lot of packages. Which actually have no point to be stored for a very long time
2021-12-07 21:21:57 +01:00
eiffel-fl
734c93a955
Add package needed to satisfy CONFIG_DEBUG_INFO_BTF. (#3299)
CONFIG_DEBUG_INFO_BTF relies on libelf-dev and pahole (provided by dwarves
package).
This commit add dwarves package both as hostdeps and to Dockerfile.
2021-12-06 15:57:07 +01:00
Ricardo Pardini
2d418d2561 amd64: fixes for REPOSITORY_INSTALL scenario, don't disable amd64 repo
- now we have proper amd64 repo published!, remove disable
- amd64 does not have dtb package anymore, don't try to install it from repo

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-12-06 12:50:21 +01:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
The-going
864ae626a8
Switch sources for sunxi 5.15 to the mainline kernel source. (#3272)
* Add new function apply_patch_series
* Apply a series of patches if a series.conf file exists
* Add all megous orange-pi-5.15 branch patches as series
* Add an Exception for version 5.15 for sanxi
* Adjust the switch for sunxi
* Fix megous patches series for v5.15.3
* Switch version to 5.15.3 for sunxi
* Check the exception for 5.15 sunxi
2021-11-20 19:48:51 +01:00
Igor Pečovnik
6979718d58
Chroot build packages cleanup and bug fixing (#3266)
* Small fixes and removal of deprecated component
* Fix to properly create armbian repo in chroot
2021-11-17 19:35:32 +01:00
Igor Pečovnik
aaa050959b
Replace which with command -v (#3253) 2021-11-15 23:30:39 +01:00
Igor Pecovnik
abcfa76c9c
Creatge Ubuntu 22.04 repository 2021-11-14 22:18:12 +01:00
Ricardo Pardini
345a18cd90
fix jammy (next Ubuntu LTS) sources.list (#3251)
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-11-14 09:51:55 +01:00
Igor Pečovnik
2a47ad5c78
Add support for next Ubuntu LTS (#3234)
* Add support for next Ubuntu LTS

* Update build-cache.yml

* Update build-cache.yml

* Update build-cache.yml

* Update build-cache.yml

* Jammy repository creation

* Enable docker build support on Jammy
2021-11-09 18:15:04 +01:00
Igor Pecovnik
f375ba4a3a
Removing deprecated keyserver
Closing https://github.com/armbian/build/issues/3190
2021-10-28 23:06:42 +02:00
The-going
d583c86177
Make a shallow local repository for tracking history (#3172)
* Allocate repository cleanup to a separate function.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add a waiter function to serve a shallow local git repository.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Configuration shallow repository in sunxi64_common.inc file

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Configuration shallow repository in sunxi_common.inc file

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* An example of using the function of creating a shallow local repository.

This example is a very bad crutch.
It is necessary to come up with another option for permanent use.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix variable KERNELSOURCENAME as 'name=megous' for sunxi32

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Required variables cannot be empty

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Print an action message.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-10-28 18:17:03 +02:00