Commit Graph

182 Commits

Author SHA1 Message Date
ThomasKaiser
098a391996 Prepare zram compressed /tmp
Will only be active when /tmp entry is removed from /etc/fstab.
2018-09-06 23:08:02 +02:00
Thomas Kaiser
c24ceea4b1
Allow also RAMLOG_ALGORITHM to be defined with zram 2018-09-06 21:56:51 +02:00
Thomas Kaiser
3d0a5a38ca
Split zram swap and ramlog creation
armbian-zram-config acts partially only as helper for armbian-ramlog so use the latter's config.
2018-09-06 21:19:12 +02:00
ThomasKaiser
e0d8b11ade Make SWAP_ALGORITHM also configurable with zram swap 2018-09-06 01:36:18 -07:00
Thomas Kaiser
4804c91114
Make ZRAM_PERCENTAGE and ZRAM_MAX_DEVICES configurable 2018-09-06 10:04:37 +02:00
Igor Pecovnik
50cd819a4d Swappiness correction for update and a few bugfixes https://forum.armbian.com/topic/5565-zram-vs-swap/?page=2&tab=comments#comment-61168 2018-09-04 22:13:43 +02:00
Igor Pecovnik
5d57dbea3a OrangePi win GMAC is very unstable on gigabit. Limit it down to 100Mb solve problems + enlarge desktop image size for 5% 2018-09-03 10:21:07 +02:00
Tanarri
83e593e13e Stop also service "fail2ban"
Apache service is stopped. Why not stopping also the service fail2ban, which is often installed beside apache
2018-09-02 22:31:51 +02:00
Igor Pecovnik
fda2c1c424 Meson64 boot script bugfix and 1st run setting MAC via Network manager for boards where is random 2018-09-02 14:04:16 +02:00
Igor Pečovnik
51b5cfdc42
Merge pull request #1069 from zhiverbox/master
Redo of implementation for feature request #947 on current master
2018-08-31 11:40:33 +02:00
ThomasKaiser
e0a1028797 Set dmc DRAM governor to performance on RK3399/default
https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=60848
2018-08-30 18:37:30 +02:00
ThomasKaiser
4910ad2fc2 Revert "Set dmc DRAM governor to performance on RK3398/default"
This reverts commit 3b713754a8.
2018-08-30 18:31:34 +02:00
ThomasKaiser
3b713754a8 Set dmc DRAM governor to performance on RK3399/default
https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=60848
2018-08-30 17:59:09 +02:00
zador-blood-stained
64e7dfd923 armbian-add-overlay: Fall back to always using headers dtc
dtc in Bionic still has bugs that affect some overlays
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/livetree.c?id=bba26a5291c8343101e0296b0e478deb4c9b60b0
2018-08-29 21:34:15 +03:00
Martin Ayotte
f469d4c66e fix missing rockchip64 LINUXFAMILY in nand-sata-install 2018-08-27 17:22:47 -04:00
ThomasKaiser
b00ba112ac Adjust board family rename in armbian-hardware-optimization too 2018-08-26 16:30:28 +02:00
zciendor
bd83c60b23
Merge remote-tracking branch 'upstream/master' 2018-08-26 07:04:03 -05:00
ThomasKaiser
f10acc0080 Try to fix DNS (privacy) issues 2018-08-24 20:26:08 +02:00
Igor Pecovnik
e04177dfba Updated RK3399 config, revert executing bit on armbian-hardware-optimisation, enable overclocking for RK3399 boards 2018-08-12 19:24:36 +02:00
Thomas Kaiser
efe63dbe7f
Run package integrity check only as root
Closes #1078
2018-08-12 12:08:46 +02:00
Thomas Kaiser
9bce3eb58b
Cosmetic log fix 2018-08-12 11:47:08 +02:00
Thomas Kaiser
68d1fae8ce
RK3399 IRQ affinity assignment first try 2018-08-12 11:41:32 +02:00
Igor Pecovnik
802c7be55f ArmbianEnv.txt file cleanup. Without LF parameters can be added to the same line and board might not boot at all. This should fix the problem. 2018-08-11 17:43:20 +02:00
ThomasKaiser
88ea83e694 armbianmonitor bugfix 2018-08-06 06:56:46 +02:00
ThomasKaiser
a70fd8033d Add Tinkerboard S DC-IN voltage to armbianmonitor
https://forum.armbian.com/topic/7882-tinkerboard-s-what-is-asus-view-on-voltage-drops-in-cables/?do=findComment&comment=59445
2018-08-06 06:43:49 +02:00
Igor Pecovnik
d2147b50c2 Enable Odroid C1 NEXT, 4.17.y ... usable as headless server. Known issues: stuck on reboot, need power cycle, no hdmi console, no DVFS. 2018-08-01 13:00:31 +02:00
zciendor
ddf0ed1edf
Redo of implementation for feature request #947 on current master
This was already implemented with https://github.com/armbian/build/pull/948,
before but never made it into the master branch yet. Probably because the
development branch has been abandoned in the meantime and it is to much effort
now to merge it into master.

