Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.15 #2068

Merged
merged 123 commits into from
Sep 12, 2018
Merged

v6.15 #2068

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
ef34710
v6.15
Aug 21, 2018
8d8f905
v6.15
Aug 21, 2018
8beb6ee
v6.15
Aug 21, 2018
a0818fd
v6.15
Aug 21, 2018
f9b8808
v6.15
Aug 22, 2018
135a595
v6.15
Aug 22, 2018
39a5bc4
v6.15
Aug 23, 2018
bda69ce
v6.15
MichaIng Aug 23, 2018
d20a2f7
v6.15
Aug 23, 2018
260bc4d
Merge branch 'testing' of https://github.com/Fourdee/DietPi into testing
Aug 23, 2018
c53bee5
v6.15
Aug 23, 2018
8462343
v6.15
Aug 23, 2018
f03e05e
v6.15
Aug 23, 2018
9db47fd
v6.15
Aug 23, 2018
a35e6c4
v6.15
Aug 23, 2018
660e415
v6.15
Aug 23, 2018
5473e1f
v6.15
MichaIng Aug 23, 2018
e9562f6
v6.15
Aug 23, 2018
8a61a8e
Merge branch 'testing' of https://github.com/Fourdee/DietPi into testing
Aug 23, 2018
b94ddfd
v6.15
Aug 23, 2018
8b454c7
v6.15
Aug 24, 2018
9f7530b
v6.15
Aug 24, 2018
4565f25
v6.15
Aug 24, 2018
5cd587e
v6.15
Aug 24, 2018
003c713
v6.15
Aug 24, 2018
12e24d5
v6.15
Aug 25, 2018
b498ab1
v6.15
Aug 25, 2018
cf96061
v6.15
Aug 25, 2018
9399454
v6.15
Aug 25, 2018
1ea9870
v6.15
Aug 25, 2018
9d11b3c
v6.15
Aug 25, 2018
e5ddcee
v6.15
Aug 25, 2018
68c5165
v6.15
Aug 25, 2018
b218583
v6.15
Aug 26, 2018
ac59862
v6.15
Aug 27, 2018
2fa873d
v6.15
Aug 27, 2018
18b567f
v6.15
MichaIng Aug 27, 2018
c815a5d
v6.15
Aug 27, 2018
8408e30
v6.15
Aug 27, 2018
fe4197a
v6.15
Aug 27, 2018
2b5098e
v6.15
Aug 27, 2018
6946b93
v6.15
Aug 27, 2018
4b23075
Merge pull request #2040 from Fourdee/lighttpd+phpmyadmin
Fourdee Aug 27, 2018
10580e0
v6.15
Aug 27, 2018
78b24ab
v6.15
Aug 27, 2018
3fc449e
v6.15
Aug 27, 2018
2103993
v6.15
Aug 27, 2018
69b97cc
v6.15
Aug 28, 2018
d7d67f6
v6.15
Aug 28, 2018
0c11f2e
v6.15
Aug 28, 2018
3612d77
v6.15
MichaIng Aug 28, 2018
9924be7
v6.15
Aug 29, 2018
58f6f44
v6.15
MichaIng Aug 30, 2018
a6db215
v6.15
Aug 30, 2018
c5e0e38
Merge pull request #2042 from Fourdee/dietpi-globals
Fourdee Aug 31, 2018
d06965e
v6.15
Aug 31, 2018
194f2cc
v6.15
Aug 31, 2018
a05040f
v6.15
Aug 31, 2018
806ccd0
v6.15
Aug 31, 2018
46e9e09
v6.15
Aug 31, 2018
3d214e0
v6.15
Aug 31, 2018
7cd7232
v6.15
Aug 31, 2018
ec13878
v6.15
MichaIng Sep 1, 2018
5686067
v6.15
Sep 1, 2018
e343114
v6.15
Sep 1, 2018
8ae5b9a
v6.15
Sep 1, 2018
3a14253
v6.15
Sep 1, 2018
7056947
v6.15
Sep 1, 2018
0210892
v6.15
Sep 1, 2018
f89ced7
v6.15
Sep 1, 2018
6a3ab39
v6.15
Sep 1, 2018
cf0337f
v6.15
Sep 1, 2018
5f5106d
Merge pull request #2049 from Fourdee/ssh_term_fix
Fourdee Sep 2, 2018
e673ea4
v6.15
MichaIng Sep 3, 2018
828dd86
v6.15
MichaIng Sep 5, 2018
cfc5d2d
v6.15
Sep 6, 2018
a0f22cc
v6.15
Sep 6, 2018
4d63056
v6.15
Sep 6, 2018
5ab292a
v6.15
Sep 6, 2018
4c07b5d
v6.15
Sep 6, 2018
6479047
v6.15
Sep 6, 2018
96ba8d6
v6.15
Sep 6, 2018
a36c65b
v6.15
Sep 6, 2018
24b22e2
v6.15
Sep 6, 2018
1d714ac
v6.15
Sep 6, 2018
53a7947
v6.15
Sep 6, 2018
6194e29
v6.15
MichaIng Sep 6, 2018
8212363
v6.15
Sep 7, 2018
00cfcda
Merge branch 'testing' of https://github.com/Fourdee/DietPi into testing
Sep 7, 2018
04fdb66
v6.15
Sep 7, 2018
df5b3e5
v6.15
Sep 7, 2018
8b40fe1
v6.15
Sep 7, 2018
177de86
v6.15
Sep 7, 2018
ba4ea25
v6.15
Sep 7, 2018
ad199d3
v6.15
Sep 7, 2018
3d69660
v6.15
Sep 7, 2018
40d82b0
v6.15
Sep 7, 2018
79a3ce2
Revert "v6.15"
Sep 7, 2018
59cd123
v6.15
Sep 7, 2018
14cba4e
v6.15
Sep 7, 2018
f6eb924
v6.15
Sep 8, 2018
0cdc4e9
v6.15
Sep 8, 2018
aee8090
v6.15
Sep 8, 2018
f7d1412
v6.15
Sep 8, 2018
5cb8daf
v6.15
Sep 8, 2018
7f9ff81
v6.15
Sep 8, 2018
db37459
v6.15
Sep 8, 2018
d59cf68
v6.15
MichaIng Sep 8, 2018
7b55da7
v6.15
MichaIng Sep 8, 2018
e3ec257
v6.15
MichaIng Sep 8, 2018
07221b1
v6.15
Sep 9, 2018
6d2d424
Merge branch 'testing' of https://github.com/Fourdee/DietPi into testing
Sep 9, 2018
3c92068
v6.15
MichaIng Sep 9, 2018
daa6ab6
v6.15
MichaIng Sep 9, 2018
33b8218
Merge pull request #2062 from Fourdee/drive_manager
Fourdee Sep 10, 2018
3046196
v6.15
MichaIng Sep 10, 2018
564950d
v6.15
Sep 11, 2018
1cae77f
Merge branch 'testing' of https://github.com/Fourdee/DietPi into testing
Sep 11, 2018
7e1fcf8
v6.15
Sep 11, 2018
2132dec
v6.15
Sep 11, 2018
7060775
v6.15
Sep 12, 2018
bb0a7eb
v6.15
Sep 12, 2018
6993afc
v6.15
Sep 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions .meta/survey_report
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ aSOFTWARE_NAME=(
[73]='Fail2Ban'
[74]='InfluxDB'
[75]='LASP'
[76]='LAAP'
[76]='LAMP'
[77]='Grafana'
[78]='LESP'
[79]='LEAP'
[79]='LEMP'
[80]='NULL'
[81]='LLSP'
[82]='LLAP'
[82]='LLMP'
[83]='Apache2'
[84]='Lighttpd'
[85]='Nginx'
Expand Down Expand Up @@ -256,13 +256,34 @@ done
aSOFTWARE_NAME6_12[2]='NULL' # CurlTMPFS
aSOFTWARE_NAME6_12[148]='NULL' # JRiver

# - v6.13 testing
# - v6.13
aSOFTWARE_NAME6_13=()
for i in ${!aSOFTWARE_NAME6_12[@]}
do

aSOFTWARE_NAME6_13[$i]="${aSOFTWARE_NAME6_12[$i]}"

done
aSOFTWARE_NAME6_13[2]='Folding@Home'
aSOFTWARE_NAME6_13[106]='Lidarr'

# - v6.14
aSOFTWARE_NAME6_14=()
for i in ${!aSOFTWARE_NAME6_13[@]}
do

aSOFTWARE_NAME6_14[$i]="${aSOFTWARE_NAME6_13[$i]}"

done
aSOFTWARE_NAME6_14[38]='FreshRSS'

# - v6.15 testing
aSOFTWARE_NAME6_15=()
for i in ${!aSOFTWARE_NAME6_14[@]}
do

aSOFTWARE_NAME6_15[$i]="${aSOFTWARE_NAME6_14[$i]}"

done

# Copy files to RAM to speed up grep
Expand Down
39 changes: 39 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,43 @@

v6.15
(12/09/18)

Many thanks to PINE64, for becoming our 1st Patreon Legend and supporting our project! As one of their rewards, you will see PINE64 displayed on login via the DietPi-Banner.

Known issues / In progress:
DietPi-Software | Open Bazaar: Installation updated to server version 2, which now runs via go language. At the current state, client OB connections are failing, still under investigation: https://github.com/Fourdee/DietPi/issues/1090#issuecomment-419613346

Changes / Improvements / Optimizations:
General | Changed Survey and Bugreport uploads to use ssh.dietpi.com (previously IP): https://github.com/Fourdee/DietPi/issues/2022#issuecomment-415470064
General | 1st run setup and dietpi-update logs are now created in RAM, then copied to disk once completed '/var/tmp/dietpi/logs/dietpi-firstrun-setup.log'. This will speed up 1st run setup installation for slow SBCs and/or rootFS.
General | PineA64: Image updated to v6.14, also contains the latest kernel/uboot by Ayufan (0.6.2): https://github.com/Fourdee/DietPi/issues/2026
General | Resolved an isssue where the initial 1st run connection test would fail, if timesync had not yet completed, and, the SSL cert of the connection test site is not valid for current date on system: https://github.com/Fourdee/DietPi/issues/2039
General| SparkySBC: Support for native DSD playback on iFi Pro iDSD. Many thanks @sudeep: https://github.com/sparky-sbc/sparky-test/tree/master/dsd-marantz
DietPi-Backup/Sync | rsync transfer: Now shows progress information during the transfer: https://github.com/Fourdee/DietPi/issues/2044#issuecomment-417779406
DietPi-Backup | Added an option to delete the currently selected backup, if it exists.
DietPi-Config | Advanced Options: You can now toggle if a real RTC is installed. This adds/removes 'fake-hwclock' package installation as requested: https://github.com/Fourdee/DietPi/issues/2041
DietPi-Config | Added support for setting CPU min/max frequencies on Intel based CPUs. NB: 'cpu' command will always list the min/max frequencies read from kernel values, Intel CPUs do not update these values, however, you can gauge CPU frequency range by running 'cpu' to monitor the current CPU freq (use of stress test in 'dietpi-config' may also help).
DietPi-Drive_Manager | Added support to set a global idle duration, before drives are powered down. This feature uses hdparm. Not all drives will support this feature, however, its the best we can do, considering the lack of any standardised system across all drives, compatible with hdparm and visa versa: https://github.com/Fourdee/DietPi/issues/2001
DietPi-Drive_Manager | When mounting drives to existing directories, if the directory is empty, you will given an option to mount regardless. If the directory contains any files or data, mounting will be denied: https://github.com/Fourdee/DietPi/issues/2056
DietPi-Software | MPD: Updated to 0.20.21 and now includes SQL (sticker) support by default: https://github.com/Fourdee/DietPi/issues/2032#issuecomment-415559451
DietPi-Software | myMPD: Now available for installation. A recent fork of YMPD with additional features: https://github.com/Fourdee/DietPi/issues/2032#issuecomment-415559451
DietPi-Software | Emby: Reworked the installation to use standalone .debs, for fresh installations only. Now supports ARMv8 devices. ARMv6 devices are not supported: https://github.com/Fourdee/DietPi/issues/534#issuecomment-416405968

Bug Fixes:
General | fake-hwclock: is now installed for all systems, due to 'hwclock' detection reporting incorrect results, for those devices without a RTC attached: https://github.com/Fourdee/DietPi/issues/2035#issuecomment-416345155
General | Resolved an issue where enabling the RPi camera (dietpi-config or installed via dietpi-software), would result in concurrent execution error: https://github.com/Fourdee/DietPi/issues/2008#issuecomment-414846353
General | Resolved an issue with RK based network devices, where enabling offloading would cause stability issues. Many thanks to @carlosedp for this fix!: https://github.com/Fourdee/DietPi/issues/2028#issue-352323603
General | Resolved an issue where automatic swapfile generation, would not run a freespace check prior: https://github.com/Fourdee/DietPi/issues/2048#issuecomment-417855645
DietPi-Automation | Resolved an issue where 'AUTO_SETUP_INSTALL_SOFTWARE_ID' would include numbers contained within comments: https://github.com/Fourdee/DietPi/issues/2036#issuecomment-416613903
DietPi-Cloudshell | Resolved incorrect RAM usage readout, and, inability to run from menu on same screen: https://github.com/Fourdee/DietPi/issues/2066
DietPi-Config | Resolved an issue with PineA64 resolution changes, due to updated uEnv.txt on the latest PineA64 image. NB: for this feature to work, you must have an installation of the latest PineA64 v6.14 image from the DietPi site: https://dietpi.com/phpbb/viewtopic.php?f=11&t=4431&p=14010#p14010
DietPi-Drive_Manager | Correctly handles bind mounts, contained within '/etc/fstab': https://github.com/Fourdee/DietPi/issues/2013
DietPi-Process_Tool | Resolved an issue with PIDs no longer existing, causing an apply to fail: https://github.com/Fourdee/DietPi/issues/2059
DietPi-Software | PlexPy/Tautulli: Resolved an issue with recent pre-req changes for this application, required for start functionality: https://github.com/Fourdee/DietPi/issues/2047
DietPi-Update | Resolved an issue where all required EMR patches, would not be applied, in the 1st pass of the patch_file.

-----------------------------------------------------------------------------------------------------------

v6.14
(21/08/18)

Expand Down
30 changes: 23 additions & 7 deletions PREP_SYSTEM_FOR_DIETPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,7 @@ _EOF_

G_RUN_CMD systemctl enable dietpi-ramlog
G_RUN_CMD systemctl enable dietpi-boot
G_RUN_CMD systemctl enable dietpi-preboot
G_RUN_CMD systemctl enable dietpi-postboot
G_RUN_CMD systemctl enable kill-ssh-user-sessions-before-network

Expand Down Expand Up @@ -1174,6 +1175,14 @@ _EOF_
/DietPi/dietpi/func/dietpi-set_hardware serialconsole enable
# - Disable for post-1st run setup:
sed -i '/^[[:blank:]]*CONFIG_SERIAL_CONSOLE_ENABLE=/c\CONFIG_SERIAL_CONSOLE_ENABLE=0' /DietPi/dietpi.txt
# - must be enabled for the following:
# XU4: https://github.com/Fourdee/DietPi/issues/2038#issuecomment-416089875
# RockPro64: Fails to boot into kernel without serial enabled
if (( $G_HW_MODEL == 11 || $G_HW_MODEL == 42 )); then

sed -i '/^[[:blank:]]*CONFIG_SERIAL_CONSOLE_ENABLE=/c\CONFIG_SERIAL_CONSOLE_ENABLE=1' /DietPi/dietpi.txt

fi

G_DIETPI-NOTIFY 2 'Reducing getty count and resource usage:'

Expand Down Expand Up @@ -1238,7 +1247,7 @@ _EOF_
spindown_time = 120

#
apm = 254
apm = 127
}
_EOF_
export G_ERROR_HANDLER_EXITCODE=$?
Expand Down Expand Up @@ -1395,18 +1404,25 @@ _EOF_

