Commit Graph

1040 Commits

Author SHA1 Message Date
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
Piotr Szczepanik
b8af894293
Fixed update-initramfs optimisation for ubuntu targets (#2348) 2020-11-15 15:45:22 +01:00
Igor Pecovnik
fadcab17a8 Cosmetic bugfix 2020-11-15 13:28:38 +01:00
Igor Pecovnik
cd50da9034 Bugfix: Disable multiple update-initramfs breaks upgrade
Manifests on Focal but not on Buster - comment out until better solution is found
2020-11-15 00:14:18 +01:00
Igor Pečovnik
a78eaa5aaf
Improve creating images from repository (#2340)
* Few cosmetic changes and updated configs
* Improve repository install
* Update configs
* Adjust configs
2020-11-14 19:29:39 +01:00
Igor Pecovnik
37b50f154a Bugfix related to firmware creation 2020-11-12 19:46:47 +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 Pečovnik
fc3e56bf7a
Left overs (#2330)
* Cosmetical: exchange mv with rsync

Also make build script output less chatty to console. Show SD and mount size % only.

* Leave output here

* Add delete after option
2020-11-11 19:29:50 +01:00
Igor Pečovnik
694b2313dd
Cosmetical: exchange mv with rsync (#2329)
* Cosmetical: exchange mv with rsync

Also make build script output less chatty to console. Show SD and mount size % only.

* Leave output here
2020-11-11 19:25:51 +01:00
Piotr Szczepanik
961064ed23
Fix disable/enable initramfs-tools calls and package list updates 2020-11-07 15:25:39 +01:00
Piotr Szczepanik
f9642f3882
Disable multiple update-initramfs runs while building image (#2296) 2020-11-06 10:52:53 +01:00
Piotr Szczepanik
ed428c986c
Enable multithreading for kernel packaging (#2290) 2020-11-05 22:06:36 +01:00
iav
af7aa141c3
Add xfs filesystem for root creation (#2294) 2020-11-01 08:24:08 +01:00
Werner
4532f2b1f7
Fix mixing sources due to improper moving of debs (#2293) 2020-10-31 20:00:43 +01:00
Piotr Szczepanik
298b458d33
Support building 5.8.17+ and 5.9.2+ kernels (#2292) 2020-10-30 20:28:20 +01:00
5kft
56c7a6658a
implemented more changes for supporting kernel v5.10 2020-10-28 17:43:37 -07:00
5kft
9247f0dbf3
implemented initial packaging changes to support kernel v5.10 2020-10-27 17:19:29 -07:00
Igor Pečovnik
98f1df4e79
More fixes for (not)improved_git (#2287)
* Reverting improved_git to normal in the patch creating function

* Remove two more variants of improved_git which is causing us headache
2020-10-27 20:41:53 +01:00
5kft
709a484d22
fix build repository URL determination logic to handle multiple remotes (#2284) 2020-10-27 11:49:56 -07:00
Igor Pečovnik
2793bd15d2
Reverting improved_git to normal in the patch creating function (#2286) 2020-10-27 19:20:53 +01:00
Igor Pečovnik
51566cc479
Bugfix for multicore compilation (#2280)
* Bugfix for multicore compilation

* Missing second part
2020-10-25 19:13:13 +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
Igor Pecovnik
619966891c Bugfix - don't die in case of Mirror sync in progress? 2020-10-18 21:51:05 +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 Pecovnik
56c2ee5382 Backend hash creation bugfix 2020-10-18 16:34:44 +02:00
Piotr Szczepanik
c43c4e9cbd Add SPI flash boot support to rockchip64/rk3399 2020-10-17 23:38:05 +02:00
Igor Pečovnik
1275f118e2
Change desktop cache name, add support for automated cached creation / switching (#2257) 2020-10-16 15:25:15 +02:00
Igor Pečovnik
6cad8a346b
Add menu for building images from repository (#2256) 2020-10-15 21:55:56 +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 Pecovnik
43896d5891 Bugfix for backend operations 2020-10-14 14:53:35 +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
iav
599dd2a8cb
Don't delete /boot/armbianEnv.txt file at least for meson64 (#2252)
* Don't delete /boot/armbianEnv.txt file at least for meson64
fix for #2249 ODroid-N2 armbian-config-->hardware menu not work

* Update meson.txt

* Update boot-odroid-n2.ini

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-10-13 20:34:45 +02:00
Igor Pecovnik
0443bb082d Bugfix - create hash-beta directory when initializing directories 2020-10-12 20:32:54 +02:00
Igor Pecovnik
fe357e40e2 Backend - improve u-boot multibuild install 2020-10-05 00:11:50 +02:00
Igor Pecovnik
668e764357 Backend - split upstream changes to beta and stable 2020-10-04 16:55:11 +02:00
Igor Pecovnik
01d45bea21 Add another apt update
In case board or family packages are defined having and old index can make troubles / error
2020-09-23 21:50:19 +02:00
lanefu
b2800dbd25
WIP: Pinebookpro tweaks (#2208)
Pinebook-Pro Support:
suspend to idle via key and lid close
brightness keys
volume control keys
wifi, bluetooth frimware
touchpad tweaks
keyboard config
armbian-hardware-optimization
bootsplash
Co-authored-by: Britt Dodd <britt@reactornet.net>
2020-09-22 21:03:45 -04:00
Igor Pecovnik
ebd9524041 Internals - build all / improve hash checking 2020-09-23 00:26:50 +02:00
Igor Pecovnik
9282a2c458 Change release order when building in interactive mode. Most recommended first.
1. Focal
2. Buster
.
.
2020-09-22 19:11:59 +02:00
Igor Pecovnik
c4e037e4b1 Amlogic FIP Switching from mirror to main storage
This will not show warnings anymore. Should be a cosmetical issue only
2020-09-22 19:07:09 +02:00
iav
04292b06c8
replace apt with apt-get (#2214)
* replace apt with apt-get
APT is not meant to be used in scripts: https://manpages.debian.org/stretch/apt/apt.8.en.html#SCRIPT_USAGE_AND_DIFFERENCES_FROM_OTHER_APT_TOOLS

* Add apt-get to desktop too

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-09-22 19:04:10 +02:00
Igor Pecovnik
5bcd9c6ead Disable bootsplash support for kernel lower then 5.8.10 2020-09-21 19:59:59 +02:00
Igor Pečovnik
33d9a4cfc2
Rollback Linus changes related to software scrollback support which prevented bootsplash logo to show up (#2219)
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/video/fbdev/core?h=v5.8.10&id=20782abbbdfe922496a28f9cc0c3c0030f7dfb8f
2020-09-21 19:02:26 +02:00
lanefu
7b6920a25f
5.8.10 fixes (#2217)
* Update 0001-bootsplash.patch

dummyblit.c from patch/misc-001 will not compile with 5.8.10--

Change dummy_cursor  declaration in dummyblit.c in misc-001 to match changes in fbcon.h  see
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/video/fbdev/core/fbcon.h?h=v5.8.10&id=ffa74c8e58b8f42b2d95b29443befba2e28fb260

* Import bootsplash fix for kernel 5.8.10 from #2210 20a5631580

* simplifying assumption to kernel 5.8... will need ot make sure we patch up to 5.8.10

* corrected 5.8 bootsplash workaround

Co-authored-by: belfastraven <marti.packer@gmail.com>
2020-09-18 12:29:22 -04:00
lanefu
c3e9c7712b
5.8.10 fixes (#2212)
* Update 0001-bootsplash.patch

dummyblit.c from patch/misc-001 will not compile with 5.8.10--

Change dummy_cursor  declaration in dummyblit.c in misc-001 to match changes in fbcon.h  see
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/video/fbdev/core/fbcon.h?h=v5.8.10&id=ffa74c8e58b8f42b2d95b29443befba2e28fb260

* Import bootsplash fix for kernel 5.8.10 from #2210 20a5631580

* simplifying assumption to kernel 5.8... will need ot make sure we patch up to 5.8.10

Co-authored-by: belfastraven <marti.packer@gmail.com>
2020-09-17 23:55:01 -04:00
lanefu
6246bcfdbb
5.8.10 fixes (#2211)
* Update 0001-bootsplash.patch

dummyblit.c from patch/misc-001 will not compile with 5.8.10--

Change dummy_cursor  declaration in dummyblit.c in misc-001 to match changes in fbcon.h  see
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/video/fbdev/core/fbcon.h?h=v5.8.10&id=ffa74c8e58b8f42b2d95b29443befba2e28fb260

* Import bootsplash fix for kernel 5.8.10 from #2210 20a5631580

Co-authored-by: belfastraven <marti.packer@gmail.com>
2020-09-17 21:08:27 -04:00
Igor Pečovnik
91a21e9245
Fix initial configuration for Firefox (#2206) 2020-09-14 13:35:57 +02:00
Florian Vallee
49fb6550dd
Fix a bunch of small cryptroot image builds issues (#2195)
* Dockerfile update

Add package to fill-in missing ssh-keygen dependency

(required by lib/distributions.sh when CRYPTROOT_ENABLE is true)

* lib/chroot-buildpackages.sh: Fix mistakes with shellcheck linting

This breaks the apt command line, resulting in the following error:

> E: Invalid operation

* lib/configuration.sh: cryptroot >= 2.1 uses memory intensive key derivation

fix that by reverting to the < 2.1 default algorithm (pbkdf2)
2020-09-09 15:15:52 +02:00
Igor Pecovnik
e395961f77 Cosmetic bugfix + motd updating script
Motd updating script should be moved under proper service later on
2020-09-08 23:07:37 +02:00
Igor Pečovnik
eacb9df728
Update os-version and motd also on update (#2196) 2020-09-08 19:41:22 +02:00
Igor Pecovnik
f41e3b5a2a Typo backend related bugfix - single quote was placed at the wrong location 2020-09-06 23:44:31 +02:00
Igor Pecovnik
2b1d1dde28 Internals - properly calculated hash for kernel patches 2020-09-06 14:42:21 +02:00
5kft
49da9f087a
adapted kali-wifi-injection patches for kernel v5.9 2020-09-04 07:29:23 -07:00
Igor Pecovnik
704277e136 Internal - supressing errors when directory for hasing is not present 2020-08-31 17:36:30 +02:00
Igor Pecovnik
5a6af1e761 Internal functions fixing
- improve HASH creation
- checking if BUMP_VERSION is set to YES
2020-08-31 17:27:23 +02:00
Igor Pecovnik
3676dfaeb5 Adding new internally used variable BUMP_VERSION 2020-08-31 17:03:56 +02:00
iav
ad3f403246
set Btrfs compression creation time only (#2169)
* set default btrfs compression at image creation to zlib according to
https://github.com/armbian/build/pull/2163#issuecomment-683444245

* never set compression in /etc/fstab for btrfs root

* adjust comment
2020-08-31 16:31:15 +02:00
Igor Pecovnik
94963e694f Bump rootfs version due to a bug in previous torrent recreation 2020-08-30 22:18:35 +02:00
Igor Pecovnik
dc8300a638 A pack of minor fixes:
- remove Debian stretch from image creations.
- if LOCAL_MIRROR is defined use just that, not armbian upstream packages
- move aptly web server from 8080 to 80
- adjust welcome motd
- remove Ubuntu Eoan from distribution selection menu
2020-08-30 16:13:38 +02:00
5kft
275dca2040
ensure that external wireless driver Kconfigs are compatible with upcoming kernel kconfig keyword change
(see f70f74d15c)
2020-08-29 12:44:14 -07:00
Igor Pecovnik
4d4d796d39 Bump rootfs cache 2020-08-28 21:35:41 +02:00
Piotr Szczepanik
6c8b9d9371
Unset MODULES and MODULES_BLACKLIST vars before next build in BUILD_ALL (#2162)
* Unset also MODULES and MODULES_BLACKLIST vars before next build

* Document MODULES and MODULES_BLACKLIST
2020-08-28 18:45:25 +02:00
iav
0db07f6137
respect BTRFS_COMPRESSION parameter (#2163) 2020-08-28 18:44:37 +02:00
Igor Pečovnik
a4dfc35ddb
Bump rootfs 2020-08-28 01:20:43 +02:00
Igor Pečovnik
82cf5d3b16
Fixing toolchains (#2160)
* Fixing toolchains

* Tested toolchain download
2020-08-25 22:42:06 +02:00
Igor Pecovnik
2c3a15f2d9 Infrastructure bugfix. Moving toolchain to a new folder seems to be the treat.
ToDo: fix this for older branches.
2020-08-25 19:08:24 +02:00
Igor Pecovnik
2b0b13cced Forcing toolchain download via HTTP and change location of torrent files. 2020-08-24 20:23:59 +02:00
Igor Pečovnik
1e8a9b0ea0
Rebuild rootfs cache 2020-08-23 20:52:19 +02:00
Igor Pecovnik
c4c5c342b3 Tiny Shellcheck bugfix 2020-08-20 06:49:24 +02:00
Igor Pecovnik
3a5b572c0f Improve multithreaded building, few changes for BUILD_ALL and removing debug code from MOTD 2020-08-18 22:31:07 +02:00
Igor Pecovnik
501e033b70 Cosmetic. Suppress error when creating a hashes 2020-08-15 17:31:22 +02:00
5kft
359766b108 add RTL8192EU Wi-Fi adapter to the build 2020-08-12 14:48:26 -07:00
Igor Pečovnik
939241f484
Bugfix for build all 2020-08-10 12:28:25 +02:00
5kft
f526027b43
moved aircrack-ng/rtl8812au driver back to branch head (v5.6.4.2)
previous compilation issue was fixed with this change: b03bd4bc8d
2020-08-08 15:31:52 -07:00
Piotr Szczepanik
ac95cf5681
Fixed running compile_uboot directly - broken since bce24a2 (#2139) 2020-08-08 22:52:48 +02:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-08-08 17:20:00 +02:00
Igor Pečovnik
0c46b4c1d2
Add support for packages remove per board or family (#2128) 2020-08-04 16:16:02 +02:00
Igor Pecovnik
6d3cd058a0 Bump rootfs version 2020-08-04 15:16:39 +02:00
Igor Pecovnik
7cb7de30be Revert "Workaround for Snap-less Chromium on Focal by downloading it from Debian (#1982)"
This reverts commit faac552921.
2020-08-04 15:16:09 +02:00
Igor Pecovnik
74483bc629 Improve / fix building images directly from repository 2020-08-03 20:25:34 +02:00
Igor Pecovnik
279c08889c Bugfix: re-disable acceleration on Bionic since mesa drivers are too old 2020-08-03 05:46:46 +02:00
Igor Pecovnik
7a59407557 Revert rootfs changes. Need more testings. 2020-08-02 08:56:52 +02:00
Igor Pecovnik
ad34b54d08 First login fine tunning 2020-08-02 00:53:15 +02:00
Igor Pecovnik
c909864922 Improve first login
Automate setting up console keyboard based on a user country code.
2020-08-01 09:23:30 +02:00
Igor Pecovnik
7427b0b0c4 Remove resolvconf hard dependency on armbian-config
https://github.com/armbian/config/issues/98
2020-07-31 19:14:34 +02:00
Igor Pečovnik
9123037db2
bugfix 2020-07-29 20:05:36 +02:00
Igor Pečovnik
1f88f0d573
Move selinux-policy-default to per release (#2113)
Its missing in Bullseye which breaks rootfs cache creation
2020-07-24 12:48:20 +02:00
Igor Pecovnik
429668c9ba Espressobin. Yet another cleanup - remove deprecated patches
Tested booting. @lanefu
2020-07-20 14:34:12 +02:00
Igor Pečovnik
a2d756dace
Add support for two dedicated package lists for BOARD and FAMILY (#2097)
* Add support for two dedicated package lists for BOARD and FAMILY

- PACKAGE_LIST_BOARD
- PACKAGE_LIST_FAMILY

* Add some info about recently added features to the README.md
2020-07-17 18:29:24 +02:00
Igor Pečovnik
6ce3396d2b
Root auto login at first boot, determine TZ and locales from geo location (#2081)
* enable root auto login on first boot, automatically determine timezone from geolocation
* Improve tzdata and locales detection
* Add timeouts for Curl and support for selecting more locales per location.
* Disable NetworkManager-wait-online.service
https://askubuntu.com/questions/1018576/what-does-networkmanager-wait-online-service-do
* Improve overall UX when creating new username and changing root password
- check password quality and reject if not good enough. Not very heavy.
- shorter way of adding new username
* Resolve killing inactive consoles, remove FAQ silently since we open more consoles
2020-07-17 10:38:27 +02:00
Igor Pečovnik
75382d816b
Remove deprecated and add most recent GCC compilers (#2092)
* Add most recent GCC compilers
* Remove obsolete compilers
* Adjust compiler for RockpiS Uboot
* Remove deprecated compiler definitions
* Resolve small bug and building Espressobin
* Small cleanup
2020-07-17 10:34:46 +02:00
Igor Pečovnik
97333825be
Reverting bce24a2e8d with a condition. (#2091)
@the-going
2020-07-14 13:10:44 +02:00
Sergey Shepelev
caee700612
backport Linux v5.8 fbtft/fb_st7789v invert colors, proper gamma (#2089)
f03c9b7884
2020-07-12 22:40:17 -04:00
Igor Pečovnik
ce9cb071bf
Disable improved RTL8152 driver for Odroid XU4
Apparently not fully compatible - need deeper research.
2020-07-12 13:22:23 +02:00
Igor Pečovnik
1c76861d19
Bugfix / hack for 3rd party drivers compilation
Compilation is breaking with 
cc1: error: unrecognized -mtune target: native 
... for few hours due to upstream code fixing. Once wireless driver code is stabilized we move back to branch. @kimocoder
2020-07-12 13:15:08 +02:00
Igor Pecovnik
4947af7bf7 Added few support packages to the base
They are needed to test / deploy https://github.com/armbian/build/pull/2081
2020-07-08 16:52:14 +02:00
Igor Pečovnik
56f7fa2b9e
Improve patch making (#2070)
* Improve patch making
* Better default patch name
* Remove the patch file in the sources since we only need to extract the name
2020-07-08 09:28:55 +02:00
Werner
d13f84fd0c
Make WiFi injection and USB network drivers require EXTRAWIFI (#2078) 2020-07-03 15:20:32 +02:00
Igor Pecovnik
3f99860009 Bugfix: disabling improved network driver for RK322x family because it breks compilation
@paolosabatino When this is bumped to 5.7.y it will probably work, so revert this change if you will doing this.
2020-07-01 21:48:41 +02:00
Igor Pečovnik
f6abcc7c85
Add most recent drivers for Realtek RTL8152/RTL8153 that supports 2.5G adapters (#2071) 2020-06-29 19:16:10 +02:00
Igor Pecovnik
9020803f1d Update kernel configs due to logo support, adjust patches
Now always create logo, but enable only on request, where defined (Pinebook, Teres, ...)
2020-06-28 17:13:32 +02:00
Igor Pecovnik
92dca11e1d Move mvebu 64 to 5.7.y, add few kernels to build target, improve git changes checking 2020-06-28 12:15:23 +02:00
Igor Pecovnik
7bfc49b22c Fix rootfs torrent downloadinging. 2020-06-27 19:27:53 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Igor Pečovnik
8ea083ae36
Rebuild rootfs cache 2020-06-26 08:56:46 +02:00
Igor Pečovnik
6ff4813b60
Reverint Shelcheck on this file ... not able to find all errors in a decent time. (#2067) 2020-06-25 20:19:37 +02:00
Igor Pečovnik
204e1ccd7a
Add missing variable (#2066) 2020-06-25 17:58:18 +02:00
Manuel Rüger
37ee587662
main.sh: Switch kernel target order (#2063)
First option is selected in the UI, so have the recommended one there
2020-06-25 11:39:34 +02:00
Igor Pečovnik
2e764387ee
Rebuild rootfs cache 2020-06-25 11:09:02 +02:00
Piotr Szczepanik
d87b155a94
Added rtl8723du support for ROCK Pi E (#2060) 2020-06-25 11:07:40 +02:00
Manuel Rüger
4555a7aed5
Shellcheck fix4 (#2061)
* compilation.sh: Lint with shellcheck

* configuration.sh: Lint with shellcheck

* debootstrap.sh: Lint via shellcheck

* Update configuration.sh

* Update compilation.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-06-25 11:07:24 +02:00
Igor Pečovnik
cc3b7d1b0e
Resolve one Shellcheck bug and add latest Linux mint as supported (#2062) 2020-06-25 08:54:12 +02:00
Igor Pecovnik
57aed22fc8
More shellcheck fixes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-24 17:22:04 +02:00
Igor Pečovnik
8b350f386f
Mini bugfixes related to shellcheck and changes to beta building (#2057)
https://github.com/armbian/build/pull/2054
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-24 13:16:25 +02:00
Igor Pecovnik
ce5d51c2de
Another small shellcheck issue
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-24 07:39:00 +02:00
lanefu
463e9b72fc
fix default var parsing quirk with ntp
having var in double quotes evaluates space default differently..


```
lane@billroyall:~/GIT/build$ ntpdate -s "${NTP_SERVER:- pool.ntp.org}"
Error resolving  pool.ntp.org: No address associated with hostname (-5)
lane@billroyall:~/GIT/build$ ntpdate -s "${NTP_SERVER:-pool.ntp.org}"
```
2020-06-23 21:52:53 -04:00
Manuel Rüger
68b6d2ead0
Shellcheck fixes 3 (#2054)
* lib/general.sh: Lint via shellcheck

* lib/compilation-prepare.sh: Lint via shellcheck
2020-06-23 20:15:20 -04:00
Manuel Rüger
752f4ddc7e
lib/build-all-ng.sh: Fix mistakes with shellcheck linting (#2052)
* lib/build-all-ng.sh: Fix mistakes with shellcheck linting

* Update build-all-ng.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-06-23 20:04:30 +02:00
Manuel Rüger
b3c75bdfb8
Shellcheck fixes2 (#2049)
* distributions.sh: Lint via shellcheck

* chroot-buildpackages.sh: Lint via shellcheck

* build-all-ng.sh: Lint via shellcheck
2020-06-23 10:15:13 -04:00
Werner
5f6a959cd6
Replace gpgv1 (#2047)
Not haven the common gpg package leads into verification error (https://forum.armbian.com/topic/14455-error-verifying-gcc-linaro-2013/) but is also marked as deprecated (https://packages.ubuntu.com/focal/gpgv1)
2020-06-21 17:34:19 +02:00
Igor Pečovnik
6d40284374
Rebuild cache
https://github.com/armbian/build/pull/2044
2020-06-21 12:33:10 +02:00
The-going
c29fff8590
Revert "Fix file encoding of the locale generator (#2000)" (#2044)
This (bugfix) is needed on Debian to suppress
multiple locales warnings ... Buster is affected

This reverts commit 069afc183a.
2020-06-20 21:23:57 +02:00
Igor Pecovnik
355a306301
[Backend] Few improvements to the build-all
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-20 20:49:03 +02:00
Igor Pecovnik
b9730fe0e2
Small fixes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-19 17:32:43 +02:00
Paolo
23604e8a0d
Introducing Rockchip RK322X SoC support (#2032)
* Introducing Rockchip rk322x SoC support

Main features:

- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation

* Removed disabled patches
* Restored mysteriously removed comment character
2020-06-19 17:27:27 +02:00
Igor Pecovnik
4762ec2302
Add some delay to not kill build server
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 21:42:55 +02:00
Martin Cross
108e86f02d
Check the return code from 'make menuconfig' and abort compilation with a suitable message. (#2037) 2020-06-18 21:40:21 +02:00
Igor Pečovnik
213a5a6855
Enabling IGNORE_UPDATES back (#2036) 2020-06-18 20:21:00 +02:00
Igor Pecovnik
7b2dd51f86
Repository management fixes
Let's leave DEV kernels as is

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 17:39:09 +02:00
Igor Pecovnik
273fb7dea4
Automation related bugfix
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 17:26:15 +02:00
Manuel Rüger
9fa6069f9f
Shellcheck fixes (#2034)
* compile.sh: Apply shellcheck linting

* main.sh: Apply shellcheck linting

* fel-load.sh: Apply shellcheck linting
2020-06-18 10:06:21 -04:00
Igor Pecovnik
dc478af1cb
Bugfix when making all kernels, also enable building of sunxi-legacy
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 15:49:27 +02:00
Igor Pečovnik
bfacc6cd89
Install SELinux related userland packages (#2014)
* Install SELinux related userland packages

But leave it disabled by default. Todo: add toggle to armbian-config
2020-06-17 19:43:04 +02:00
Igor Pecovnik
d9770e2a86
[CI actions] Also watch kernel changes in kernel configuration 2020-06-17 13:36:48 +00:00
Igor Pečovnik
fda0e22951
Improve all kernel building (#2017)
* Improve all kernel building

Store hashes and rebuild only changed kernels. TBD: support for patch directory not fully implemented yet

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add support for patch directory checking

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update lib/build-all-ng.sh

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

* Update lib/build-all-ng.sh

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

* Update lib/compilation.sh

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

* Update lib/compilation.sh

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

* Update build-all-ng.sh

* Disable u-boot hashing for now

* remove banana r2

breaks compilation ... no time for inspection ATM

* typo

* Change s5p6818 to COMMIT instead of TAG

TAG points to a different HASH and its not posible to resolve hash without cloning. This can be addressed later, but now commit HASH will do.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

* Bumping to new version

* Bump

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* few changes

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Test

* Bumping to new version

* Bumping to new version

BOARD
Cubox i2eX/i4

* Bumping to new version

imx6 current
meson-gxl current

* Bumping to new version

linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb

* Bumping to new version

Adding following kernels:\n

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_20.08.5-trunk_arm64.deb
linux-image-current-sunxi_20.08.5-trunk_armhf.deb
linux-image-legacy-meson_20.08.5-trunk_armhf.deb
linux-image-legacy-s5p6818_20.08.5-trunk_arm64.deb

* fix versioning

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_20.08.1_arm64.deb

* Put version back

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_20.08.0-trunk_armhf.deb
linux-image-current-meson64_20.08.0-trunk_arm64.deb
linux-image-current-mvebu_20.08.0-trunk_armhf.deb
linux-image-current-mvebu64_20.08.0-trunk_arm64.deb
linux-image-current-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-current-rockchip_20.08.0-trunk_armhf.deb
linux-image-current-rockchip64_20.08.0-trunk_arm64.deb
linux-image-current-sunxi_20.08.0-trunk_armhf.deb
linux-image-dev-mvebu_20.08.0-trunk_armhf.deb
linux-image-dev-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-meson_20.08.0-trunk_armhf.deb
linux-image-legacy-meson64_20.08.0-trunk_arm64.deb
linux-image-legacy-mvebu_20.08.0-trunk_armhf.deb
linux-image-legacy-mvebu64_20.08.0-trunk_arm64.deb
linux-image-legacy-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-legacy-rk3399_20.08.0-trunk_arm64.deb
linux-image-legacy-rockchip_20.08.0-trunk_armhf.deb
linux-image-legacy-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-rockpis_20.08.0-trunk_arm64.deb
linux-image-legacy-s5p6818_20.08.0-trunk_arm64.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-dev-rockchip_20.08.0-trunk.2_armhf.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Report error code, adjust version

* Adjust ver

* Add another switch

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: root <root@workstation>
2020-06-17 11:38:17 +02:00
Igor Pečovnik
ca67855553
Add GPT partition table support (#2015)
* Add GPT parition table support               Leave unchanged / mbr by default since GPT doesn't works everywhere.

* Accept ROOTFS_PARTITION_TABLE as a parameter

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Change variable name

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update README.md
2020-06-14 23:03:58 +02:00
The-going
dcc6e791da
Offlinework (#2019)
* Delete FORCE_CHECKOUT, IGNORE_UPDATES variables

There are currently two questionable variables.
They are the keys in the structures:
'if [[ $FORCE_CHECKOUT == yes ]]; then' in the function 'fetch_from_repo()'
which is set by default by the script 'main.sh'
'[[ -z $FORCE_CHECKOUT ]] && FORCE_CHECKOUT=yes'

Next in the script 'main.sh'

if [[ $IGNORE_UPDATES != yes ]]; then
    display_alert "Downloading sources" "" "info"
    fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"

This key has aged. It can't work properly today.
We should always clear the sources before starting the build.
For this reason, these two keys in these places do not make any sense.
You can just delete them.

* Working offline for sources

This is useful when building recursively for multiple platforms,
when some resource on the Internet is frozen.
To do this, I entered a new variable 'OFFLINE_WORK'

* New ability to work in offline mode

* Skip check prepare host
* Add unset OFFLINE_WORK in lib/build-all-ng.sh

Sources, time and host will not be checked
Now you can collect packages without accessing the Internet
2020-06-14 22:58:02 +02:00
The-going
069afc183a
Fix file encoding of the locale generator (#2000)
This is a minimal fix for the correct display
of characters in the applications, especially the console.

For example, if the locale-gen command is only for one locale
locale-gen ru_RU.UTF-8
Then the console application MC instead of a line in the frame outputs:

@
@@@@@@@@@@@@@@@@@@
@   README.md
@@@@@@@@@@@@@@@@@@
@
@

Setting variables to LC_ALL=C LANG=C is not necessary in this construction.
The line with the editor is not needed.
The 'locale-gen en_US.UTF-8 xx_XX.UTF-8' command
will fix this file itself.
2020-06-10 18:38:10 +02:00
The-going
bce24a2e8d
delete Checking out sources from compile_uboot() (#1999)
At this point the repository is already clean,
and the next line is not needed.

Fix issues #1952
2020-06-10 12:37:20 -04:00
The-going
dc95a3f9a3
Fixed checking the target git sources (#1998)
* Exit if you can't create a directory
  Otherwise the entire folder structure will crash

* git rev-parse --git-dir will always return ".git" line
  if we are in the git repository folder.

When there is a symbolic link in the path, some functions
will not return what is expected. This condition is always true.
$(git rev-parse --show-toplevel) != $(pwd)

This commit fixes this threat
2020-06-10 18:15:08 +02:00
Werner
72e9782493
Revert "Implement a possible workaround for initird corruption (#2004)" (#2005)
This reverts commit a1a20f4572.
2020-06-03 23:30:43 +02:00
Igor Pecovnik
436a5681b5
Proper fix for ramdisk corruption seen on Focal / Bullseye
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-03 08:45:30 +02:00
Igor Pečovnik
a1a20f4572
Implement a possible workaround for initird corruption (#2004)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-02 16:40:41 +02:00
Igor Pecovnik
256d08fe11
Bugfix: fdisk package is absent in older versions
Redistribute accordingly https://github.com/armbian/build/pull/1992 and bump with fscache version.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-29 09:36:48 +02:00
Igor Pečovnik
0832201958
Rework of image signing. (#1995)
* Rework of image signing. We compress the image first, then signing and shaing that.

Based on @belfastraven work https://github.com/belfastraven/build/blob/pre-new-doc/lib/debootstrap.sh

* Uncompressed images can be removed

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-28 15:52:44 +02:00
zciendor
a0d6f21ac7
various minor fixes (#1993)
* fix permisson denied error happening in line 79

`mktemp` creates files with `-rw-------` (on Ubuntu bionic at least), which causes `line 79` to throw a permission denied error if the file isn't world readable.

* fixes umount error caused by single quotes

* force metadata duplication for btrfs root

Without this change metadata duplication is automatically turned off for `mkfs.btrfs` when the **build system** has a SSD drive.
However, since Armbian image is most likely flashed to a SD card afterwards, the drive type of the build host system should not be the deciding factor.
Metadata duplication is a good idea (better reliability) to have on a SD card.

From `man mkfs.btrfs`:
```
-m|--metadata <profile>
           Specify the profile for the metadata block groups. Valid values are raid0, raid1, raid5, raid6, raid10, single or dup, (case does not matter).

           A single device filesystem will default to DUP, unless a SSD is detected. Then it will default to single.
```
2020-05-28 10:52:54 +02:00
zciendor
a5815c6350
bullseye: armbian-resize-filesystem fails on first run due to missing fdisk (#1992)
* armbian-resize-filesystem fails on first run due to missing fdisk

The `fdisk` package is missing in the `minimal` image, in bullseye at leat. Maybe other, future minimal images as well.
This will cause the `armbian-resize-filesystem` script to fail on first boot, which contains several
`fdisk` references. This could be fixed in the `bullseye` specific section, but since fdisk is so
essential for Armbian, it's probably best to list it in the general, mandatory packages to make sure it's available in every image in any case.
2020-05-28 10:50:56 +02:00
zciendor
f63d07e7ec
make sure cryptsetup-initramfs is installed in any case (#1991)
* fix for https://github.com/armbian/build/issues/1584

Since Debian buster the final `update-initramfs` call must be made
on the finished image where the final root device is mounted, else
`cryptsetup-initramfs` hooks fail to detect the root device.

* Merge remote-tracking branch 'upstream/master'

* make sure cryptsetup-initramfs is installed in any case if CRYPTROOT_SSH_UNLOCK is configured

Before Debian **bullseye**, `cryptsetup-initramfs` was a hard dependency of the `cryptsetup` package. Not anymore.
Therefore we need to install `cryptsetup-initramfs` explicitly, else CRYPTROOT_SSH_UNLOCK won't work.
2020-05-28 10:48:32 +02:00
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
xwiggen
93b690c22f
Require fping for armbianmonitor -u (#1986) 2020-05-24 15:58:43 +02:00
Igor Pečovnik
faac552921
Workaround for Snap-less Chromium on Focal by downloading it from Debian (#1982)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-22 00:26:27 +02:00
Igor Pecovnik
53e4bc2d38
Armbian firmware recreation and image upload bugfix
Cleaning was improper in case of retries

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-19 17:43:48 +02:00
Igor Pecovnik
58eb77aab2
Cache rebuild due to upstream Debian repository changes
https://github.com/armbian/build/pull/1967
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-17 23:35:51 +02:00
Igor Pečovnik
a0f9d7af80
Move imx6 current to 5.6.y (#1903)
* Move imx6 current to 5.6.y
* Config update
2020-05-17 18:35:21 +02:00
Igor Pečovnik
9130021688
Implement temporally fix for Chrony (#1968) 2020-05-16 10:28:57 +02:00
tweenietomatoes
b73e9e0779
New debian mirror link (#1967) 2020-05-16 10:00:46 +02:00
Igor Pečovnik
f054caca02
Switching Odroid C1 boot partition to FAT (#1964)
* Switching Odroid C1 boot partition to FAT

U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add notes for separate boot partitions

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Typo

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bugfix: use zImage for converting to uImage since on FAT partitions we use move

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Cleanup C1 boot scripts

We have no plans to ever support legacy kernel again. Removing related things

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.

* Remove unneded patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 21:50:26 +02:00
Igor Pecovnik
7f5927d91f
Bugfix: attaching wireless driver to last known working commit it
drivers/net/wireless/rtl8811cu/include/../os_dep/linux/ioctl_cfg80211.h:372:94: error: missing binary operator before token '(' https://github.com/brektrou/rtl8821CU/pull/55

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-14 09:44:22 +02:00
Igor Pečovnik
76b79a2f51
Fixing desktop install on Ubuntu Focal / Eean (#1963)
* Fixing desktop install on Ubuntu Focal / Eean

Changed dependencies for Network manager automatically install Gnome3 desktop unless certain packages are installed first. Fixing with pre-depends package feature. Tested on arm64, desktop install on top of CLI image

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-12 20:27:51 +02:00
Igor Pečovnik
26d377cd2a
Adding new feature REPOSITORY_INSTALL (#1933)
* Rework packages install that they can be installed from repository instead of local compile. Handy for making releases.
* Don't build ATF if you don't build u-boot
2020-05-10 14:36:22 +02:00
Igor Pecovnik
e57aaf6556 Internal switch - make the same nightly images as for stable one. For making RC targets. 2020-05-10 12:21:21 +02:00
Igor Pečovnik
13e3df0cc9
Bump with cache version
There has been some minor changes in the packages within minimal images. We need to rebuild the cache otherwise it run deboostrap.
2020-05-08 22:25:20 +02:00
Igor Pecovnik
f4096d392c Disable Realtek 8723DS for older kernels. It breaks on 4.4.y 2020-05-07 11:10:14 +02:00
Igor Pecovnik
25eff65004 Add variables to build-all 2020-05-06 21:50:48 +02:00
Piotr Szczepanik
3cbe24ba11 Added python3-distutils to host deps - needed by mainline u-boot for rk3328 2020-05-06 18:05:20 +02:00
Igor Pečovnik
3c61732ce6
Attach XU4 DEV to Chewit DEV branch (#1944) 2020-05-05 19:04:23 +02:00
Igor Pecovnik
bbaddc8aaa
Bugfix: moving iozone3 package to the minimal base
Solves https://forum.armbian.com/topic/13920-bananapi-pro-buster-minimal-image-partly-broken

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-03 19:02:53 +02:00
Igor Pecovnik
fb4da478e3
Enable RTL8723DS for all kernels
Driver troubles were fixed upstream and now it builds everywhere

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-03 11:35:37 +02:00
Werner
1a5b1b6e9d
RTL8723DS switch to upstream (#1938)
* 8723DS: Go back upstream

and remove 5.6 patch

* Delete wireless-rtl8723ds.patch

No longer needed.
2020-05-03 09:29:26 +02:00
Igor Pečovnik
9390ea27b4
Enable AUFS on DEV kernels (#1937) 2020-05-03 01:15:16 +02:00
Igor Pecovnik
b85d698da8
Fix wrong repository URL in /etc/armbian-release
Closes https://github.com/armbian/build/issues/1878

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-30 21:43:21 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
Werner
bface71887
Remove Xenial from supported host OS (#1918)
* Remove Xenial from supported host OS

... and adjust comments.

I'd suggest add `tricia` as codename for Linux Mint based on Bionic somewhere but not sure where to put it.

* Add Debian Buster and Linux Mint

compatible build hosts

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-27 12:21:50 +02:00
Werner
f78591db5b
Fixes building on Linux Mint Tricia (Bionic based) (#1914)
* Replace apt with apt-get unless in chroot
* Improve support for Buster and Mint Debbie

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-25 21:25:05 +02:00
Igor Pecovnik
887ef462fc
Declare Ubuntu Focal as supported rootfs
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-23 23:46:06 +02:00
Igor Pecovnik
d1f35ba227
Rootfs cache recreation
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-23 22:53:30 +02:00
Przemysław Sztoch
d07647e5ce
Better logging for external userpatches path and generate a lot of empty folders only once (#1897)
* Better logging for external userpatches path.
* Genrate a lot of empty folders only once
* Better handling for COMPRESS_OUTPUTIMAGE
2020-04-20 08:39:29 +02:00
Igor Pečovnik
cc98ba3c0d
Disable MESA on bionic (#1895)
Also enable xfce4 power manager on some boards

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 21:29:06 +02:00
Igor Pečovnik
1121f52162
Refreshing rootfs cache 2020-04-17 09:16:51 +02:00
Hugo
88f2596744
USB FEL working inside docker (#1892) 2020-04-16 18:26:45 +02:00
Igor Pecovnik
207548cb8f
Improve RAW image compressing routines
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-12 22:28:37 +02:00
Igor Pecovnik
34d3529d16
Bugfix: add missing dependency to armbian-config
Closes https://github.com/armbian/config/issues/88

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-08 17:32:49 +02:00
Igor Pecovnik
49a6c4a4af
Bugfix: remove 5.6.y support in wifi patch
They were integrated upstream and breaking compilation on 5.4.y

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-08 13:12:06 +02:00
Igor Pecovnik
113f574e70
Bugfix for Debian Bullseye
Replacing nrg-tools with haveged

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 18:48:30 +02:00
Igor Pecovnik
7aacfb8824
Remove deprecated patches
Upstream driver has now support for K5.5->

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 14:20:48 +02:00
Igor Pečovnik
4fe804b399
Enabling Ubuntu 20.04 and Debian 11 build targets (#1872) 2020-04-05 22:25:15 +02:00
Igor Pečovnik
dd50c432f8
Bugfix - fixed wrong fs cache creation when forcing creation (#1869) 2020-04-05 14:05:10 +02:00
Igor Pecovnik
3479b590e0
Improve images uploading
Select faster SSH chiper to speed up a bit

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 22:30:22 +02:00
Igor Pecovnik
b607b666b3
Improve XZ compression support
Cleanup after upload, download scripts also supports this format

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 21:04:34 +02:00
Igor Pečovnik
874149e6ad
Add support for xz image compression format (#1868)
Our next default.
2020-04-04 18:29:42 +02:00
Igor Pecovnik
03835a4b36
[Infrastructure] Update rootfs cache
Used for building image

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 10:45:38 +02:00
Igor Pecovnik
debb8f3eb6
Disable AUFS for 5.6
Its not ready yet

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-03 23:56:14 +02:00
Igor Pečovnik
a523f5fcb3
Wireless drivers - typo / cosmetics 2020-04-03 09:30:53 +02:00
Igor Pečovnik
a742aa92e8
Add Realtek 8189ES and FS driver from repository (#1860)
* Add 8189es out of the tree patch from repository.
* Added 8189FS version
* Support building on kernel 5.6. for 88x2bu

Tested for building on legacy, current and dev, removed old patches
2020-04-01 21:14:49 +02:00
Igor Pecovnik
67d3251e6d
Bugfix for driver implementation
Thanks @NicoMoreau

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-01 09:47:11 +02:00
Igor Pečovnik
7e291d2b20
Wireless driver RTL88x2BU update (#1861)
Switch to new repository
2020-03-31 00:41:53 +02:00
Igor Pečovnik
b9ebc7a378
Improve PGP keys loading (#1863)
Closes https://github.com/armbian/build/issues/1862
2020-03-30 13:16:00 +02:00
Igor Pecovnik
19226f8a26
Bugfix: kernel sources packing
Package name was formed before patching process, while it must do that after

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-27 20:18:48 +01:00
Igor Pečovnik
9ceb01efd6
[ wireless hacks ] Support for monitor mode and packet injection for mac80211 (#1857) 2020-03-25 23:21:12 +01:00
Igor Pecovnik
86f267e85d
Bugfix: wireless driver
Enable Realtek 8723DS only for kernel 5.5 and above. We only need it for Rockpi S DEV kernel, while it causes troubles on at least on 5.4.y

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-18 09:07:56 +01:00
Piotr Szczepanik
fe82401b09
Set the default value for $SERIALCON lazily (#1845) 2020-03-17 20:05:12 +01:00