Commit Graph

950 Commits

Author SHA1 Message Date
lanefu
b1d82308db
RC upload flag (#3027)
* RC upload flag

* Update build-all-ng.sh

* Try RC Images

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-19 20:36:46 -04:00
lanefu
a46eeafa86
move pinebook tweaks (#3033)
* move pinebook tweaks

* fix dest

* Add also special keys definitions

* Clear out tech dept

* Delete prepare.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-19 08:14:34 +02:00
Igor Pečovnik
c064c11b47
Remove duplicated entries for Pinebook PRO bsp creation (#3031)
* Remove duplicated entries for Pinebook PRO bsp creation

* Link only CLI and desktop BSP package per board

* Adjust "
2021-07-18 15:41:58 +02:00
Igor Pečovnik
a7e16da2ce
Add Ubuntu Impish (#3006) 2021-07-14 08:45:30 +02: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
AndreiCherniaev
3a5cb09939
kill "EXTERNAL" (#3005)
e1526c438f (commitcomment-53297470)
2021-07-13 11:49:42 +02:00
Lane Jennison
bd40cf4c7f Merge branch 'master' of github.com:armbian/build into virtual 2021-07-11 14:03:35 -04:00
Lane Jennison
6ee2ce463a additional post image hook to assist in img conversion to qcow2 for virtual-qemu image 2021-07-11 14:03:22 -04: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
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +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
Oleg
5b0dc2d7c5
add support wifi rtl8822bs for kernel 4.4 and 5.x (#2980) 2021-07-07 16:04:27 +02:00
Igor Pečovnik
9249d3f954
Add support for desktop board support package (#2972)
* Add support for desktop board support package

Extracting from https://github.com/armbian/build/pull/2776 which can be closed after.
* Desktop BSP creation is working, but need broader testing and some quick how-to
* Create empty files as examples where we can put things.
* Fixing Pinebook desktop bsp creation
* We need to have information about ARCH in the desktop bsp package. This ain't universal.
2021-07-06 00:59:50 +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
Igor Pečovnik
ef2800c374
Adding autoremove function (#2950)
Calling apt-get autoremove right before closing image. This is handy when we need to cleanup after uninstalling some packages.
2021-07-01 18:51:16 +02:00
The-going
92b8320edd
Packaging (#2935)
* kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n

Since commit 269a535ca931 ("modpost: generate vmlinux.symvers and
reuse it for the second modpost"), with CONFIG_MODULES disabled,
"make deb-pkg" (or "make bindeb-pkg") fails with:

find: ‘Module.symvers’: No such file or directory

If CONFIG_MODULES is disabled, it doesn't really make sense to build
the linux-headers package.

Author: Masahiro Yamada <masahiroy@kernel.org>
Date:   Wed Oct 14 03:38:19 2020 +0900
Upstream commit bac977cbc0d6731fb8e67c2be0e4acbd959e10b3

Fixes: 269a535ca931 ("modpost: generate vmlinux.symvers and reuse it for the second modpost")
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

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

* mkdebian: fix: build a package for version 5.13

upstream commit 82526ef43399a7556b860538041802042b3872c1
Author: Masahiro Yamada <masahiroy@kernel.org>
Date:   Tue Apr 20 02:05:05 2021 +0900

    kbuild: deb-pkg: change the source package name to linux-upstream

    Change the source package name from 'linux-$(KERNELRELEASE)' to
    'linux-upstream'.

    Initially, I tried to use 'linux' to be aligned with the Debian
    kernel package, but Ben suggested 'linux-upstream' so that it is
    clearly distinguished from distribution packages. [1]

    The filenames will be changed as follows:

    [Before]
      linux-5.12.0-rc3+_5.12.0-rc3+-1.dsc
      linux-5.12.0-rc3+_5.12.0-rc3+.orig.tar.gz
      linux-5.12.0-rc3+_5.12.0-rc3+-1.diff.gz

    [After]
      linux-upstream_5.12.0-rc3+-1.dsc
      linux-upstream_5.12.0-rc3+.orig.tar.gz
      linux-upstream_5.12.0-rc3+-1.diff.gz

    Commit 3716001bcb7f ("deb-pkg: add source package") introduced
    KDEB_SOURCENAME. If you are unhappy with the default name, you can
    override it via KDEB_SOURCENAME.

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

* Search by template when updating initramfs

Search by pattern first, then use in the command.
If unsuccessful then exit by mistake.

Fix:
depmod: WARNING:
could not open modules.order at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
 No such file or directory
could not open modules.builtin at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
 No such file or directory
When a valid directory lib/modules/5.13.0-rc6-sunxi64
Or when the user added a localversion to the configuration file
and valid directory lib/modules/5.13.0-rt7-sunxi64

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

* Code Cleanup: kernel build: Removing EXTRAVERSION Cleanup

This was intended for the EDGE kernel and is no longer required.
Moreover, this code is not working.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-29 20:18:52 +02:00
Igor Pečovnik
fcb8b6f195
Code cleaning attempts (#2925)
* Move function run_on_sdcard to more appropriate location

* Focus on bash headers, unify, adjust (c)

* Adjust (c) to range

* Cleanup compile.sh

* Cleaning main

* Build all, main configs

* fine tunning

* Improve readme
2021-06-26 23:36:47 +02:00
Oleg
484a49a92c
fix wifi for p1 kernel 5.12 (#2921) 2021-06-25 23:33:13 +02:00
Oleg
2f2fd48345
fix wifi rtl8723ds (#2924) 2021-06-25 23:31:56 +02:00
iav
bdd1fd92df
retun lost jq to arm builder (#2926) 2021-06-25 23:31:34 +02:00
Igor Pečovnik
4ce0b07280
Fixing Wireguard repository tag (#2913) 2021-06-22 08:05:51 +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
Igor Pecovnik
cdea7ae389 Making more conservative parallel build numbers 2021-06-13 15:53:33 +02:00
Igor Pecovnik
4d51b19596 Enable building desktop images 2021-06-13 11:56:37 +02:00
Igor Pecovnik
e94cbfae47 Optimisations for image compression when building in parallel 2021-06-13 11:06:40 +02:00
Igor Pecovnik
af5c4b4b3a Fixing permissions on runner 2021-06-12 20:56:01 +02:00
Igor Pecovnik
43f65852bf Typo 2021-06-12 20:44:57 +02:00
Igor Pecovnik
d4deca4de3 Bugfix for actions 2021-06-12 19:19:15 +02:00
Igor Pecovnik
b012a8a754 Another method for signing images 2021-06-12 16:20:46 +02:00
Igor Pečovnik
a9b81a98ec
Use sudo when signing images 2021-06-12 14:34:18 +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
Igor Pecovnik
72406c4c17 backend: we need to sign images with sudo 2021-06-07 14:26:42 +02:00
The-going
57fe952c4f
Make the process of creating linux-source-*.deb pkg as a separate function. (#2872)
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-06 20:53:31 +02:00
Igor Pečovnik
83f4f85d9d
Bugfix - extrawifi is not adding in build-all scenario (#2878) 2021-06-06 14:56:06 +02:00
Igor Pecovnik
f9fef1ac85 Another small bugfix for backend 2021-06-05 09:07:47 +02:00
Igor Pečovnik
b087cfb6b3
Enable virtual ARM64 nightly builds for qemu (#2875)
* Enable Virtual qemu build targets
* Bugfix - saving build number is being overwritten before saved
* Remove stable builds, not needed
* Update kernel config, enable current instead of edge
2021-06-05 08:49:25 +02:00
Oleg
88b525117e
fix unmount (#2874) 2021-06-04 19:41:42 +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
Igor Pecovnik
541dc71692 Fixes for rootfs cache creation 2021-06-03 21:38:57 +00:00
Igor Pečovnik
bc32f1913d
Small bugfixes to buildall, remove patch that is not needed (#2869) 2021-06-02 10:55:17 +02:00
Igor Pečovnik
5909abd076
Hardening patch hashing method (#2868)
* Improve patch hashing method

When running script inside Github runner, hashing is different due to slightly different sort ...

* Also change method for creating hashes and supress error

* Sort is locale dependent ... of course ;)

* Cleanup
2021-06-01 19:47:45 +02:00
MichaIng
53ef87f159 Do not pre-install obsolete apt-transport-https
Since APT v1.6, HTTPS capabilities are part of the apt core package, hence apt-transport-https is not required anymore. This version is part of Debian since Stretch and Ubuntu since Bionic. The apt-transport-https still exists as transitional dummy package only.
- Changelog: https://salsa.debian.org/apt-team/apt/-/raw/main/debian/changelog
- Debian package: https://packages.debian.org/apt-transport-https
- Ubuntu package: https://packages.ubuntu.com/apt-transport-https

Signed-off-by: MichaIng <micha@dietpi.com>
2021-06-01 00:39:56 +02:00
iav
2d3f31643a
docker on aarch64 need same settings as on amd64 (#2852) 2021-05-27 20:40:15 +02:00
The-going
fc892b7e3f
Rework make linux headers (#2849)
* Rework make linux headers

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

* Make linux-source first and clear the memory

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-25 02:50:16 +02:00
Igor Pečovnik
3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
The-going
8f1fb2e2be
Packaging (#2844)
* New build kernel if version ge 5.12

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

* Rename packagename for kernel in the armbian style

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

* Fix depends pkg for build linux-*

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

* Fixed version search by Source field

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

* Fix postinst, prerm scripts for headers pkg

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-22 17:01:29 +02:00