/DietPi/dietpi/func/dietpi-set_hardware wificreds set

G_DIETPI-NOTIFY 2 'Disabling generic WiFi/BT by default'
G_DIETPI-NOTIFY 2 'Disabling generic BT by default'

/DietPi/dietpi/func/dietpi-set_hardware bluetooth disable
/DietPi/dietpi/func/dietpi-set_hardware wifimodules disable

G_DIETPI-NOTIFY 2 'Enabling onboard WiFi modules by default'
# - Set WiFi
local tmp_info='Disabling'
local tmp_mode='disable'
if (( $WIFI_REQUIRED )); then

tmp_info='Enabling'
tmp_mode='enable'

/DietPi/dietpi/func/dietpi-set_hardware wifimodules onboard_enable
fi

#G_DIETPI-NOTIFY 2 'Configuring IP version preferences'
G_DIETPI-NOTIFY 2 "$tmp_info onboard WiFi modules by default"
/DietPi/dietpi/func/dietpi-set_hardware wifimodules onboard_$tmp_mode

#/DietPi/dietpi/func/dietpi-set_hardware preferipversion ipv4 #Already done at top of script, and now default in dietpi.txt
G_DIETPI-NOTIFY 2 "$tmp_info generic WiFi by default"
/DietPi/dietpi/func/dietpi-set_hardware wifimodules $tmp_mode

