Commit Graph

43 Commits

Author SHA1 Message Date
Igor Pečovnik
ff3bb4265f
Merge pull request #1371 from mzhboy/ups
bug fixes and enhancements
2019-05-18 13:19:20 +02:00
may
80adf4aded [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.
2019-05-15 17:33:23 +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 Pečovnik
783c2d0e25
Bugfix
https://github.com/armbian/build/issues/1359
2019-05-02 08:14:09 +02:00
Igor Pečovnik
f9f104568f
reverting 2019-02-08 14:57:21 +01:00
Igor Pečovnik
0ec0f39aaa
bugfix
https://forum.armbian.com/topic/9525-armbian-firmware-regulatorydb/
2019-02-03 16:09:43 +01:00
Dolf Andringa
b3f52b7028 Fix for issue #1131 (#1132) 2018-10-13 16:42:19 +02:00
Igor Pečovnik
9ce1876694
fix dependencies
we don't need this package everywhere
2018-07-15 09:17:04 +02:00
zador-blood-stained
22e0317fc8 Move installation of armbian-config deps to its script 2018-06-05 19:40:51 +03:00
Igor Pečovnik
73ffbc0a26
Changing to master branch
which is now default
2018-05-31 13:58:55 +02:00
Igor Pecovnik
312ec0ba91 Merged packages from development 2018-05-27 10:17:03 +00:00
Igor Pečovnik
347a169994
changing branch 2018-03-07 14:33:09 +01:00
Eddi De Pieri
4da02059db orangepi win can now use ap6212-bluetooth patch 2018-01-27 10:23:02 +01:00
Eddi De Pieri
6e79dc833d Revert "fix bt on orangepiwin"
This reverts commit 238072cb55.
2018-01-27 10:23:02 +01:00
Eddi De Pieri
238072cb55 fix bt on orangepiwin 2018-01-21 00:42:17 +01:00
Becker Béla
43a54f1c32 Clone and build the improved RTL8188EU driver
Using hostapd-realtek, the 8188eu module in the legacy kernel of some H3
boards has an issua with WPA enabled access points, namely clients are
unable to connect.

Using the driver from https://github.com/lwfinger/rtl8188eu fixes this.
2018-01-18 14:53:17 +01:00
Igor Pecovnik
aa991ba537 Bugfix 2018-01-05 20:13:09 +01:00
Igor Pečovnik
7d44c57737
Reverting few dependencies 2018-01-04 16:36:56 +01:00
Igor Pecovnik
fd9a64d6d4 Add dependencies to armbian-config so we don't need to check and install this 2018-01-03 14:22:55 +01:00
zador-blood-stained
220705bd73 Remove temper from armbian-tools package 2017-11-25 22:44:41 +03:00
zador-blood-stained
42e1ee8330 Update armbian-config packaging 2017-11-12 13:35:27 +03:00
Igor Pecovnik
96324893b3 Remove debug code :) 2017-11-12 09:19:46 +01:00
Igor Pecovnik
aa4b4b1aa6 Armbian-config packaging bugfix 2017-11-12 09:18:59 +01:00
zador-blood-stained
fbaba7b3ed Small cleanup 2017-11-11 22:52:42 +03:00
zador-blood-stained
5b95083b01 Rework armbian-config packaging script 2017-11-11 22:48:09 +03:00
Igor Pecovnik
325d18b4f5 Packing armbian-config 2017-11-11 20:34:23 +01:00
Igor Pecovnik
41e228f542 Firmware packaging fix
455d6b6701
2017-11-03 11:33:53 +01:00
zador-blood-stained
fbd0b46b37 Install out-of-tree drivers only if headers are available 2017-10-24 15:32:13 +03:00
Igor Pecovnik
e68c717ef8 Creating one package is enought. No need per ARCH 2017-10-20 11:00:26 +02:00
Igor Pecovnik
af25fa830c Bugfix source git and package directory were in the same place causing install firmware to / instead to /lib/firmware 2017-10-12 23:15:59 +02:00
zador-blood-stained
8fcbad05aa Move firmware to a separate repository 2017-10-07 18:36:46 +03:00
zador-blood-stained
a2c4700d5c Use fakeroot for dpkg-deb packaging 2017-09-11 16:53:42 +03:00
zador-blood-stained
1fb6fcec99 Add install_deb_chroot helper function 2017-09-07 14:00:45 +03:00
Igor Pecovnik
903e4089ae Firmware for Mediatek MT7610u, cheap dualband USB wireless chip, partially works with out of the tree driver https://github.com/ulli-kroll/mt7610u 2017-08-20 19:09:25 +02:00
Igor Pecovnik
267da55f06 USB redirector moved to armbian-config 2017-08-06 18:30:35 +02:00
zador-blood-stained
a190eebf43 Update the build script github repo address
Remove shebangs from non-executable files
2017-08-01 12:51:10 +03:00
zador-blood-stained
321fcf20a0 Remove useless CACHEDIR variable 2017-08-01 12:26:12 +03:00
zador-blood-stained
1949c0b6da Move debootstrap and packaging directories to a temp directory
This avoids errors with filesystem features and permissions when output
directory is shared in Virtualbox (i.e. when using Vagrant)
2017-08-01 12:26:10 +03:00
zador-blood-stained
56eac46d6c Remove useless SOURCES variable 2017-08-01 12:25:03 +03:00
zador-blood-stained
91be332f8a Refactor directory structure
Remove "parent of the project directory" setup
Closes #633
Closes #674
2017-08-01 12:24:56 +03:00
zador-blood-stained
a77418ff57 Move more files to the packages directory 2017-07-23 15:05:16 +03:00
zador-blood-stained
171e04abe9 Move extras and firmware to a new subdirectory 2017-07-17 17:37:58 +03:00