Commit Graph

861 Commits

Author SHA1 Message Date
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