# x86_64: kernel cmd line with GRUB
if (( $G_HW_ARCH == 10 )); then
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,6 @@ FreshRSS

Folding@Home
- https://github.com/FoldingAtHome

OpenBazaar
- https://github.com/OpenBazaar/openbazaar-go
18 changes: 13 additions & 5 deletions dietpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ AUTO_SETUP_LOCALE=en_GB.UTF-8
# Keyboard Layout eg: gb us de fr
AUTO_SETUP_KEYBOARD_LAYOUT=gb

# Custom Script | Requires AUTO_SETUP_AUTOMATED=1
# Custom Script (pre-networking and pre-DietPi install) | Runs before DietPi installation and networking
# Allows you to automatically execute a custom script before networking and DietPi installation is started
# Option 1 = Copy your script to /boot/Automation_Custom_PreScript.sh and it will be executed automatically.
# NB: Executed script log /var/tmp/dietpi/logs/dietpi-automation_custom_prescript.log

# Custom Script (post-networking and post-DietPi install) | Runs after DietPi installation is completed
# Allows you to automatically execute a custom script at the end of DietPi installation.
# Option 1 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically.
# Option 2 = Host your script online, then use AUTO_SETUP_CUSTOM_SCRIPT_EXEC=http://myweb.com/myscript.sh , it will be downloaded and executed automatically. | 0=disabled
Expand All @@ -146,13 +151,15 @@ CONFIG_HDMI_OUTPUT=1
CONFIG_CPU_GOVERNOR=ondemand
CONFIG_CPU_USAGE_THROTTLE_UP=50

