Commit Graph

1040 Commits

Author SHA1 Message Date
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
Igor Pečovnik
3e72d73d8a
Rework u-boot writing part (#2842)
Read directory value from the package
2021-05-19 22:32:08 +02:00
Igor Pecovnik
abbc67f0d2 Moved i3wm from Hirsute to Focal and make a link from Hirsute
- removed broken packages within
- enable 32bit - it builds it
- fixed small cosmetic issue in 1st stage of deboostrap
2021-05-16 15:10:56 +02:00
lanefu
3911384748
Merge pull request #2803 from The-going/packaging
chroot packaging: build script as separate function
2021-05-15 16:19:02 -04:00
lanefu
1bc196089a
use official GitHub repo for u-boot GitHub mirror 2021-05-15 15:56:32 -04:00
The-going
f86e3bde43
chroot packaging: build script as separate function
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-15 15:37:34 +03:00
Igor Pecovnik
84d7079c5d Bump with roofs cache and small cache recreation optimisation 2021-05-13 21:30:06 +02:00
Oleg
d886ee3b62
fix jetson-nano build deb board package (#2822) 2021-05-12 21:42:29 +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
76ef27621f
Backend improvements (#2812)
* Backend improvements

When making images, show with green color if image already exists.

* Few fixes
2021-05-09 17:00:31 +02:00
Igor Pecovnik
c7f5a1920b Bugfix - moving mpv from CLI BSP package 2021-05-07 19:50:30 +02:00
Igor Pecovnik
70b985d90a Bump with version 2021-05-06 11:51:17 +02:00
Igor Pečovnik
d3997fe64c
Cache creation improvements (#2806) 2021-05-05 20:49:25 +02:00
Igor Pecovnik
f43db66d32 Cosmetical in backend
Supress error when we rebuild rootfs cache
2021-05-03 00:08:55 +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
Jack Chen
27175e3e55
rockchip: fix emmc busy loop on Tinkerboard (#2791)
There are already emmc nodes in rk3288-tinker-s.dts, adding these nodes
to rk3288-tinker.dtsi will cause emmc busy loop on original Tinkerboard.

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-05-01 19:20:41 +02:00
lanefu
9737c2171e
Merge pull request #2759 from tparys/microzed
Adds Xilinx Bootgen tools to build environment (alongside sunxi-tools, etc ..)
Adds new SoC family Zynq (7000 series, not MP/UltraScale)
Adds new board Avnet MicroZed
2021-05-01 11:38:06 -04:00
tim
cd0301cd62 Adjusting typo 2021-04-24 13:22:20 -04: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
Igor Pečovnik
b164fcf54b
Merge neofetch to armbian-config (#2499) 2021-04-18 22:49:30 +02:00
Igor Pečovnik
780d07ea79
Renaming the BSP package to armbian-bsp (#2779)
* Renaming the BSP package to armbian-bsp

Extracted from https://github.com/armbian/build/pull/2776

* Update naming

* Create meta package for upgrade and remove deprecated mpv related config management

* Probably we want to keep our internal release version in filename
2021-04-18 22:03:53 +02:00
tim
aba3809884 Only compile Xilinx Bootgen when building Zynq based image 2021-04-17 16:07:44 -04:00
Igor Pecovnik
4a684bfb84 backend tweaks: we don't need to cycle all distributions when making u-boot package 2021-04-14 20:04:57 +02:00
Przemysław Sztoch
3f4c73727a
Better conditions for newer distribution (#2768) 2021-04-14 00:44:29 +02:00
Piotr Szczepanik
7504be2e3d
Unset SRC_EXTLINUX and SRC_CMDLINE in build-all-ng.sh (#2772)
* Unset SRC_EXTLINUX in build-all-ng.sh

* Unset SRC_CMDLINE in build-all-ng.sh
2021-04-13 23:57:00 +02:00
Oleg
e275961be4
fix extlinux.conf for u-boot dtb and add arm32 (#2766) 2021-04-13 10:16:42 +02:00
IAMLIUBO
0a92c19e7b
Add support Mint 20.1 ulyssa (#2764) 2021-04-13 10:16:14 +02:00
tim
eee718649d Add Xilinx bootgen to build environment 2021-04-10 20:23:56 -04: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
42b4396545 Bugfix: when we build BSP packages, we don't need to build all (non defined) desktop packages. 2021-04-04 16:22:58 +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 Pecovnik
f3a57d16d8 Enable AUFS on LK5.11 2021-03-28 12:19:43 +02:00
Igor Pecovnik
4d30ba5545 Bugfix for determining changes in patches
Related to https://github.com/armbian/build/pull/2704
2021-03-28 12:19:36 +02:00
Oleg
d203ffee29
fix minor station (#2735) 2021-03-24 19:10:22 +01:00
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00
Igor Pečovnik
2eb08df632
Use MAINLINE_MIRROR for creating armbian-firmware package (#2703)
We are using several alternative sources for main Linux kernel code, but not for linux-firmware which is also mirrored the exact same way. This will have major impact on users that are located in Asia and use mirrors from there.
2021-03-18 17:14:11 +01:00
Oleg
71dc41f0ba
add extlinux.conf (#2722)
* add extlinux.conf

* - make sure armbianEnv is not added - we don't need variables for NAME_KERNEL and NAME_INITRD. This is not going to change - also MAIN_CMDLINE could at least be renamed so its clear to belong to EXT configuration. Elsewhere this doesn't apply since we have boot scripts

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 16:57:45 +01:00
Igor Pecovnik
cc19adfebd Build all optimisations 2021-03-15 01:58:33 +01:00
Igor Pečovnik
f985ec811a
Update compilation.sh
Closes https://github.com/armbian/config/issues/141
2021-03-12 14:49:18 +01:00
Igor Pecovnik
a57810a413 ZSH packing bugfix 2021-03-08 07:41:52 +00:00
Igor Pecovnik
b45fe0c9ec Update meson64 legacy config and cosmetic bugfix to zsh package creation 2021-03-07 21:24:33 +01:00
Sebastian Fricke
898e25294c
lib: distributions.sh: fix typo (#2696)
s/deamon/daemon/

Signed-off-by: Sebastian Fricke <sebastian.fricke@posteo.net>
2021-03-07 20:02:50 +01:00
Igor Pečovnik
eb2060ab46
Move changing to BASH to armbian-config (#2694)
This prevents unwanted automated switching back to bash on upgrade
2021-03-07 16:06:34 +01:00
Igor Pecovnik
720b8a8259 Adjust mainline u-boot to new location to supress redirect warnings 2021-03-07 11:05:35 +01:00
Igor Pecovnik
e16b48ac18 Remove Ubuntu Groovy from package making 2021-03-06 22:04:15 +01:00
Jannis
c145303c7c
Increase number of inodes during FS creation (#2678) 2021-03-06 21:10:29 +01: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
Werner
214aab8d9a
Add debconf to dependencies (#2689) 2021-03-05 21:53:29 +01:00
Igor Pečovnik
5acb2964da
Small desktop packages rfc (#2691)
* Small packages refactoring / optimisations

* Update targets, remove non existing group
2021-03-05 21:53:12 +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 Pecovnik
7cd178f64a Bugfix - fixing wrong value extraction
Closes https://github.com/armbian/build/issues/2672
2021-03-02 10:55:22 +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
Ash
ab60a86bd9
Do not overwrite EXIT_PATCHING_ERROR if already defined (#2652) 2021-02-23 09:41:19 +01:00
Igor Pecovnik
32f018471f Revert "Internal: improve rootfs cache creation"
This reverts commit 04f8d5049d.
2021-02-22 22:35:49 +01:00
Lukas Pirl
4e25b7257b
remove mount option "nodiratime" where "noatime" is given (#2645)
mount option "noatime" implies "nodiratime", see, e.g.:
https://github.com/torvalds/linux/blob/v5.11/fs/inode.c#L1807-L1808
2021-02-22 21:49:04 +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
04f8d5049d Internal: improve rootfs cache creation 2021-02-20 00:48:44 +01:00
Pander
e7a7dd9338
proposal purging residual packages (#2644)
* proposal purging residual packages

* Bugfix

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-02-20 00:44:26 +01:00
Igor Pecovnik
28768f4878 Internal: cache recreation doesn't need terminal
This remove pointless error when running cache recreate
2021-02-18 21:03:51 +01:00
Igor Pečovnik
54bc65b3bb
Bump DEV kernels to 5.11.y (#2636)
* Bump rockchip DEV 32b to 5.11.y

* Move mvebu64 DEV to 5.11.y

* Move Rockchip64 DEV to 5.11.y

Disabling general-rkvdec_nv15.patch - need more attention

* Add Meson DEV / Odroid C1

* Move OdroidXU4 DEV to tobetter's 5.11.y branch

* Bump sunxi DEV to 5.11.y

* Bump mvebu DEV to 5.11.y
2021-02-17 01:36:25 +01:00
Igor Pečovnik
d28c170a23
RTL 8811CU: Add support for K5.11.y (#2638)
* RTL 8811cu: Add support for K5.11.y
* Update configs and remove deprecated patches
2021-02-15 16:25:19 +01:00
Igor Pečovnik
03e4f604d3
Fixing out of the tree wireless driver compilation (#2635)
* Fix compilating on 5.10.y / 5.11.y for Realtek 8188EU

* Cleanup
2021-02-15 13:19:40 +01:00
Igor Pečovnik
514d213a64
Attach wireless driver back to master branch (#2634)
Checked compilation with 5.11.y
2021-02-15 13:19:31 +01:00
Igor Pečovnik
bb1384a52e
Desktop fails to start if auto login is disabled - lightdm-gtk-greeter bug (#2609)
* Apply a fix for lightdm-gtk-greeter bug

Applied at 1st run but can probably be moved to build

* Move fix rather to BSP so fix will be applied to upgrade
2021-02-03 20:17:36 +01:00
Igor Pečovnik
bf544c21f8
Display additional info to build log 2021-01-29 21:41:35 +01:00
Igor Pecovnik
4a986a8787 Backend - move version upgrade to separate functionality 2021-01-29 21:04:46 +01:00
Igor Pecovnik
8ba67b7537 Add armbian-zsh to the REPOSITORY_INSTALL packate list
If choosen, package from repository will be used
2021-01-26 15:05:33 +01:00
Igor Pecovnik
705bbd431b Bump rootfs cache - it was recreated
- tweak buil all images
- add more info to the error
2021-01-25 13:23:39 +01:00
Igor Pecovnik
e2d5c3abfc Backend - don't compress more then one image at once
Compressing consumes a lot of memory we don't have. This tweaks should help to build much more images at once.
2021-01-24 21:30:25 +01:00
Igor Pečovnik
315ca731f0
Fix shell selection bug in Bionic version (#2573) 2021-01-22 12:54:39 +01:00
Igor Pečovnik
d95a4f7bf6
Enable AUFS back - its supported again (#2562)
* Enable AUFS back - its supported again

Tested building

* Update kernel configs for AUFS
2021-01-19 23:24:33 +01:00
Igor Pečovnik
5f350de697
Clean more Canonical services (#2563) 2021-01-19 23:23:47 +01:00
Igor Pečovnik
dedf5b3bfc
Proper BASH / ZSH changing. (#2559)
Not all variants have BASH installed on the same location. Now scripts checks where it is.
2021-01-19 14:33:21 +01:00
Igor Pecovnik
dc544f4acd ZSH - disable auto update since we provide update via package 2021-01-10 16:04:40 +01:00
Igor Pecovnik
79b790cf72 Revert "Improve apt-update process when using precached rootfs"
This reverts commit 21a4b33218.
2021-01-05 00:17:17 +01:00
Oleg
a1e96e68d8 add station legacy (#2521) 2021-01-04 11:51:43 +01:00
Igor Pecovnik
21a4b33218 Improve apt-update process when using precached rootfs 2021-01-02 13:40:05 +01:00
Igor Pecovnik
64a7867a65 Attach wireless driver to last known commit id
It breaks on 5.10.y
2020-12-31 01:40:53 +01:00
Igor Pecovnik
c7cc1825cd Update wifi related patches and (temprally) disable 8188EU since it breaks K5.10.y 2020-12-28 21:52:45 +01:00
Igor Pecovnik
cb5175ab36 Remove deprecated patch 2020-12-28 10:32:42 +01:00
Igor Pecovnik
928a8f25b9 Backend - directory created too deep 2020-12-24 11:51:53 +01: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
98642b8581
Set image compression levels to maximum (#2491)
* Set image compression levels to maximum

This feature is used mainly by us or other distributors. An internal function. Compression time and CPU usage for this process is significantly increased but the size of the daily batch was decreased from 80Gb -> 50Gb. Mitigate upload speed bottleneck.

* Small improvement for internal build process

* Typo
2020-12-22 14:41:51 +01:00
Igor Pečovnik
a4f315c72d
Add support for ZSH / TMUX / oh-my-zsh (#2478)
* Add support for ZSH / TMUX / oh-my-zsh

* Selecting default shell at 1st run

* Install ZSH by default except on minimal image

* Lets rather create armbian-zsh package

* - fix remaining ZSH problems
- add systemd timer to remove default desktop autologin feature
- change DESKTOP_AUTOLOGIN to disabled by default

* Few small improvements

* Oneliner for revering all users back to BASH if package is uninstalled

* Properly escape variables

* Fixing chmod

* More cryptic awk magic to fix permissions for all normal users that are getting zsh magic
2020-12-21 00:44:22 +01:00
jmue
2152a4eb5a
fix /etc/hosts for full qualified hostname (#2482)
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-12-20 23:28:38 +01:00
Piotr Szczepanik
08396474b2
Removed the graphical.target dependency from getty services (#2481)
Reverts the effects of #2436 which effectively disabled serial console
2020-12-19 19:25:14 +01:00
Igor Pecovnik
583c8ddf6e Revert "Revert "Fix moving 'armbian-config_*. deb' and clearing temporary folders (#2455)""
This reverts commit 7a7530849d.
2020-12-19 15:08:55 +01:00
Igor Pecovnik
7a7530849d Revert "Fix moving 'armbian-config_*. deb' and clearing temporary folders (#2455)"
This reverts commit f8cd769b46.
2020-12-16 11:00:14 +01:00
The-going
f8cd769b46
Fix moving 'armbian-config_*. deb' and clearing temporary folders (#2455)
Try to create bootloader and kernel packages several times during
one VM session and you will see in /tmp/ many temporary folders like:
 tmp.6D2bjgqMQ9
 tmp.7Uj9BtIXPy
 tmp.f3a2tmt7Cu
......
Some folders contain armbian-config packages

Temporary folders should be deleted!
2020-12-15 22:24:47 +01:00
Igor Pecovnik
11bc0ddf85 Revert "Disabling upgrade for USB network drivers for RTL8152/RTL8153"
This reverts commit 6bb68d7ff7.
2020-12-15 08:42:45 +01:00
Igor Pecovnik
7aabbb6628 Console setup which is not run on a console is skipped
Adding "--force" to conduct the operation
2020-12-11 00:30:25 +01:00
Igor Pecovnik
5b57712b38 Replace disabled errors with a warning
If any of the repository os out of sync, this breaks the compilation. Currently it doesn't do anything, now it throws out a warning.
2020-12-11 00:28:48 +01:00
Duncan Bellamy
4a689f8b89
change DEFAULT_BOOTSIZE to 256 for nand-sata-install and debootstrap.sh (#2437) 2020-12-10 21:17:13 +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
7907a502a3
The directive After=graphical.target needs to be in the [Unit] section instead of the [Service]section. (#2436) 2020-12-10 16:14:23 +01:00
Igor Pečovnik
27f7106667
Clean ubuntu motd stuff (#2406) 2020-12-10 12:03:50 +01:00
Igor Pecovnik
316941f2e5 Revert "Use current branches from Marvell Repo (#2382)"
This reverts commit 1dd5c1d1d6.
2020-12-05 21:07:11 +01:00
Igor Pecovnik
6bb68d7ff7 Disabling upgrade for USB network drivers for RTL8152/RTL8153
Reported instability https://forum.armbian.com/topic/15165-nanopi-r2s-lan0-goes-offline-with-high-traffic/?do=findComment&comment=114522
2020-12-05 17:45:02 +01:00
Igor Pecovnik
5bdf27b876 Bugfix - don't delete 50unattended-upgrades on every update
Closing https://github.com/armbian/config/issues/117
2020-12-03 13:06:42 +01:00
Igor Pecovnik
514b5f1535 Remove hardcoded user group 2020-12-03 01:37:45 +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
Igor Pecovnik
987a9d1c44 U-boot main git repository has been migrated to different location. Adjusting 2020-12-02 09:32:53 +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
heaterC
1dd5c1d1d6
Use current branches from Marvell Repo (#2382) 2020-11-30 16:56:19 +01:00
Werner
dd1a9b1daa
Typo
Fixes #2380
2020-11-25 15:13:15 +01:00
Igor Pecovnik
666ac0bc5e Buildall - tiny fix 2020-11-22 12:04:13 +01:00
Igor Pečovnik
3ddd91de71
Add several small improvements for building all images (#2365)
* Add several improvements for build all images / kernels
* More small fixes
* Adjust version
2020-11-22 08:54:41 +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