Skip to content

Commit

Permalink
v160
Browse files Browse the repository at this point in the history
  • Loading branch information
Fourdee committed Dec 18, 2017
1 parent 3b65b0a commit d94176c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ DietPi-Config | WiFi: Now uses the wpa_supplicant.conf method to setup WiFi conn
DietPi-Backup | "Full Backup" Mode is now the default for fresh DietPi installations. This is mainly due to MySQL data now being in the DietPi userdata directory.
DietPi-Config | Tools > Benchmarks: Added ability to benchmark CPU performance based on bash + integer: https://github.com/Fourdee/DietPi/issues/1253#issuecomment-346881878
DietPi-Config | Time sync modes: NTP is now uninstalled when SystemD timedatectl is enabled. Reinstalled on demand. Timedatectl pool servers are now also set: https://github.com/Fourdee/DietPi/issues/1208#issuecomment-343762480
DietPi-Software | First run setup, now logged to /var/lib/dietpi/logs/dietpi-firstrun-setup.log.
DietPi-Software | APT log: Moved to /var/lib/dietpi/logs/dietpi-software_apt.log, to prevent RAMlog clearing log during automated installations.
DietPi-Software | First run setup, now logged to /var/tmp/dietpi/logs/dietpi-firstrun-setup.log.
DietPi-Software | APT log: Moved to /var/tmp/dietpi/logs/dietpi-software_apt.log, to prevent RAMlog clearing log during automated installations.
DietPi-Software | MPD (Stretch): Install updated to 0.20.11. Also supports native DSD playback (thanks to @sudeep and PJotr), when "Native" output freq/bit is set: https://github.com/Fourdee/DietPi/issues/1236
DietPi-Software | moOde: MPD now installed via pre-built binaries. Will reduce install time: https://github.com/Fourdee/DietPi/issues/1223#issuecomment-345265290
DietPi-Software | Nextcloud: Large installation rework, featuring redis file locking, system cron jobs, automatic maintenance, optimized webserver stack configs and others: https://github.com/Fourdee/DietPi/issues/1067
Expand Down Expand Up @@ -136,7 +136,7 @@ General | Improved notifications for when DietPi is installing system with autom
General | DietPi RPi Kernel: Updated to 4.9.52
General | RPi Stretch: Updated, matching official release of 2017-09-07-raspbian-stretch-lite
General | DietPi-Automation: "AUTO_Global_Password=" in "dietpi.txt" will also be applied to the "dietpi" user account. Please note this will only take effect on v157 and higher DietPi images, due to "boot" script requiring an update: https://github.com/Fourdee/DietPi/issues/1134
DietPi-Update | Added logging for updates > /var/lib/dietpi/logs/dietpi-update.log
DietPi-Update | Added logging for updates > /var/tmp/dietpi/logs/dietpi-update.log
DietPi-LetsEncrypt | Added support for Nginx on Stretch. Many thanks to @Bridouz for contributing this: https://github.com/Fourdee/DietPi/pull/1166
DietPi-Software | Apache2 + NextCloud: Various optimizations. For new installations only. Many thanks to @MichaIng for this contribution: https://github.com/Fourdee/DietPi/issues/1067
DietPi-Software | Allo Web Interface: Hidden from software list for now, please use pre-made images: http://dietpi.com/phpbb/viewtopic.php?f=8&t=2317#p8868
Expand Down
6 changes: 3 additions & 3 deletions PREP_SYSTEM_FOR_DIETPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ Before=dietpi-ramdisk.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/bin/bash -c '/etc/dietpi/fs_partition_resize.sh | tee /var/lib/dietpi/logs/fs_partition_resize.log'
ExecStart=/bin/bash -c '/etc/dietpi/fs_partition_resize.sh | tee /var/tmp/dietpi/logs/fs_partition_resize.log'
StandardOutput=tty
[Install]
Expand Down Expand Up @@ -1279,7 +1279,7 @@ Before=dietpi-ramdisk.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/bin/bash -c "resize2fs \$(findmnt / -o source -n) | tee /var/lib/dietpi/logs/fs_expand.log; systemctl disable dietpi-fs_expand.service; systemctl daemon-reload"
ExecStart=/bin/bash -c "resize2fs \$(findmnt / -o source -n) | tee /var/tmp/dietpi/logs/fs_expand.log; systemctl disable dietpi-fs_expand.service; systemctl daemon-reload"
StandardOutput=tty
[Install]
Expand All @@ -1292,7 +1292,7 @@ _EOF_
# #debug
# systemctl start dietpi-fs_partition_resize.service
# systemctl status dietpi-fs_partition_resize.service -l
# cat /var/lib/dietpi/logs/fs_partition_resize.log
# cat /var/tmp/dietpi/logs/fs_partition_resize.log