#Limit the max cpu frequency (Mhz) for all cores. | Disabled=disabled | Useful for lowering temp/power usage on your device.
#CPU Frequency Limits
# NB: Intel CPU's use a percentage value (%) from 0-100 (eg: 55)
# NB: All other devices must use a specific MHz value (eg: 1600)
# Limit the MAX cpu frequency for all cores | Disabled=disabled
CONFIG_CPU_MAX_FREQ=Disabled

#Limit the min cpu frequency (Mhz) for all cores. | Disabled=disabled | Useful for 1-wire correct support (eg. 480Mhz).
# Limit the MIN cpu frequency for all cores | Disabled=disabled
CONFIG_CPU_MIN_FREQ=Disabled

#Disable Intel based turbo/boost stepping.
# Disable Intel based turbo/boost stepping. This flag should not be required, setting <100% MAX frequency should disable Turbo on Intel CPU's.
CONFIG_CPU_DISABLE_TURBO=0

#Min value 10000 microseconds (10ms)
Expand Down Expand Up @@ -183,6 +190,7 @@ CONFIG_WIFI_COUNTRY_CODE=GB

#Serial Console: Set to 1 if you require a serial console.
# NB: Serial console is always enabled by default for 1st run setup, then disabled afterwards, unless set below.
# NB: must be ENABLED for the following boards: Odroid XU4/HC1/HC2, RockPro64
CONFIG_SERIAL_CONSOLE_ENABLE=0

#Soundcard
Expand Down
2 changes: 1 addition & 1 deletion dietpi/.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
6
14
15
Loading