Commit Graph

1064 Commits

Author SHA1 Message Date
Igor Pecovnik
92a1c729d4 Fix image build status and remove build-all scenario 2022-02-27 11:48:59 +01:00
Igor Pečovnik
c859d0c831
Fixing package name changes in Jammy (#3512)
* Detach  Jammy from focal due to package changes

Fix font package name

* Resolve broken packages for Jammy / i3 / gnome / xmonad

printer-gnome is also obsolete

* Bump rootfs cache number
2022-02-25 19:26:45 +01:00
Igor Pečovnik
c1ccfe11b0
Adjust bootsplash patches for 5.15.y / 5.15.y (#3501) 2022-02-17 22:05:08 +01:00
Igor Pečovnik
2638284b3b
Enable AUFS and Docker (#3502)
* Enable AUFS and Docker

* Add AUFS to configs

* Update configs
2022-02-17 22:04:55 +01:00
iav
3cb8dc709b
remove wrong assumpsion "btrfs compressed fs always < current size" (#3485) 2022-02-14 19:06:22 +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
KevinZønda
3236e5299b
upd mirror site (#3483) 2022-02-13 17:42:27 +01:00
Igor Pečovnik
078b58df01
u-boot install fallback - use version which was downloaded from repo (#3475) 2022-02-12 10:30:07 +01:00
Igor Pečovnik
1e37959e53
Bumping sunxi/64, xu4, rockchip and mvebu64 to 5.16.y (#3453)
* Prepare xu4 edge for 5.16.y, move current of imx6 to 5.15.y and edge to 5.16.y

- fix bootsplash on 5.16.y

* rk322x: advance current to 5.15 and edge to 5.16

* rockchip: advance current kernel to 5.15, edge to 5.16

* - adjust configs
- fix bootsplash patches
- adjust aufs

* Switch sunxi / sunxi64 current to 5.15.y, edge to 5.16.y

- cleanup bootsplash patches
- adjust configs

* Update mvebu64

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-02-10 20:32:58 +01:00
Oleg
a3fd209abe
fix extlinux.conf (#3468) 2022-02-10 15:02:09 +01:00
Igor Pečovnik
38e496ccee
Change RC folder caps 2022-02-09 14:20:27 +01:00
iav
4034a8f535
switch RTL8188EU USB WiFi driver with 5.15+ kernel to mainline (#3464)
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.15-Staging
2022-02-07 09:52:39 +01:00
The-going
990798c3fb
Patching sunxi 5.15 (#3460)
* Remove an aged patch from use #3443

Allwinner-Add-frame-inversion-to-correct-audio-chann.patch

* Rename and prepare for the series 5.15

* Split and rename files for sun50i-h616-dtsi

* Split and rename files for sunxi overlays

* Remove mutually exclusive patches

* Add fifty redesigned patches to the series

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

* Remove fifty-four old patches

* Fix compile error

* Delete unused ones and sort if possible for megous series

* sunxi-5.15: Sort, fix compile warning, remove unused

* Rework print log for patching
2022-02-05 21:53:26 +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
Igor Pečovnik
26cef397c0
Add switch to skip image creation if it already exists (#3454)
* Move artefact creation directory into from deboostrap into configuration

This is needed to support function of early checking for artefacts. Useful for CI

* Introduce IMAGE_PRESENT parameter which we can use when creating a lot of images so we don't need to recreate whole CI if one image fails
2022-02-02 20:54:42 +01:00
csrbzhb
367280b10d
fix github mirror.china github speed up (#3451) 2022-02-02 10:55:01 +01:00
Oleg
e7267c3fee
new module list generation function for Initramfs (#3447)
* new module list generation function for Initramfs

* fix

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-02 10:50:50 +01:00
Oleg
365c5b6e4a
fix start Jetson Nano kernel legacy USB media (#3452) 2022-02-02 10:49:20 +01:00
Igor Pecovnik
21a4908f15
Force cache rebuild 2022-02-01 12:46:09 +01:00
Igor Pečovnik
d4ee87852c
Add option to override default ubuntu arhive (#3446) 2022-01-30 23:10:51 +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
Igor Pečovnik
72e8fc7d36
Improve cache creation process by removing /root and /home to be syched (#3439) 2022-01-26 12:48:13 +01:00
Igor Pecovnik
e7962bb2b5
Bugfix - cleaning package list
Prevent problems with "File has unexpected size" when we hit repo synch between builds
2022-01-23 11:15:18 +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
af7bbccf06
Bump with cache rootfs version to force reload (#3417)
Mitigating debootstrap bug.
2022-01-20 14:46:21 +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
4a5ed695a7
Bugfix. Create a directory for the build environment cache (#3404) 2022-01-16 14:52:23 +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
Vyacheslav
5bfa587727
Fix branch for linux-firmware from master to main (#3390) 2022-01-10 15:44:23 +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
Igor Pečovnik
e76a5b0bfe
Improve fist login UX (#3375)
* Improve 1st login script

* Update packages/bsp/common/usr/lib/armbian/armbian-firstlogin

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Address accessibility issue

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2022-01-05 17:55:10 +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
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Igor Pečovnik
e70ab625ec
Add support for missing REPOSITORY_INSTALL variants (#3360) 2021-12-19 21:11:39 +01:00
Igor Pecovnik
e11af914a2
Introducing new internal function for deploying images in folders
This was previously done automatically with BUILD_ALL but since we are building images differently, we need a new name. BUILD_ALL covers other functions, so we need to detach and make a new VARIABLE.
2021-12-15 18:30:23 +01: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 Pecovnik
40e5a57a41
Let's not unset environment variables within the script 2021-12-12 19:14:54 +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
The-going
146803353c
Remove the garbage from the install.log file (#3333)
* Remove the garbage from the `install.log` file

You cannot use `--info=progress2` for the `rsync`
command when all output is sent to a file.
This creates a large garbage file.

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

* Changes megous reverse commit. Just disable the patch

commit bd592ec43b76b298be29126e667850113b84376d (tag: orange-pi-5.15-20211125-1352)
Author: Ondrej Jirman <megous@megous.com>
Date:   Thu Nov 25 13:51:59 2021 +0100

    Revert "rtw88: Add more channels"

    This reverts commit cb1e3839822d4f782a9af6c27568540414093ba6.
2021-12-10 08:32:44 +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
Igor Pečovnik
450043a212
Mitigate Samba NetBios timeouts (#3328) 2021-12-07 20:13:03 +01:00
Ricardo Pardini
da062debdd
[PR] multiple fixes for the eval + PIPESTATUS construct (#3280)
- try this on your bash shell:
  - `ONEVAR="testing" eval 'bash -c "echo value once $ONEVAR && false && echo value twice $ONEVAR"' '| grep value'  '| grep value' ; echo ${PIPESTATUS[*]}`
  - Notice how PIPESTATUS has only one element. and it is always true, although we failed explicitly with false in the middle of the bash.
  - That is because eval itself is considered a single command, no matter how many pipes you put in there, you'll get a single value, the return code of the LAST pipe.
  - Lets export the value of the pipe inside eval so we know outside what happened:
  - `ONEVAR="testing" eval 'bash -e -c "echo value once $ONEVAR && false && echo value twice $ONEVAR"' '| grep value'  '| grep value' ';EVALPIPE=(${PIPESTATUS[@]})' ; echo ${EVALPIPE[*]}`
- also: pass LC_ALL=C LANG=C to avoid locale warnings

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-12-07 20:10:47 +01:00