Commit Graph

447 Commits

Author SHA1 Message Date
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
d172d37dd8 [ rk3399 bluetooth ] Fixed and tested on Rockpi4, NanopiM4, Orangepi RK3399 2019-06-09 17:15:02 +02:00
Igor Pecovnik
c936995b61 [ rockpi-4b ] Enable Bluetooth 2019-06-09 09:23:15 +02:00
Thomas McKahan
ad2588ede2 [ rockchip next ] improve ALSA config
https://github.com/armbian/build/issues/1367
2019-06-09 00:18:58 -04:00
Igor Pečovnik
5473fe28d8
Soft video playback on full screen
https://github.com/armbian/build/pull/1379
2019-05-23 21:30:24 +02:00
Igor Pečovnik
7a58184037
Merge pull request #1381 from OLIMEX/fix_hardware_optimization
Fix block iosched for kernel 4.20
2019-05-23 21:28:13 +02:00
Stefan Mavrodiev
20c4209a3b Add rootdev= to armbianEnv if missing 2019-05-23 13:27:50 +03:00
Stefan Mavrodiev
4450e3a037 Fix block iosched for kernel 4.20 2019-05-23 11:16:18 +03:00
Igor Pecovnik
6abbb74cbc [ general ] Unattended upgrades are disabled by default. This commit gives only sane startup pattern if one wish to enable this feature. Perhaps toggle once lands in armbian-config 2019-05-20 20:03:29 +02:00
Igor Pečovnik
70dc1c1b2f
Cosmetical
Exclude also when syncing to disk
2019-05-20 14:07:48 +02:00
Igor Pečovnik
6429ea8d63
Cosmetical
We don't need to sync this and in some cases it throws out warnings
2019-05-20 12:46:07 +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
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
cde51f556a
Merge pull request #1370 from wtfo-guru/fix_truncate_logs
added missing mail logs, and firewalld log
2019-05-14 18:29:21 +02:00
Quien Sabe
d3257d247c added missing mail logs, and firewalld log 2019-05-14 09:35:53 -04:00
Igor Pečovnik
f67464e03f
Show 1-wire in motd only if declared
in /etc/default/armbian-motd
2019-05-14 15:27:14 +02:00
Igor Pečovnik
a5fba366ce
Update armbian-motd.dpkg-dist 2019-05-14 15:25:49 +02:00
Igor Pečovnik
b88d999b3b
Tiny improvements 2019-05-14 14:13:37 +02:00
Igor Pečovnik
86b8fac8ef
Small improvements
for not showing errors when w1 is enabled but device not present
2019-05-14 12:24:43 +02:00
Igor Pečovnik
5d94f08deb
Optional temp readings
Display W1 temp in MOTD as ambient if present
2019-05-14 12:00:20 +02:00
Igor Pecovnik
30fd3162ef [ general ] added htop to be build from sources, disco and buster only, our motifications will be added later. 2019-05-13 10:34:57 +02:00
Igor Pecovnik
552db3d323 Buster and Disco releated adjustements. 2019-05-13 07:47:29 +02:00
Igor Pecovnik
438133dac4 [ meson64 ] set fixed cloned mac in the first run, adjust patches for DEV branch 2019-05-05 23:32:29 +02:00
Igor Pečovnik
7368b0bfe1
Window was too big
Adjusting to sane values
2019-05-04 10:03:36 +02:00
Igor Pečovnik
4da09e425e
Cosmetical
Fixing broken "warning" display
2019-05-04 09:38:26 +02:00
Igor Pečovnik
783c2d0e25
Bugfix
https://github.com/armbian/build/issues/1359
2019-05-02 08:14:09 +02:00
Igor Pecovnik
04f9f85794 [ rk3399 & general ] Move RK3399 to U-boot 2019.04 (briefly tested on T4+). Adding hostname to htop 2019-04-28 22:57:42 +02:00
Igor Pecovnik
21478fed59 Nanopi boards - set consistent naming 2019-04-19 19:58:08 +02:00
Stefan Mavrodiev
1cd0a8b486 Place Armbian wallpapper also on monitor 1 2019-04-08 16:04:38 +03:00
Simone Rossetto
f4e50fc963 Change regex match from 'log/' to '/log/'
The sed command was wrongly replacing every folder whose name ends
in 'log/' with 'log.hdd/', so i.e. '/var/log/ulog/*.log' became
'/var/log.hdd/ulog.hdd/*.log'. Subsequent logrotate exections would
fail due to non existent folders.

In addition, some logrotate config files may have more than one path
per line, so a 'g' option in the sed replacement regex is required
to replace all '/log/' entries at once.
2019-03-20 16:38:38 +01:00
Igor Pecovnik
a08d72b4b8 [ rk3399 default ] enable workaround for fixed MAC 2019-03-10 18:28:51 +01:00
ThomasKaiser
59e8085ca1 Bugfixes and remove unused function in nand-sata-install 2019-03-08 17:58:46 +01:00
ThomasKaiser
71e7ad2e02 Avoid kernel 5.x surprise 2019-03-08 17:38:30 +01:00
ThomasKaiser
6631b18e79 Use only 1 zram device for swap with modern kernels 2019-03-08 16:55:34 +01:00
ThomasKaiser
e871577202 Enable optional zram backing device 2019-03-08 16:40:34 +01:00
lanefu
5f83200147
Merge pull request #1299 from wtfo-guru/fix_path_issue
fix path issue for cron.d script
2019-03-05 23:07:58 -05:00
Quien Sabe
52eaaf69c9 updated per recommendation, reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617898#22" 2019-03-05 11:34:25 -05:00
Thomas Kaiser
10f9ea7db5
Avoid temp file vulnerabilities 2019-03-04 07:52:46 +01:00
Igor Pečovnik
824fcbf744
Merge pull request #1300 from helios-4/helios4-wol
[ helios4 ] Enable WoL for eth0
2019-03-03 17:33:31 +01:00
Anton-Latukha
f2e183da34 nand-sata-install: different errors - different codes & debug help 2019-03-02 22:22:19 +02:00
Anton-Latukha
b37f4e13c8 nand-sata-install: errors should go to stderr and have clear message 2019-03-02 22:22:17 +02:00
Anton-Latukha
85e0d124cd nand-sata-install: errors should have the error exit code 2019-03-02 22:20:34 +02:00
Anton-Latukha
b2075df485 nand-sata-install: fix exit -1 - impossible exit code
Someone wrote ridicilous stuff. There is only one exit code range - [0-255].
There is no negative return codes in Unix shells.
2019-03-02 20:33:52 +02:00
Anton-Latukha
fcd95f997e nand-sata-install: deprecated egrep -> grep -E 2019-03-02 20:30:54 +02:00
Gauthier Provost
194d887ab1 [ helios4 ] Enable WoL for eth0 2019-03-02 22:59:36 +08:00
Quien Sabe
9dd404c4aa fix path issue for cron.d script 2019-02-26 16:22:36 -05:00
Anton-Latukha
120e898ddd nand-sata-install: $n, ${n} -> "$n" 2019-02-25 18:54:54 +02:00
Anton-Latukha
328737f9c9 nand-sata-install: $2 -> "$2" 2019-02-25 18:54:54 +02:00