Commit Graph

800 Commits

Author SHA1 Message Date
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
Igor Pecovnik
0af97e41a3
[Wireless driver 8188EU] Remove deprecated patch
It was accepted upstream.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-14 18:39:15 +01:00
Igor Pecovnik
2f0549cdfe
[general] Bump with root filesystem cache number
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-10 20:06:06 +01:00
Igor Pecovnik
26eb341db1
[ infrastructure ] Update rootfs cache 2020-03-09 15:44:30 +01:00
Igor Pecovnik
a4a609abf9
[ Bugfix ] Disable wireless drivers for legacy kernels since it breaks compilation 2020-03-07 16:43:40 +01:00
Igor Pecovnik
a9b6665979
[ bullseye ] Removing non-existing package 2020-03-03 20:46:41 +01:00
Igor Pecovnik
c4ffd2b384
[ wireless ] Disable debug on RTL8723DS and update s5p6818 kernel config 2020-03-03 20:06:38 +01:00
Igor Pecovnik
643202fa07
[ bugfix ] Re-adding Python to minimal images due to failed attempt to provide them without.
This also fixes and closes https://github.com/armbian/build/pull/1828
2020-03-03 17:48:04 +01:00
Ash
d3b6800611
[ROCK Pi S] Mainline 5.5.y (dev) target (#1773)
* [ROCK Pi S] WIP mainline (dev) target
* [ROCK Pi S] Disable `rockchip64-dev` patches for now
* [ROCK Pi S] Add rtl8723ds wifi drivers
* [ROCK Pi S] Enable onboard audio (`rk3308-acodec`,`rk3308-i2s-tdm`)
Switch kernelsource to 5.5.y
* [ROCK Pi S] WIP: Use mainline 5.5.y kernel
Add a new `current` branch that tracks mainline
* [ROCK Pi S] Use updated u-boot board dt name `rk3308-rock-pi-s`
Removing the need for a special bootenv for n
* Temporally disable current
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-03-02 21:48:12 +01:00
Martin Ayotte
b8c87da573 be prepare for 5.6.y packaging 2020-03-02 08:10:25 -05:00
Igor Pecovnik
43f6602573
[ wireless ] Remove deprecated patch 2020-03-02 07:45:58 +01:00
Igor Pecovnik
5bf41736b9
[ wireless drivers ] disable debug on 3rd party wifi drivers 2020-03-01 21:56:29 +01:00
Igor Pečovnik
7b28c93b33
Add support for commit HASH (#1816)
* Applying better gitfu
* Bugfixes and optimisation
2020-03-01 10:43:20 +01:00
Igor Pecovnik
564d2ff571
[ wireless drivers ] Disable debug mode on 8811CU
We don't need flooding in the logs since we provide those drivers as is.
2020-03-01 10:38:35 +01:00
Igor Pečovnik
aee94adba3
Update out-of-the-tree wireless drivers (#1815)
* Move to new version of wireless driver for 8188EU, disable staging driver from kernel which is worse quality

* Update driver for RTL8812AU/21AU and RTL8814AU
2020-02-28 18:57:25 +01:00
Igor Pečovnik
c3b5dcf126
Update Wireguard - set to master branch of a WG for older kernel. (#1814)
From 5.6.y WG is part of the mainline kernel
2020-02-28 18:56:35 +01:00
Igor Pecovnik
185386d0b9
Revert "Add support for commit HASH."
This reverts commit 7c9241ff89.
2020-02-28 18:50:22 +01:00
Igor Pecovnik
7c9241ff89
Add support for commit HASH.
Shallow checkout works only on recent Git servers. It works on Google kernel mirrot, but not on kernel.org
2020-02-27 22:37:51 +01:00
Igor Pecovnik
b2034aa04d
[ aufs ] define override for versions tagged outside default pattern 2020-02-26 22:06:57 +01:00
Igor Pecovnik
3e9f46d3cd Few last bug fixes 2020-02-17 01:52:08 +01:00
Igor Pecovnik
a5472556aa Build-all bugfix 2020-02-16 21:57:04 +01:00
JMCC
59d008816c
Fix temporarily disabling glamor for bionic due to Mesa bug 2020-02-15 22:01:28 +01:00
Igor Pečovnik
47e151d831
Fix Pinebook and Teres (#1800)
* Port ANX78xx Pinebook / Teres LCD panel driver from 5.6-rc1

* Move Teres U-boot to 2020.01 ... it boots with enabled screen now.

* U-boot 2020 needs some extra Pyton utils when packing sunxi bootloader. Adding to native and Docker build dependencies.

* Add Pinebook lid wakeup

* python3-dev is also needed dependency
2020-02-14 18:50:00 +01:00
Dirk Weigenand
b9a589124d
Align location of source override with test for its existance when sourcing it. (#1782) 2020-02-13 20:35:34 +01:00
zhangn1985
d6e13612d1
allow - in hostname (#1799)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-02-13 20:31:20 +01:00
Igor Pečovnik
2b3997df53
When seeking for rootfs cache files it also checks previous version. This solves problem described in [AR-166] (#1790) 2020-02-09 10:25:41 +01:00
Martin Ayotte
2a42688257 Merge pull request #1786 from armbian/general-configurable-fdt-file
FDT file customisable per board
2020-02-08 08:16:38 -05:00
Igor Pecovnik
aa6d56dab3 Bugfix - Focal desktop was not building.
Updating kernel configuration for Rockchip, bump with rootfs version due to cache recompile, adding kernel config for rockchip DEV, attached to 5.5.y
2020-02-08 10:12:47 +01:00
Piotr Szczepanik
83cf87922b FDT file configurable per board 2020-02-07 22:21:01 +01:00
Igor Pečovnik
bdba55a74f
Fixes htop package building under Ubuntu Focal (#1783) 2020-02-06 22:32:14 +01:00
Igor Pecovnik
d84f81e40f Bugfix: Wireguard tools on Bullseye were installing not needed dkms package 2020-02-04 20:34:29 +01:00
Igor Pecovnik
871c2e89cc Bugfix: Modern Ubuntu versions have broken command-not-found. Removing. https://bugs.launchpad.net/command-not-found/+bug/1824000 2020-02-04 20:07:07 +01:00
Igor Pečovnik
0ca5a8dd29
Bugfix - Network manager randomizing MAC (#1780) 2020-02-04 18:25:30 +01:00
Igor Pecovnik
70c3a79c3e Backend / repository management fixes and improvements 2020-02-02 23:56:32 +01:00
Igor Pecovnik
e867773d15 Enable Ubuntu Focal in expert mode. It can be build now. 2020-02-02 23:54:59 +01:00
Igor Pečovnik
89a5a394ba
Add exceptions to support native Ubuntu 20.04 building (#1764)
* Add exceptions to support native Ubuntu 20.04 building, fix small bug related to SD card write verification.

* Improve first install steps by installing Dialog and lsb_release first. This left out since we moved host install after we choose what we will do ... dialog is essential for this. Second we don't wait properly for APT manager to finish the process. Fixed with this commit

* Suppress output

* Update OdroidXU4 dev config & patches
2020-02-02 10:31:30 +01:00
Igor Pečovnik
74a2e23f8a
Implement a workaround for Bionic Mesa related issues (#1760)
Closing [AR-152]
2020-01-23 22:40:49 +01:00
Igor Pecovnik
1bf608e1ca Bump with rootfs cache version and adjust board name display. 2020-01-22 19:57:16 +01:00
Igor Pečovnik
ae1737eeb5
Removing http from variable
Closing https://github.com/armbian/build/issues/1726
2020-01-08 14:01:21 +01:00
Igor Pecovnik
f0e5086f97 Bump with version of freshly recreated rootfs cache 2020-01-07 19:42:21 +01:00
Igor Pečovnik
9b8116b75f
Cosmetic fix 2020-01-06 23:52:36 +01:00
zhangn1985
3e38b4b715 build optimize for upstream (#1713)
* add tuna debian-security mirror

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* replace apt-get with apt

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* speed up desktop build

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-01-06 23:45:28 +01:00
zciendor
5c7e7c7235 fix for https://github.com/armbian/build/issues/1584 (#1723)
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.
2020-01-06 23:31:54 +01:00
Igor Pecovnik
c14dad452c General: bump with version and adjust few targets 2020-01-05 23:15:21 +01:00
Igor Pecovnik
42ecf1582f Move rockchip64 legacy to most recent kernel. Tested with standard https://github.com/armbian/autotests stress test on RockPro64 and Rock64. 2020-01-03 11:37:00 +01:00
Igor Pečovnik
3203756603
Merge pull request #1702 from armbian/AR-127
Move wireless patching in front of the patching process
2019-12-31 19:00:27 +01:00
Igor Pecovnik
bc16dc123f
Spaces cleanup 2019-12-31 13:47:01 +01:00
Igor Pecovnik
5074b7cd5c
Re-read kernel version after patching and some cleanup 2019-12-31 13:45:21 +01:00
Igor Pecovnik
7818c2a040
Refactor wifi patching. Need to fix mvebu packaging patch ... 2019-12-31 13:25:58 +01:00
Zhang Ning
9f3013a5f2 remove rootfs debs depends on python-apt
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-12-31 15:13:42 +08:00
Igor Pecovnik
2f608fe379 Adjust build targets and address small backend issue 2019-12-30 19:34:37 +01:00
Matthias Riechmann
04db71efd4 Removed export of variable ARCH 2019-12-27 22:55:45 +01:00
Igor Pecovnik
2b3bcd1be6 Bump with version due to some bugfix images upgrades, change targets, small changes to backend code 2019-12-27 19:59:11 +01:00
Igor Pecovnik
58616b4ea4
Wireguard: adjust repository according to upstream changes. 2019-12-27 16:21:43 +01:00
Igor Pečovnik
e295616575
Enable most recent version of AUFS on Kernel 5.4.y (#1692) 2019-12-25 22:09:39 +01:00
Igor Pečovnik
8a3f05584b
Add drivers for Realtek RTL8811CU and RTL8821C chipsets (#1690) 2019-12-24 09:19:51 +01:00
zhangn1985
5ca275347e install wireguard when required (#1689)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-12-23 07:36:59 +01:00
Igor Pečovnik
c9ab99a84b
Add signed torrents for compilers to Git and improve download logic (#1685)
* Add signed torrents for compilers to Git and improve download logic [AR-107]
2019-12-20 16:33:45 +01:00
Igor Pečovnik
8970fc6730
Wireguard: bump tag to most recent since it breaks building on 5.4.y (#1683) 2019-12-19 07:59:58 +01:00
Igor Pecovnik
4f375692b4
[ sunxi-dev ] Adjust patches, remove deprecated, build tested on Pine H6 2019-12-16 14:35:45 +01:00
Igor Pečovnik
e6ad392f85
[AR-103] Bugfix: Adding repository via PPA doesn't find & set proper release name. (#1677) 2019-12-16 12:58:42 +01:00
Igor Pečovnik
89f63f45fb
Bullseye bugfix: improved grep 2019-12-15 20:25:18 +01:00
Igor Pecovnik
3e7dd378ec Rebuild all rootfs cache, minor fix for focal 2019-12-15 19:52:45 +01:00
Igor Pecovnik
ee87f34563 Bullseye: add browser, adjust versioning, (temporally) remove non existing repository 2019-12-15 08:19:11 +01:00
Igor Pecovnik
109e76c578 Bullseye fixes 2019-12-14 23:18:58 +01:00
Igor Pečovnik
2e69b173bf
Merge pull request #1673 from armbian/focal
Add Ubuntu 20.04 LTS Focal and Debian Bullseye
2019-12-14 11:18:23 +01:00
Igor Pecovnik
3391ce2e96
[AR-102] Adjusting packaging patch relation to fix broken RockpiS compilation 2019-12-14 10:18:47 +01:00
Igor Pecovnik
5450c4ea3b Show release support status in menu for expert mode 2019-12-13 20:48:06 +01:00
Igor Pecovnik
82e5a27026 Disable Focal from menu since its too broken. 2019-12-13 20:31:12 +01:00
Igor Pecovnik
8df3e98401 Add Debian 11 bullseye 2019-12-13 20:01:00 +01:00
Igor Pecovnik
9241c849b5 [Maintanace] Rootfs cache has been rebuild with new version. 2019-12-13 07:52:17 +01:00
Igor Pecovnik
6e54a48778 Exchange EOL Ubuntu Disco with Ubuntu Focal 20.04 LTS (development) 2019-12-12 15:51:42 +01:00
Igor Pecovnik
d5e8710cbd Tinkerboard S: fix booting from eMMC. Closing [AR-89] 2019-12-12 07:47:18 +01:00
Igor Pecovnik
f898c75282 Move Xradio driver from patches and pull more recent from https://github.com/karabek/xradio Tested on 4.19.y and 5.3.y 2019-12-11 17:02:38 +01:00
Piotr Szczepanik
cfaee9938a Switched ATF cleaning method to distclean 2019-11-30 23:11:06 +01:00
Igor Pečovnik
ac309b9355
Repository managemenet doesn't work after https://github.com/armbian/build/pull/1612 This commit fixes the problem. (#1645) 2019-11-28 15:51:23 +01:00
Igor Pečovnik
b5595d8c1d
AR-79: Temporaly disable AUFS on 5.4.y since its broken (#1633) 2019-11-26 19:25:36 +01:00
Levin Du
77a2dba163 Support eval bash statement in ./compile.sh (#1616)
Currently, invoking compile.sh will run its mono task of building all the
components into a final image.

In some situation, especially when developing with Kernel or U-Boot, it is
handy to run a portion of that great task like:

    export BOARD=firefly-rk3399
    export BRANCH=dev
    # more to avoid the popup of dialog
    ./compile.sh 'fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"'
    ./compile.sh 'compile_uboot'

or use a profile to keep things simple:

    ./compile.sh default BRANCH=dev 'compile_uboot'
2019-11-26 18:00:39 +01:00
Igor Pečovnik
8f4b6bfc99
Create patches directory structure under USERPATCHES_PATH (#1628)
Closes [AR-74]
2019-11-24 19:57:57 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
Levin Du
01fec6b3b4 lib/main.sh: allow correctly use of 'head' in BRANCH reference. (#1611)
In fetch_from_repo() from general.sh, when ref uses `head` as value, the ref_name
will be set to `HEAD`, which is later used as a subdir:

   local workdir=$dir/$ref_name

This commit makes the directories consistent with the workdir above.
2019-11-16 09:49:00 +01:00
Igor Pecovnik
336cf390d0 Bugfix: when installing full desktop from armbian-config it lead to installing waaaay too much things. Making things simple again. 2019-11-08 21:44:24 +01:00
zub2
6c7a687d14 don't set LC_ALL=C (#1617)
This breaks UTF-8 in console and in general it just should not be there.

See https://forum.armbian.com/topic/10054-locale-config-issue-stretch/
2019-11-08 00:42:01 +01:00
zhangn1985
fd5dfeba14 btrfs-tools to btfs-progs (#1613)
* btrfs-tools to btfs-progs

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Force rootfs cache recompilation

"Just in case" measure

* Change btrfs-progs in the package base too

* We will build Ubuntu 19.10 rootfs cache as well
2019-11-02 18:40:46 +01:00
Igor Pecovnik
ad71eeab96 Infrastructure: small fixes and improvements regarding images upload 2019-10-31 16:14:24 +01:00
Igor Pečovnik
01229d6672
bugfix: repository management
Storing everything into main instead of sub-repo
2019-10-22 20:14:28 +02:00
Igor Pecovnik
d9e6106c29 Tiny development related feature. Adding local mirror if defined. 2019-10-03 20:06:45 +02:00
Igor Pecovnik
2c0adc006a General: strenghten host preparation with downloading aptly keys from two different servers 2019-09-29 18:53:02 +00:00
Igor Pecovnik
60cd84383d Bugfix: run apt update when installing desktop since we use cached rootfs. Up with version. 2019-09-28 01:03:41 +02:00
Igor Pecovnik
b9adf0ea48
Revert remove redundant cleanup (#1567)
U-boot runs several targets. Cubox, Helios4, ... and they are not cleaned at checkout. @zhangn1985
This reverts commit 357926add6

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-27 19:17:49 +02:00
zhangn1985
357926add6 remove redundant cleanup (#1567)
source code cleanup should be done in source update/checkout step.
thus no need redundant cleanup in apply patch step.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-19 11:02:21 +02:00
Igor Pecovnik
ddb2202706
Bugfix: rng-tools needs default device
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-18 19:28:09 +02:00
Igor Pecovnik
3ec59523d5
Bugfix: rng-tools not present in Xenial
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-18 15:01:16 +02:00
Igor Pecovnik
df42a5c3da
General: Add tzdata back to the essential packages
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-17 20:12:14 +02:00
guidol70
edfa465ae0 Update configuration.sh (#1566)
add rng-tools for faster fill of the entropy pool for amlogic cpus

Closes https://github.com/armbian/build/issues/1565
2019-09-17 19:49:00 +02:00
Igor Pečovnik
0d0cd7f191
Remove Debian Jessie (#1560) 2019-09-16 22:13:55 +02:00
Igor Pečovnik
e1d4c83ad6
G-serial cleanup (#1549)
* Initial commit for serial consoles rfc
* Board configuration cleanup + small tweaks
* Add serial gadget rename to dev kernel as well
* Cleanup, fixing permissions
* Cleanup board configs
2019-09-13 22:20:11 +02:00
Igor Pecovnik
76cafa6915 General: fixing wrong permission on desktops which pops out when using bluetooth 2019-09-08 20:56:14 +02:00
Igor Pecovnik
c4af831b90 Remove package dependency from armbian-$RELEASE-desktop Closes https://github.com/armbian/build/issues/1544 Adjustement to armbian-config is needed. 2019-09-08 14:00:53 +02:00
Przemysław Sztoch
202d2cac81 Added .editorconfig, removed obsoleted upgrade.sh and main.sh, launching user_config function. (#1543) 2019-09-07 23:28:42 +02:00
Igor Pečovnik
09402b263d
Better wording 2019-09-05 17:21:40 +02:00
Igor Pecovnik
77b55bfe80
Install Wireguard tools (from our repository) by default
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-04 22:49:48 +02:00
Igor Pecovnik
ce3d35546f Interal: improve aptly packaging handling 2019-09-04 22:48:05 +02:00
Igor Pecovnik
2f84cff50e
Fix Odroid N2, add upstream patches for rockchip-default
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-02 07:01:44 +02:00
Igor Pečovnik
1221d59233
Build all targets RFC (#1515)
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 22:13:13 +02:00
Igor Pečovnik
da903f2d65
Replace Etcher with dd + verify, tested under Docker (#1522)
* Replace Etcher with dd + verify, tested under Docker

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 00:12:36 +02:00
zhangn1985
e71c145cb7 move armbian source to create_sources_list (#1532)
1. move armbian source to create_sources_list
2. check DOWNLOAD_MIRROR
3. alse change prebuild rootfs's source list

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-01 00:11:40 +02:00
zhangn1985
6f4efcb677 enable AUFS for meson64-dev (#1525)
enable AUFS rc and adjust kernel config

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-19 14:32:22 +02:00
Igor Pečovnik
bb0130c797
Set AUFS default on
Closes https://github.com/armbian/build/issues/1524
2019-08-18 20:50:53 +02:00
Igor Pecovnik
29fc989c1b
Bugfix: improper BUILD_MINIMAL handling and fixing terrible synaptic performance https://forum.armbian.com/topic/7422-terrible-synaptic-performance/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 22:17:13 +02:00
Igor Pecovnik
36744e84eb
build minimal - fix multi threaded building
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 10:08:30 +02:00
Igor Pecovnik
f95b91d3bb
up with cache version. another rebuild is needed
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:14:37 +02:00
Igor Pecovnik
737bd30d04
build_minimal related bugfixes. Cache didn't follow minimal filename
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:10:20 +02:00
5kft
7a2bf78e10 increased the default boot partition size to 96MB (from 64MB) for multi-partition fs targets 2019-08-16 21:44:01 -07:00
Igor Pecovnik
39ee7ff343
General: we will be making caches also for minimal images. We have to rebuild other caches due to few changes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 19:38:08 +02:00
Igor Pečovnik
f416c35c16
Adding minimal image (#1504)
* Minimal build setup (#1463)
* Netplan folder check & armbian-tools dependency on expect (and tcl) solved (#1464)
* Prevent netplan configration if it is not installed
* Resolved expect dependecy of armbian-tools
* More packages added for armbian-tools
* Added python3-apt and rsyslog to minimal installation
* Debootstrap variant doesn't play nice. We loose networking and it affects standard builds as well. Removing.
* Python-to-Bash conversion (#1470)
* Remove python3-apt dependency from BSP package, fix netplan error also on Disco and putting back varint=minbase ... tested Disco, Bionic
* Distinguish package list: *-minimal.list and *-desktop.list
* Enable Wireguard back which was removed by mistake. https://github.com/armbian/build/issues/1471
* Having minbase debootstrap variant for all will require further adjustements with current package base - backward compatibility. Minimal image is now Python free but need further testings ...
* Add wireless-regdb and crda to the pakage base, fix Ubuntu keyring warning while debootstrap.
* Add figlet to sort out missing fonts
* Moving few packages here and there. Bugfix when creating a cache package list
* Manually compared base images - they are the same with small insignificant difference. Minimal image has to be futher tuned
* Adjustements for bash powered lsb_release, adding some needed packages
* Fixed (no) network problems on Bionic/Disco
* Add rsync to debootstrap_list and few minor fixes
* Adjust text in lsb_release
* Olimex Micro A20: fix wrong boot config
* Remove duplicate depenedency
* Odroid C1: adjust kernel config
2019-08-16 19:21:12 +02:00
Igor Pecovnik
c65eff6038
Buster Bugfix: ping has wrong permissions and needs SU privileges. https://forum.armbian.com/topic/11276-unable-to-ping-as-user/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 08:55:15 +02:00
Igor Pečovnik
23ecaaa4f9
Re-enable wireguard
Its tested on all build and is attached to tested branch. Also https://github.com/armbian/build/issues/1369
2019-08-13 07:03:37 +02:00
Zhang Ning
36b42f1968 merge KVIM1 u-boot blobs to odroidc2-blobs
less external git.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 12:42:02 +08:00
Gauthier Provost
2ab34f46c6
[ build script ] Umount overlay with -i option
close issue #1494
2019-08-05 12:30:09 +08:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
Becker Béla
e517d588a9 Disable ext4 options that don't work with u-boot (#1495)
Disable these mkfs options for all new distros
2019-08-02 20:02:54 -04:00
Igor Pecovnik
a169b1e750
Adjust rootfs cache number, fix packaging debugging
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:45:31 +02:00
Igor Pecovnik
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Igor Pečovnik
aae7ae95ba
Change rootfs cache version
For cache rebuilding
2019-07-31 23:52:47 +02:00
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487)
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426

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

* mvebu: add missing patches

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

* mvebu: change making u-boot targets to standard way, adjust patches and config

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

* helios4: set default branch to use U-Boot 2018.11

Switch over to U-Boot 2018.11 that has been used for some time in next
branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Enable DEV branch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: Add RTC support on Clearfog and Helios4

Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Added SPI NOR flash target

Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Restore SPI support on U-Boot 2019.04

* mvebu: kernel: Added Wake-On-GPIO and WoL support

The patch set was missing during transition.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [#1429] SolidRun's ARMADA A388 SOM U-Boot ODT Update

Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.

According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated

[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [#1429] mvebu: u-boot: Add revision id for Armada 38x B0

Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* clearfog: Added SPI NOR flash target

Build bootable SPI NOR flash image.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: clearfog: DEV branch use mainline U-Boot

Also move clearfog base patch into its own board folder.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: enable U-Boot uart target

Normal MMC image can be used for uart boot using following command:

./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX

But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.

Since the usage of uart boot is more for rescue/debug, disable autoboot.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: NEXT branch use mainline U-Boot

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: fix fancontrol related bug during buster testing

- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Override vendor provided fancontrol unit

systemd emit following message on dmesg

systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.

Override and change the value in the unit file to remove the message.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: DEV branch use its own u-boot patch folder

The patches are copied over from u-boot-mvebu-next

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: u-boot: Make clearfog model distinction more obvious

While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* lib: Use apt-get install instead of dpkg on install_deb_chroot()

dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Move various tweak to family_tweak_bsp()

Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Add /etc/modules to BSP

On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Make zbud as built-in module

To remove the following error:
[    1.705485] zswap: default zpool zbud not available
[    1.705488] zswap: pool creation failed

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* bootscripts: mvebu: Add default value for spi_workaround

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Backport armada_thermal changes to 4.14 (#1452)

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.

Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.

Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of #1421 solution.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: unified fancontrol config

Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: helios4: Remove rev id patch

The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: enable PCIe support and PCIe reset

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: tweak regarding temperature setting

Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: sources: clearfog to use u-boot 2018.01 for NEXT branch

This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: boards: build Stretch image for Clearfog and Helios4

Also remove DEV from Helios4 CLI_TARGET

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: Disable access to SPI Flash

User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-next: adjust kernel config

* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.

* Adjust kernel config, add AUFS

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

* mvebu-next: Adjust kernel config, add debug GPIO

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-dev: separate Clearfog Base U-boot configuration file and patch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-07-31 12:51:00 +02:00
zhangn1985
27e22f6e36 more clean up for source code (#1488)
some patches will create new files, they can be removed by `git clean -qdf`

but when repo has update, git clean is forgot, thus leave new files still in repo.

add git clean back.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-30 22:24:00 -04:00
Przemysław Sztoch
4d7d0e16bb ROOTPWD, HOST and rockpi-4a. (#1489)
* More configuration options (ROOTPWD and HOST).

* Prepared for RockPi4A without wifi.
2019-07-30 14:23:48 +02:00
Igor Pecovnik
518e24858b
AUFS - automated patching for future versions 2019-07-29 16:23:28 +02:00
zhangn1985
35aedf08b0 main: show docker in build options (#1479)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 14:24:37 +02:00
Zhang Ning
7e831b9ace add Khadas VIM1
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 13:07:33 +08:00
zhangn1985
28c2d20c77 rootfs: update DNS for prebuilt rootfs (#1469)
defualt DNS for prebuilt rootfs is 1.0.0.1
when this DNS is not accessable, eg. due to proxy.

network operation in chroot will not available.

use alternative DNS in variable NAMESERVER.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-22 09:41:02 +02:00
Igor Pecovnik
07e00d8a2f
Cache creation: revert 568b8d7d55 since we already have this implementation. Go up with cache version. Fixing https://forum.armbian.com/topic/10989-armbian-build-stretchbuster-does-not-install-additional-packages 2019-07-20 08:45:11 +02:00
Igor Pečovnik
e633fac810
Bugfix
Forgot about beta numbering scheme 568b8d7d55
2019-07-17 19:59:54 +02:00
Igor Pecovnik
568b8d7d55
build script: make rootfs cache hash (minor x.y*) version dependent to not keep too old caches and that cache can be forcefully rebuild only by changing minor version number. If cache is rebuild only with new packages version, hash stays the same, while we in some cases need to change filename which is served over torrents. 2019-07-17 19:36:13 +02:00
Igor Pecovnik
29472c52b3 Revert "relocate 'compilation_prepare' prior too patching"
This reverts commit b9173d7850.
2019-07-12 10:42:33 +02:00
Martin Ayotte
b9173d7850 relocate 'compilation_prepare' prior too patching 2019-07-11 15:37:05 -04:00
Przemysław Sztoch
48d6548471 Better armbian.txt, unified sha filename, armbianEnv from userpatches. (#1454)
* Unified name for sha file.

* Better information about build in armbian.txt

* armbianEnv.txt from userpatches folder

* Better armbian.txt.

* Lost second argument for fingerprint_image (armbian.txt)
2019-07-11 09:57:33 -04:00
Igor Pecovnik
dca948cd19
Bugfix - it only manifest when build all targets and is releated to this PR https://github.com/armbian/build/pull/1451
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-11 12:51:14 +02:00
Przemysław Sztoch
bc0fbb85bc Add USERPATCHES_PATH optional setting to config file. (#1450)
Required if userpatches folder is conflicted between two different configs.
This is frequent and requires maintaining two copies of the builder.
2019-07-09 22:50:49 -04:00
zhangn1985
94027c0f58 Docker build speed up. (#1451)
* Docker: a chance to rebuild docker image

when Dockerfile is updated, docker image will not be rebuilt,
let armbian docker image tag with framework version, thus has
a chance to rebuild it.

V2: use VERSION file to track build script version.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Docker: use upgrade instead of dist-upgrade to speed up docker build

this patch also change to use apt instead of apt-get
when compile in docker, it will run apt update&&upgrade everytime.
this is very time consuming.

apt-get dist-upgrade will not upgrade packages, thus will make build framework
do upgrade each time.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-09 12:04:24 +02:00
Igor Pečovnik
728c2beb2c
Bump with version 2019-07-07 23:28:45 +02:00
Przemysław Sztoch
31b56af49f Default config as symlink and better kernel package metadata (#1446)
* Default config as symlink for comfort switching between several custom boards.

* Better metadata for kernel packages.

* Local changes with detailed git diff.

* Support for gz and bz2 compression (supported by balenaEtcher).
Support for generation sha without 7z compression.
Bug fix for current directory changing in 7z compression.

* Remove bzip2 and use fast pigz for gziping.

* Deleted typo with "gz" in 7z section.
Separated parameter for gpg.

* Information about exit command.
2019-07-06 22:35:42 +02:00
Igor Pečovnik
79ef5ccf4d
Enable Debian buster
for non experts. Its in decent shape, small bugs will eventually be fixed and official release is just around the corner.
2019-07-06 11:33:33 +02:00
Igor Pecovnik
f43ba6bdaa
Wireguard: move to next known to work tag
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 07:48:22 +02:00
Igor Pečovnik
ef5a797483
Fix u-boot handling (#1436)
This principle is needed for Allwinner boards. For others it needs to be checked. For now this fixes when building SPI boot loader.
2019-07-02 20:00:12 +02:00
Igor Pecovnik
e8e0c698f1
Remove specific versions of the used kernels https://github.com/armbian/build/issues/1440
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-02 08:43:12 +02:00
lanefu
7d0e676e93
Revert "lib: more shellcheck fixes (#1430)" (#1432)
This reverts commit 1e050839b2.
2019-06-27 22:23:39 -04:00
Manuel Rüger
1e050839b2 lib: more shellcheck fixes (#1430)
thanks @mrueg !
2019-06-27 21:19:42 -04:00
Igor Pečovnik
12dc06510b
Bump with version
To rebuild few images later on
2019-06-27 20:12:01 +02:00
Igor Pecovnik
30dbf32ecf
Wireguard - set kernel limit to 3.14 since last snapshot breaks on 3.10.y
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-26 19:48:44 +02:00
Igor Pečovnik
633242e835
Changes to build script and patches adjustment (#1423)
- change console welcome text
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
* Adjust tabs and alter displaying build options at the end - hide empty ones
* Fix wrong MOTD message, adjust logic to autologin by default and request login for both notebooks
* Making fs cache naming more intuitive, rename script
* Move additional kernel drivers into separate file. Add AUFS for K5.1 this way, attach wireguard sources to last known working tag. master is broken atm
* Add two more extra wireless drivers 88x2BU, (improved) 8811EU and introduce switch EXTRAWIFI which is enabled by default
* Move 8812AU to the same version we have now. More recent has some performance issues in AP mode. Adjust configuration, add mvebut-dev 5.1.y kernel
* Enable Wireguard also on 3.10.y since it was fixed upstream. Attach bach to master branch since its working now
* Rockchip64 & RK3399 - upstream patches and remove deprecated patches, mvebu64 add DEV kernel attached to 5.1.y
* Enable BT on Tinkerboard CLI images as well
* cubox-i move to 5.1.y and enable missing HDMI
* Bugfixes for adding wireless driver to Kconfig. Adjusted RK3399 kernel due to upstream changes at FriendlyARM - does not boot yet. Changes has to be extract from their commits. Removed patches with RTL8188EU since we add more recent driver with a new precedure. Small fixes mvebu-default, udoo-next, s56818-next, ... remove deprecated patches.
* Boot-able RK3399-default config, add upstream patches for K4.4.y mvebu-default/udoo-next
* Adjust overclocking patch to meet upstream changes
* Odroid XU4 - remove deprecated kernel patches
2019-06-26 07:31:11 +02:00
Firefly Team
2f8ce01852 Docker: override stty size in container (#1420)
With some docker CLI version, `stty size` in the container will return `0 0`,
which causes `dialog` to fail. This commit fixes that by setting the actual
terminal size.

For more infor, see:

  https://github.com/docker/for-linux/issues/314
2019-06-22 23:32:59 -04:00
jwzawadzki
8830b8aa45 [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
Igor Pecovnik
766c0032ed
Merge branch 'master' of https://github.com/armbian/build 2019-06-14 21:22:42 +02:00
Igor Pecovnik
86021bab9a
Debian buster. Add our standard icon theme
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 21:22:03 +02:00
Igor Pecovnik
95977fa6f5
[Build script] Reverting image creation improvement due to (random?) failing. truncate sometimes resoult in fs corruption or is not possible to clearly unmount loop device. Need deeper inspection or simply reverting to previous working solution
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 20:29:07 +02:00
Igor Pecovnik
7e66e95962 [ general ] add tiny debug option to track installed packages per each rootfs cache (internal feature), htop bugfix, sunxi upstream patch 2019-06-12 21:20:03 +02:00
Igor Pečovnik
da86ab5df5
Cosmetics (#1404)
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
2019-06-11 00:24:46 +02:00
Igor Pecovnik
953a7f85ac [ General ] Bump with version 2019-06-11 00:20:13 +02:00
Stefan Mavrodiev
550d8980ff lib: Compile external packages for target arch/release if user-built 2019-06-07 09:54:41 +03:00
Manuel Rüger
7819b81b0a lib/*.sh: Apply further shellcheck recommendations 2019-06-04 12:29:05 +02:00
Igor Pecovnik
8ac17c0d6c [ general ] More bullet proof Aria2 default configuration. Removing torrent dl from default and force single source. There seems to be problems with multiple downloads at once in current version. 2019-06-02 21:44:56 +02:00
Igor Pečovnik
e8a79a85db
Download with Aria2 (#1384)
* [ general ] Change Toolchain download method. Introduce torrent downloads by using Aria2. If torrent download fails it proceeds to download from servers. It can download from all mirrors at once, so download speed is dramatically increased. @mzhboy DOWNLOAD_MIRROR parameter is not needed here anymore. The same method is used to download rootfilesystem cache. Based on ideas from here https://github.com/armbian/build/pull/1364

* Added yet another mirror for speeding up the download process, few small adjustements for torrent downloading

* Optimising direct download when DOWNLOAD_MIRROR is set to 'china' due to aria2 download limitations

* Both mirrors support HTTPS, changing
2019-06-02 19:49:59 +02:00
tcme
24afe02e88
Add oldcache to clean target comment
text from 376c1b0551/config/templates/config-example.conf (L10)
2019-05-31 12:01:20 +02:00
Manuel Rüger
bffdfcd7f0 Apply shellcheck recommendations (#1389)
* compile.sh: Apply shellcheck recommendations

* lib/upgrade.sh: Apply shellcheck recommendations

* lib/main.sh: Apply shellcheck recommendations

* lib/desktop.sh: Apply shellcheck recommendations

* lib/makeboarddeb.sh: Apply shellcheck recommendations
2019-05-30 22:19:53 +02:00
Igor Pecovnik
f1f10fff9b Revert "[ build script ] small speed improvements when building all packages"
This reverts commit ae920870e7.
2019-05-28 22:29:11 +02:00
Igor Pecovnik
f7c634c2bb [ odroidn2 / general ] further improvements with some general patches, kernel config adjustements, upstream patches, bump with version 2019-05-28 21:43:48 +02:00
Jorik Jonker
e606326685 Fix boad-deb dependencies
The packages 'recommend' python3-apt, while it simply does not work
without this package:

  Traceback (most recent call last):
    File "/usr/lib/armbian/armbian-apt-updates", line 25, in <module>
      import apt_pkg
  ModuleNotFoundError: No module named 'apt_pkg'
2019-05-27 06:20:04 +00:00
Igor Pecovnik
ffffbb9cd0 [ odroidn2 ] Remove deprecated patches, kernel config adjustements, added AUFS -> docker support, adding mainline targets which needs further adjustements ... 2019-05-20 15:17:40 +02:00
Igor Pečovnik
ff3bb4265f
Merge pull request #1371 from mzhboy/ups
bug fixes and enhancements
2019-05-18 13:19:20 +02:00
Igor Pecovnik
ae920870e7 [ build script ] small speed improvements when building all packages 2019-05-17 19:19:53 +02:00
Igor Pečovnik
4491429fa0
Change nightly repository purge
Keep only last three builds in a beta repository
2019-05-17 12:48:35 +02:00
Igor Pečovnik
6358da28f0
Bump version 2019-05-16 23:13:06 +02:00
Igor Pečovnik
a2b0164b35
Merge pull request #1373 from OLIMEX/fix_xfce4_config
Add missing closing backslash
2019-05-16 23:10:38 +02:00
Igor Pecovnik
5e0953075b [ kernel source creation ] bugfix, additional wireless drivers were missing 2019-05-16 22:22:41 +02:00
Igor Pecovnik
f7ac2d2999 [ general ] Adjust wrong path when exporting kernel configuration, add wireguard to rockchip64 2019-05-16 18:08:19 +02:00
Stefan Mavrodiev
57854b8ff7 Add missing closing backslash 2019-05-16 08:37:43 +03:00
may
aea890200c [general] replace dd with truncate, create a sparse disk image 2019-05-15 18:47:29 +08:00
may
04d484b6b6 [general] new option MAINLINE_MIRROR to select mainline kernel mirror
- set to `google` to use mirror provided by Google, the same as
     `USE_MAINLINE_GOOGLE_MIRROR=yes`.
 - set to `tuna` to use mirror provided by tsinghua university.
 - leave it unset to use offical `git.kernel.org`.
2019-05-15 18:49:41 +08:00
may
2b584bb5e0 [general] new option DOWNLOAD_MIRROR to select download mirror
- set to `china` to use `mirrors.tuna.tsinghua.edu.cn`
 - leave it unset to use official source.
2019-05-15 18:47:29 +08:00
may
3407150565 [general.sh] change ntp server to pool.ntp.org 2019-05-15 17:33:23 +08:00
may
d56eb10c8d [general] remove duplicate download item 2019-05-15 17:33:12 +08:00
Igor Pecovnik
18f6113751 Revert "some enchantments for build scripts (#1364)"
This reverts commit 7f1c5b19cd.
2019-05-15 10:00:23 +02:00
mei
7f1c5b19cd some enchantments for build scripts (#1364)
* downloader aria2 replace curl

aria2 is a fast downloader and it can do much more than curl
 - skip download when target file exists
 - restart an interrupted download session
 - multithreading

* remove duplicate download item

* change btrfs compression to zstd and no force compression

* mkfs.btrfs options '--data single --metadata single --label btrfs'

disable dup(duplication) on microsd card

* [fstab] change mountopts[btrfs] compression method to zstd

lzo is no fater than zstd because the low 4k write performance on my
Samsung EVO+ 32GB microsd card.
meanwhile the best io size is above 32k based on benchmark

* replace dd with truncate, create a sparse disk image

* create btrfs subvolume by default

subvolume @ as rootfs, mount at /
subvolume @home as /home, mount at /home

* fix extraargs in armbianEnv.txt

* remove tmpfs mount on /tmp

A zram block device will mount on /tmp by
/usr/lib/armbian/armbian-zram-config.

And instead, mount /media as tmpfs.

* [rsync] add '--inplace' option, optimize for btrfs

* [general.sh] change ntp server to pool.ntp.org

* [general] new option to setup btrfs compression method

for support old and boring 3.x kernels

* [general] set btrfs space cache based kervel version

kernel version above 4.5 select 'v2' as default

* [btrfs] BTRFS_COMPRESSION accept compression ratio

BTRFS_COMPRESSION=zlib
BTRFS_COMPRESSION=zstd:5
BTRFS_COMPRESSION=zstd:12 are acceptable

* [btrfs] set btrfs compression to lzo when input is illegal

* [general] new option DOWNLOAD_MIRROR to select download mirror

current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university

* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR

MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org

* fix btrfs default compression

* display $fscreateopt

* display_alert BTRFS_COMPRESSION

* try fix BTRFS_COMPRESSION variable not working

* debug fetch_from_repo

* configuration.sh debug BTRFS_COMPRESION

* update logic

* debug checking btrfs compression

* fix variable check,fix local variable usage

* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR

MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org

* [general] new option DOWNLOAD_MIRROR to select download mirror

current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university

* Revert "try fix BTRFS_COMPRESSION variable not working"

This reverts commit 9814cfb054.

* Revert "debug fetch_from_repo"

This reverts commit ba571f0d89.

* add default compression method for mountopts

* remove useless var

* remove debug

* remove debug

* [general] set btrfs space cache based on kernel version

kernel version above 4.5 select 'v2' as default,
below 4.5 select 'v1' as default

* [general] reintroduce USE_MAINLINE_GOOGLE_MIRROR

* [general] case replaces 'if xx ;elif xxx;fi'

* [general] fix always downloading linux-firmware.git

clone to new dir 'linux-firmware-git' instead the old '$plugin_dir/lib/firmware'
,and then copy files as hardlinks.

* [general] create soft link instead of moving directory

* [btrfs] change rootfs subvolume name to @$RELEASE

now, the rootfs subvolume looks like @stretch,@bionic
it is possible to use different distribution in the same btrfs
partition.
2019-05-14 18:37:00 +02:00
Igor Pecovnik
552db3d323 Buster and Disco releated adjustements. 2019-05-13 07:47:29 +02:00
Igor Pecovnik
25889024dd [ general ] Fine tune boards descriptions. Change text "supported" with "boards with high level of software maturity" 2019-05-11 21:50:17 +02:00
Igor Pečovnik
07f706bafb
bugfix 2019-05-11 17:15:48 +02:00
Igor Pecovnik
2bd7f8efbd [ Odroid N2 ] Added Odroid N2 with mods necessary to build from sources. Made a few tests builds ... it works at least as good as stock. 2019-05-10 10:27:01 +02:00
Igor Pečovnik
3061fe69c4
[ general ] Bump with version
Images and bsp were rebuilt
2019-05-09 07:15:34 +02:00
Igor Pecovnik
66eb2b3da1 [ general ] Bump with version 2019-05-08 14:13:13 +02:00
Igor Pecovnik
0f3d8ded52 [ general ] bump with version 2019-05-03 20:05:47 +02:00
Igor Pecovnik
a80fe61a57 [ sunxi-dev ] Upstream patches and bump with version 2019-04-23 18:18:58 +02:00
Igor Pecovnik
52d82c921d [ sunxi / sunxi64 ] Adding missing bluetooth / rfkill changes from FA but tested only for building + related kernel config changes and bump with version due to yet another armbian-config update.
https://github.com/armbian/build/issues/1352
2019-04-21 22:42:03 +02:00
Igor Pecovnik
2a40f06c9b [ general ] bump with version due to packages (armbian-config) update 2019-04-20 18:19:53 +02:00
Igor Pecovnik
181c97055c [ buster / disco ] Disable extra-package creation and repository since its broken and represent lots of work 2019-04-20 17:32:14 +02:00
Igor Pečovnik
054894d6e4
Adding few packages
for making chroot environment also within 19.04
2019-04-20 12:26:28 +02:00
Igor Pecovnik
17801fdfd1 [ nanopi-r1 ] enable second USB port 2019-04-20 12:19:12 +02:00
Igor Pečovnik
0a8cbb34f0
Typo
https://github.com/armbian/build/issues/1353
2019-04-20 08:03:18 +02:00
Igor Pecovnik
06064cf078 [ general ] Create list of installed packages per release for debug purposes 2019-04-19 23:25:55 +02:00
Igor Pecovnik
3a16e92934 [ buster / disco ] fixing chroot-buildpackages dependency and typo fix 2019-04-19 17:19:28 +02:00
m][sko
24c81d1b05 Ubuntu 19.04 support (#1351)
* ubuntu 19.04 support

* ubuntu 19.04 support 2

* ubuntu 19.04 support 3

* add netplan config
2019-04-19 17:14:57 +02:00
Igor Pecovnik
680731ceb2 [ repository creation ] Buster related 2019-04-19 07:39:29 +02:00
Igor Pecovnik
b92f11e89a [ added Debian buster ] Initial commit. It builds, but its not tested nor fine tuned. 2019-04-17 21:39:54 +02:00
Igor Pecovnik
b3e50ef5f6 [ sunxi-next ] added FA Nanopi R1. Working everything but BT, random MAC on r8152, bumped with version 2019-04-17 20:43:09 +02:00
Igor Pecovnik
971fe5dc36 [ internal ] Logging compilers used in the process 2019-04-13 09:37:04 +02:00
Igor Pecovnik
dfa23380ea [ general ] Linaro compilers update to 2019.02 2019-04-11 00:32:25 +02:00
Igor Pecovnik
13fd8a7824 [ general ] Proper / better implementation for u-boot configuration adjustement 2019-04-09 22:15:52 +02:00
Igor Pecovnik
f0e11afa97 [ general ] Bump with version due to https://forum.armbian.com/topic/10082-updated-firmware-and-armbian-config 2019-04-07 21:43:30 +02:00
Igor Pecovnik
b2eea32cb4 [ general ] Locales fix/workaround to make warning go away 2019-04-05 09:37:47 +02:00
Igor Pečovnik
69c231dbc0
[ Wireguard ] Set default disabled
It's currently broken on at least 4.14.y and there were others troubles.
2019-03-27 06:33:39 +01:00
Martin Ayotte
69eaec7b21 update menu so that Dev shows 5.x too 2019-03-25 09:18:01 -04:00
Igor Pečovnik
a81df41f0b
Merge pull request #1316 from The-going/clean_2
Fix_final: incomplete cleaning of the source code.
2019-03-18 10:47:32 +01:00
The-going
eb528f6c9e
Fix: incomplete cleaning of the source code.
Before you begin the compilation process,
we should always check and clean the sources.

If not, then warn the user.
2019-03-18 11:54:07 +03:00
The-going
a7f67e295f
Standard error output is always sent to the file.
Currently, compilation errors from the standard error channel
are sent to standard output, and then the shared stream
can be routed to the $DEST/debug/compilation.log file or not.
As a result, we can see either empty compilation.log file,
or a file containing a million lines of total output.
This behavior makes little sense.

After applying this patch, compilation errors
will always be sent to $DIST/debug/compilation.log

The file will look something like this:
----------------------------------------------------------------
	== atf ==


	== u-boot ==

.config:1253:warning: override: reassigning to symbol BOOTDELAY

	== kernel ==

In file included from ./include/linux/kernel.h:11:0,
                 from ./include/linux/clk.h:16,
                 from drivers/iio/adc/sun4i-gpadc-iio.c:25:
	......
---
2019-03-17 18:27:19 +03:00
Zhang Ning
1c86794d01 fix fetch gpg key behind a proxy
add --keyserver-options when http_proxy env is set.

for docker build, need to pass http_proxy to docker

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-03-12 14:44:02 +08:00
Zhang Ning
5d12350e9a change aptly apt key server to ubuntu
it's difficult to access sks-keyservers key server.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-03-12 14:38:06 +08:00
Igor Pecovnik
d6f6b2638d [ general ] Bump with version - updating armbian-config 2019-03-11 07:35:27 +01:00
Igor Pecovnik
0370921807 [ buildscript ] Adjust icon path in build report 2019-03-10 21:40:14 +01:00
Igor Pecovnik
45fed36908 [ wireguard ] Kernel source had only a link while now we save sources. 2019-03-10 14:19:47 +01:00
Igor Pecovnik
ee44b9c62b [ sunxi-next ] Enable apparmor and selinux support and a tiny Debian locale bugfix 2019-03-08 18:50:27 +01:00
Lane Jennison
6c24200575 return build options upon completion to make it easy to repeat build 2019-03-08 00:04:02 -05:00
Igor Pečovnik
3a89ab7982
Adding CPIO package to the host list
That Docker Ubuntu image will also work as a host.
https://github.com/armbian/build/issues/1292
If that is all ...
2019-02-25 16:27:57 +01:00
Leonidas P
b57617d378
Update compilation.sh: no wireguard macro patch 2019-02-17 16:52:53 +02:00
Igor Pecovnik
c53f5611b3 Adding full path to wireguard workaround 40557aebb3 2019-02-13 10:14:50 +01:00
Igor Pecovnik
40557aebb3 [ general ] Fixing wireguard breaking prepare headers https://github.com/armbian/build/issues/1278 and upstream patch for sunxi-next 2019-02-13 10:09:04 +01:00
Igor Pecovnik
3ddaea4d3b Bump with version 2019-02-13 07:29:13 +01:00
Igor Pecovnik
15032e0f4d [ general ] bugfix 2019-02-08 16:08:44 +01:00
Igor Pečovnik
7b0a00bc36
Bump with version 2019-02-08 08:41:52 +01:00
Igor Pecovnik
53fcb9852c [ Wireguard fix ] adding a patch for K4.4.y and enabling it back on those previously broken ones 2019-02-07 19:42:31 +01:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Igor Pecovnik
e959294b7f [ sunxi* / general ] add possible fix for eMMC troubles with some H5 boards, adjusted configuration, Wireguard: always use latest sources 2019-02-06 10:50:13 +01:00
Igor Pečovnik
9b1b41bc0f
Up with version 2019-01-29 11:32:37 +01:00
Igor Pecovnik
3365d7c290 [ general ] move Wireguard under configuration.sh and remove from inserting for 3.10.y since it breaks there. 2019-01-29 11:04:39 +01:00
Igor Pecovnik
7468eb23ab [ wireguard ] add to config, move Tinkerboard to stable branch, add upstream patches 2019-01-28 20:47:37 +01:00
Igor Pecovnik
49930576d3 [ add WireGuard ] too all kernels >= 3.10, enable at compile time with WIREGUARD=yes 2019-01-24 21:13:10 +01:00
Igor Pecovnik
9efe564caf [ sunxi/sunxi64 ] upstream patches and enablind MD on 64 https://forum.armbian.com/topic/9421-module-md_mod-not-found-in-directory-libmodules41913-sunxi64/ Bump with a version 2019-01-23 17:01:07 +01:00
Gauthier Provost
93ba3ec3dd [ General ] Move bootscript update to nand-sata-install 2019-01-21 11:44:24 +08:00
Igor Pečovnik
f4ee4d77e3
Up with version
Need to update armbian-config
2019-01-16 19:04:10 +01:00
Igor Pečovnik
46552a5dac
Up with version 2019-01-13 20:34:15 +01:00
Igor Pečovnik
d654a0dee1
Bump version
To make sure Rockchip kernels are remake due to latest changes.
2019-01-11 13:38:17 +01:00