Commit Graph

190 Commits

Author SHA1 Message Date
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
Igor Pečovnik
315d99896b Store changelog for upstream changes in the cache/hash/ (#3131)
* Store changelog for upstream changes in the cache/hash/

* Cleanup

* Calculate urls

* Use URL

Don't merge since it doesn't work properly yet

* Check if OLDHASHTARGET commit exists otherwise use oldest

* Fix log updating

* Improve log format, add better support for sunxi
2021-10-28 18:16:43 +02:00
Ricardo Pardini
bd3609b4d1 fix security repo for bullseye (#3226)
* fix security repo for bullseye

- with bullseye, comes a security repo layout change
- see https://www.debian.org/releases/bullseye/arm64/release-notes/ch-information.en.html#security-archive

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

* debian: fix source lists for bullseye+ and sid; remove previous fix

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-10-26 08:54:48 +02:00
Igor Pečovnik
92cc1f43a3 Enble Impish in repository (#3207) 2021-10-19 10:41:48 +02:00
Igor Pečovnik
9653d8c780 Apt cache prompts at fresh install and locales issue (#3158)
* Apt cache prompts at fresh install
* Some Ubuntu variants comes without default locales
2021-09-24 21:10:24 +02:00
Igor Pečovnik
742aea8af2 Re-enable Debian stretch repository (#3087) 2021-08-08 18:58:40 +02:00
lanefu
894cb29ca7 Feature/get_log_path/ (#3064)
* custom log path of debug/ via LOG_SUBPATH=
2021-07-27 07:24:06 -04:00
The-going
241f015ac7 formatted output of variable values (#2986)
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-07-13 20:25:25 +02:00
henkiejan1
6844232dd7 Added support for Linux Mint 20.3 Uma (#2985)
* Added support for Linux Mint 20.3 Uma

Because there is actual support for Linux Mint 20.x based on Ubuntu 20.04 is it technically the same version. Only the code name change every new release. Today is Linux Mint 20.2 Uma released so i added it to the host check.

* Update general.sh

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2021-07-11 06:59:24 +02:00
Igor Pečovnik
9d4e0408c5 Improvements for BSP creation (#2975)
* Improvements for BSP creation

- add support for the same principle found in desktop creation. For CLI package we are copying content from "bsp-cli" folders.
- moving bsp* copy function to image-helpers
- improve readme
2021-07-07 16:06:00 +02:00
The-going
eca7bbb12d Code cleanup and optimization (#2965)
* prepare_host_basic: Code cleanup and optimization

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

* Checking and install at the beginning the basic utilities

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

* Logging has been removed because it makes little sense.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-07-04 23:25:40 +02:00
Igor Pecovnik
6fa2732629 Bugfix - repository management distribution detect 2021-07-04 10:47:05 +02:00
Igor Pečovnik
1f2e97febf Remove Ubuntu Groovy from codebase (#2952) 2021-07-03 21:58:08 +02:00
iav
bdd1fd92df retun lost jq to arm builder (#2926) 2021-06-25 23:31:34 +02:00
Igor Pečovnik
7d330d2e5b Code cleaning attempts #1 (#2911)
* Remove Docker version check from compile.sh since its deprecated

* Remove meta package creation which was needed for upgrade

* Update in-code documentation

* Bugfix

* Making oneliner

* Remove Groovy debug leftovers

* Add readme to distributions

* Update

* More text adjust

* Add virtual

* add more
2021-06-21 23:03:39 +02:00
iav
7915b5a2e4 add packets to aarch64 builder for arm-trusted-firmware #2908 (#2909) 2021-06-19 23:04:42 +02:00
Oleg
a3f2777f52 add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Aristo Chen
78894792a5 Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
iav
cda929a1b6 Make builder dockerfile to be x64 and aarch64 compatible (#2867)
* Make builder dockerfile to be x64 and aarch64 compatible
and building speed optimization

* remove hardcoded amd64
currently docker from edge not work, stable works, then stable instead edge

* libc6-dev-armhf-cross need to build rockchip uboot for helios64 under arm64

* need to add architecture to avoid blame for no docker for i386 arch

* hirsute uses same names for qemu-user-static

* let's only x64 use aptly from dev
2021-06-04 10:53:45 +02:00
iav
2d3f31643a docker on aarch64 need same settings as on amd64 (#2852) 2021-05-27 20:40:15 +02:00
Przemysław Sztoch
486a821a55 VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh, Static MAC for networkd (#2789)
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh

VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd

ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
  and installed DDR memory.

* New RK3399Pro boot preloaders.

* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix

Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
2021-05-11 21:50:14 +02:00
Igor Pečovnik
9b0dd2b839 Fix broken Docker support (#2804)
* lsb-release package is getting deprecated

It is not present on Hirsute anymore so we better remove its dependency

* - remove lsb-release dependency from docker
- exit if Docker version is too low (check works only on Ubuntu builds, else doesn't do anything)

Reference: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1916485

* Cleanup

* Remove quotes for proper pkg install

* Automatically upgrade Docker engine

* Missing python dependencies

* Bugfix - debian name is not just one word

* Put this back

* provoke error

* Revert

* Adjust Github runner to make bionic and focal and compile u-boot for test

* Adjust cron

* Remove Bionic, cron back to 14 days

* Change to ubuntu-latest
2021-05-02 18:06:38 +02:00
Igor Pečovnik
b6697fdfc9 - move new bsp packages to $release-utils (#2783)
- remove creating repository for xenial and stretch
- creating meta upgrade packages which are gone with apt autoremove

Tested on focal and stretch

Note: we lost BRANCH information from /etc/armbian-release file https://armbian.atlassian.net/browse/AR-731
2021-04-19 18:57:41 +02:00
IAMLIUBO
0a92c19e7b Add support Mint 20.1 ulyssa (#2764) 2021-04-13 10:16:14 +02:00
Przemyslaw Sztoch
738996ea33 Better user path config and support for etworkd
add user path for configuration scan
check for NetworkManager/networkd
support for bullseye

(i.e. path: config/cli and files: packages, packages.remove)
2021-04-09 10:27:52 +02:00
Igor Pecovnik
f257188e42 Revert "U-boot compilation for Tinkerboard breaks due missing some headers files (#2747)"
This reverts commit c7b853602d.
2021-04-01 15:00:44 +02:00
Igor Pečovnik
c7b853602d U-boot compilation for Tinkerboard breaks due missing some headers files (#2747) 2021-03-29 22:03:39 +02:00
Igor Pečovnik
8827838e8b Distribution support status was not read when creating only BSP package (#2693) 2021-03-06 20:29:07 +01:00
Igor Pečovnik
3b1c94a268 Most recent Git client returns protocol in get-url origin (#2684)
This leads to constant redownloading of sources in case your access ssh, while url is not written that way.
2021-03-03 20:31:53 +01:00
柚木鉉
98c1cbc889 Add bfsu mirror as another mirror of tuna (#2682)
* add bfsu for china mirror
2021-03-03 17:45:25 +01:00
Igor Pečovnik
2e594375a9 Improve cache and toolchain download (#2665)
* Improve cache and toolchain download

* Cleanup
2021-02-26 18:27:21 +01:00
Igor Pečovnik
3a74abe43d Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
Igor Pecovnik
4713ab23b9 Internal - Add support for Hirsute build host
We need this at least for building more recent (test) targets
2021-02-22 11:56:48 +00:00
Igor Pecovnik
fdd305e52f Several backend fixes and improvemetens
Affected:

- repository old packages purging
- multiple image making
2020-12-23 18:19:30 +01:00
Igor Pečovnik
ecab2ce68b Check if file exists on remote server before running aria2 downloader (#2435) 2020-12-10 16:14:50 +01:00
Igor Pečovnik
e107f37475 Compatibility issue for Debian Buster (#2403)
If kernel is build with GCC9.2 we can't compile modules with DKMS. Reverting compiler to 8.3 until better solution emerges. No known side effects. Tested - working.
https://armbian.atlassian.net/browse/AR-557
2020-12-02 17:45:50 +01:00
lanefu
76aad7802c Use armbian mirrors for downloads (#2400)
* switch to ARBIAN_MIRROR var for downloads
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-12-01 14:43:38 +01:00
Werner
dd1a9b1daa Typo
Fixes #2380
2020-11-25 15:13:15 +01:00
Igor Pečovnik
17d6b8e3a5 Add support for Groovy. (#2355)
Remaining not supported - it just doesn't bump out error.
2020-11-16 19:10:57 +01:00
Werner
faedda3102 Mark Bionic as host EOS (#2316)
* Mark Bionic as host EOS

* Update README.md

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-11-12 07:50:35 +01:00
Igor Pecovnik
9b12d2907f Improve multicore build process by make use of overlays and uniqie temporally build directories 2020-10-21 15:31:32 +02:00
lanefu
70faacfeef tweak variable expansion for improved_git (#2262)
* tweak variable expansion for improved_git

* Update general.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-10-18 20:35:09 +02:00
Igor Pečovnik
448484f6d8 Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC (#2254)
* Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC

Tested CLI and desktop image, but needs cache creation and repository before it will be possible to build without error.

* Update Groovy compiler for chroot

* Adjust pkg dependencies for groovy

Sadly htop doesn't build
2020-10-14 22:50:11 +02:00
Igor Pečovnik
e8f961c9c7 Mitigate git server failures by retrying git commands several times. (#2251)
* Mitigate git server failures by retrying git commands several times.
* Bugfix - commit type was not working at all. Now it works
2020-10-14 08:36:21 +02:00