dietpi-notify 2 'Sync changes to disk and TRIM rootFS'
Expand Down
2 changes: 1 addition & 1 deletion dietpi/dietpi-bugreport
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ _EOF_
# - DietPi scripts / logs
"/DietPi/*"
"/boot/*"
"/var/lib/dietpi/logs/*"
"/var/tmp/dietpi/logs/*"

# - confs
"/etc/X11/xorg.conf"
Expand Down
2 changes: 1 addition & 1 deletion dietpi/dietpi-update
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#/////////////////////////////////////////////////////////////////////////////////////
#UPDATE Vars
#/////////////////////////////////////////////////////////////////////////////////////
FP_LOG='/var/lib/dietpi/logs/dietpi-update.log'
FP_LOG='/var/tmp/dietpi/logs/dietpi-update.log'
DIETPIUPDATE_VERSION_CURRENT=5 # Version of dietpi-update / set server_version line two to value++ and obsolete previous dietpi-update scripts
DIETPIUPDATE_VERSION_REQUIRED=0

Expand Down
2 changes: 1 addition & 1 deletion dietpi/func/dietpi-globals
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#-----------------------------------------------------------------------------------
# APT
#-----------------------------------------------------------------------------------
FP_LOG_APT='/var/lib/dietpi/logs/dietpi-software_apt.log'
FP_LOG_APT='/var/tmp/dietpi/logs/dietpi-software_apt.log'
EXITCODE_APT=0 #only way I found of exporting the exit code, once the command is run.

#Support for apt-fast: https://github.com/Fourdee/DietPi/issues/698
Expand Down
2 changes: 1 addition & 1 deletion dietpi/login
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
HW_MODEL=$(sed -n 1p /DietPi/dietpi/.hw_model)
DISTRO=$(sed -n 3p /DietPi/dietpi/.hw_model)
DIETPI_INSTALL_STAGE=$(cat /DietPi/dietpi/.install_stage)
FP_DIETPI_FIRSTRUNSETUP_LOG='/var/lib/dietpi/logs/dietpi-firstrun-setup.log'
FP_DIETPI_FIRSTRUNSETUP_LOG='/var/tmp/dietpi/logs/dietpi-firstrun-setup.log'

#/////////////////////////////////////////////////////////////////////////////////////
#DietPi-Autostart
Expand Down
8 changes: 4 additions & 4 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -2274,9 +2274,9 @@ After=local-fs.target
[Service]
Type=forking
RemainAfterExit=yes
ExecStartPre=/bin/mkdir -p /var/lib/dietpi/logs
ExecStart=/bin/bash -c '/boot/dietpi/dietpi-ramdisk 0 &>> /var/lib/dietpi/logs/dietpi-ramdisk.log'
ExecStop=/bin/bash -c '/DietPi/dietpi/dietpi-ramdisk 1 &>> /var/lib/dietpi/logs/dietpi-ramdisk.log'
ExecStartPre=/bin/mkdir -p /var/tmp/dietpi/logs
ExecStart=/bin/bash -c '/boot/dietpi/dietpi-ramdisk 0 &>> /var/tmp/dietpi/logs/dietpi-ramdisk.log'
ExecStop=/bin/bash -c '/DietPi/dietpi/dietpi-ramdisk 1 &>> /var/tmp/dietpi/logs/dietpi-ramdisk.log'
[Install]
WantedBy=local-fs.target
Expand Down Expand Up @@ -2519,7 +2519,7 @@ After=local-fs.target
[Service]
Type=forking
RemainAfterExit=yes
ExecStartPre=/bin/mkdir -p /var/lib/dietpi/logs
ExecStartPre=/bin/mkdir -p /var/tmp/dietpi/logs
ExecStart=/bin/bash -c '/boot/dietpi/dietpi-ramdisk 0'
ExecStop=/bin/bash -c '/DietPi/dietpi/dietpi-ramdisk 1'
Expand Down

0 comments on commit d94176c

Please sign in to comment.