It includes all the cleanup changes from commit 08743d3 and has been successfully
tested on an Odroid HC1.

In addition to what is currently in the `luks` branch the following improvments
where done/added:

1. update_initramfs() function in debbootstrap-ng.sh, which needs to be invoked
   after the partition layout and /etc/crypttab was created. Else `cryptroot-unlock`
   won't work and you'll run into:
   https://serverfault.com/questions/907254/cryproot-unlock-with-dropbear-timeout-while-waiting-for-askpass

   Apart from that it might be useful to always run `update-initramfs` at the end
   of the build process anyway, in case customize_image (userpatches) made some
   changes to the initramfs tools configs.

2. CRYPTROOT_SSH_UNLOCK=yes/no config option. It's by default set to yes, but it
   might be desired by some users to disable enable SSH/dropbear access while
   still having LUKS support. E.g. if they have a device that has a display
   and keyboard.

3. If no `authorized_keys` file is provided via userpatches, a new SSH key pair
   is generated and for convenience copied to the output directory along with
   the final image.
2018-07-31 16:02:26 -05:00
zador-blood-stained
d1fc3b898b Bugfixes for armbian-add-overlay changes 2018-07-26 14:17:34 +03:00
zador-blood-stained
7f9e4e1a43 Rework checks for dtc in armbian-add-overlay
Ubuntu Bionic and newer Debian distributions have new enough dtc for
compiling overlays, so try to use distribution provided compiler if
kernel headers are not installed
2018-07-26 14:08:53 +03:00
ThomasKaiser
e63138bacd Allow 7-zip benchmark to run multiple times 2018-07-22 14:53:16 +02:00
ThomasKaiser
13d034b747 Add 7-zip CPU benchmark to armbianmonitor
Unfortunately still people believe into sysbench to be able to report CPU performance
2018-07-22 12:05:56 +02:00
Igor Pečovnik
80ea69910a
Suppressing irrelevant error code 2018-07-20 09:02:41 +02:00
ThomasKaiser
4117a76167 Minor bugfixes 2018-07-19 12:41:09 +02:00
Thomas Kaiser
7c5b606a85
Add cron-apt and unattended-upgrades to RecreateLogs 2018-07-18 15:53:35 +02:00
ThomasKaiser
52bef7ddf9 Try to improve ondemand scheduler and thermal readouts
https://forum.armbian.com/topic/6398-orange-pi-zero-cpu-and-load-issues-with-538/?do=findComment&comment=58057 and https://forum.armbian.com/topic/7032-nanopi-k1-plus-to-be-released-soon/?do=findComment&comment=58172
2018-07-15 23:10:26 +02:00
ThomasKaiser
0c5d1b3639 Correct partition aligment in nand-sata-install
Also prepare for RK3399
2018-07-11 09:16:43 +02:00
ThomasKaiser
8540778100 Minor ramlog fixes 2018-07-11 07:29:08 +02:00
ThomasKaiser
80c8753d78 [OMV] Minor fixes 2018-07-09 13:41:24 -07:00
ThomasKaiser
5c214b0cc1 Few ramlog/zram fixes/improvements 2018-07-09 11:55:39 -07:00
Igor Pečovnik
e78c66b3a9
bugfix 2018-07-09 19:50:23 +02:00
Thomas Kaiser
5bd6ab4b0d
Formatting fixes and log creation only when needed 2018-07-09 15:40:12 +02:00
Igor Pečovnik
7283c12ffd Fix permissions for script and in one patch, s5p6818 kernel config adjustement 2018-07-06 07:07:41 +00:00
Igor Pečovnik
52c71aba80
Logrotate fix
https://github.com/armbian/build/issues/1033
2018-07-06 06:59:38 +02:00
Igor Pečovnik
cf40fda60a Add OMV 4 module dependencies and a workaround for ram2log that OMV can make use ZRAM powered ramlog. It is also helpful in case of sudden crash. Nginx can't start without log places into its subdir. We create them on start. 2018-07-04 14:19:50 +00:00
Igor Pecovnik
908dd71d2d Revert "Adjusted ZRAM implementation"
This reverts commit 46d754f909.
2018-06-30 23:00:26 +02:00
Igor Pečovnik
46d754f909 Adjusted ZRAM implementation
https://forum.armbian.com/topic/7503-we-need-your-help/?tab=comments#comment-57029
2018-06-29 11:14:04 +00:00
Igor Pečovnik
b2bb8fba4f Fix ZRAM & RAMLOG startup troubles. Tested on all targets, permission fix in patches, adjust Udoo NEXT patches 2018-06-25 15:59:58 +00:00
Igor Pečovnik
bffd9a4a72 Workaround for activating ZRAM on some older kernels and enabling zram compression method in Odroid C2 kernel config 2018-06-22 11:51:05 +00:00
Igor Pecovnik
04254c4878 Fixing crontab and adjusting logrotate command
https://github.com/armbian/build/issues/1021
2018-06-20 09:49:06 +02:00
Igor Pečovnik
a0a49416e0 Bugfix and add another file to cleaning list 2018-06-17 13:07:02 +00:00