Commit graph

143 commits

Author SHA1 Message Date
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
Igor Pečovnik
12dc06510b
Bump with version
To rebuild few images later on
2019-06-27 20:12:01 +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
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 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
Manuel Rüger
7819b81b0a lib/*.sh: Apply further shellcheck recommendations 2019-06-04 12:29:05 +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
Igor Pečovnik
ff3bb4265f
Merge pull request #1371 from mzhboy/ups
bug fixes and enhancements
2019-05-18 13:19:20 +02:00
Igor Pečovnik
6358da28f0
Bump version 2019-05-16 23:13:06 +02: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
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 9814cfb054f6abe87b15ff3675ec8d3cfa68008d.

* Revert "debug fetch_from_repo"

This reverts commit ba571f0d890b0d62a2c7c2ec738f5c362e91fca2.

* 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 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
17801fdfd1 [ nanopi-r1 ] enable second USB port 2019-04-20 12:19:12 +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
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
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 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
Igor Pecovnik
d6f6b2638d [ general ] Bump with version - updating armbian-config 2019-03-11 07:35:27 +01:00
Igor Pecovnik
3ddaea4d3b Bump with version 2019-02-13 07:29:13 +01:00
Igor Pečovnik
7b0a00bc36
Bump with version 2019-02-08 08:41:52 +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 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
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
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
Igor Pecovnik
1b4990736d [ sunxi/sunxi64 ] Attach NEXT to 4.19.y and bump with version 2019-01-09 15:31:50 +01:00
JMCC
37d896fa7e Change default DNS resolver for chroot to cludfare alternate, and make it configurable 2019-01-03 14:03:08 +01:00
Igor Pecovnik
b6a0b58955 [ general ] bump with version 2018-12-28 20:04:11 +01:00
Igor Pecovnik
e04b19fabe [ deboostrap bugfix ] adding universe component to resolve installing apt-transport-https in 1st stage. Now all targets are working, 2018-11-29 09:08:13 +01:00
Igor Pečovnik
c21f40a167
Install ca-certificates in 1st stage
This is also needed otherwise d6aa9cf621 doesn't make any sense. Tested on Debian Stretch. Related to https://github.com/armbian/build/issues/1170
2018-11-29 07:57:02 +01:00
Igor Pečovnik
d6aa9cf621
Install apt-transport-https in 1st stage
Possible fix for https://github.com/armbian/build/issues/1170
2018-11-28 18:42:13 +01:00
Igor Pečovnik
30e8f2051e
Merge pull request #1167 from psztoch/pr-custmaint
Custom maintainer
2018-11-27 15:35:56 +01:00
Przemyslaw Sztoch
aa5fa6e27a Custom maintainer 2018-11-13 23:01:30 +01:00
Igor Pečovnik
f4c0b00459
Version bump
Rebuild R2 with eMMC install working.
2018-11-12 12:35:32 +01:00
Igor Pecovnik
b322fec52a [general] Version bump 2018-11-06 18:44:37 +01:00
Igor Pecovnik
95475b78e7 [generak] version bump to remake some images 2018-10-26 11:29:30 +02:00
Igor Pečovnik
b3ae854620
Version bump 2018-10-09 13:46:52 +02:00