Skip to content

Commit

Permalink
v7.2 (#4403)
Browse files Browse the repository at this point in the history
+ DietPi-Patches | Roon Extension Manager: Inform users about available upgrade: #4399
+ DietPi-Patches | Odroid XU4: Assure that all possible hardware random generator daemons are uninstalled
  • Loading branch information
MichaIng authored May 21, 2021
1 parent 641c048 commit 1413ca7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,20 @@ Patch_7_2()
if [[ $G_HW_MODEL == 11 ]]
then
dpkg-query -s rng-tools5 &> /dev/null && G_AGP rng-tools5
dpkg-query -s rng-tools &> /dev/null && G_AGP rng-tools
dpkg-query -s rng-tools-debian &> /dev/null && G_AGP rng-tools-debian
dpkg-query -s haveged &> /dev/null || G_AGI haveged
fi

# Move raspimjpeg executable to a common system path
# raspimjpeg: Move executable to a common system path
if [[ -f '/boot/dietpi/.installed' ]] && grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[59\]=2' /boot/dietpi/.installed
then
G_DIETPI-NOTIFY 2 'Moving raspimjpeg executable to a common system path'
[[ -f '/opt/vc/bin/raspimjpeg' ]] && G_EXEC mv /{opt/vc,usr/local}/bin/raspimjpeg
[[ -L '/usr/bin/raspimjpeg' ]] && G_EXEC rm /usr/bin/raspimjpeg
fi

# Rename Bitwarden_RS into vaultwarden: https://github.com/MichaIng/DietPi/issues/4325
# Bitwarden_RS: Rename into vaultwarden: https://github.com/MichaIng/DietPi/issues/4325
if [[ -d '/mnt/dietpi_userdata/bitwarden_rs' ]]
then
G_DIETPI-NOTIFY 2 'vaultwarden will be reinstalled now.'
Expand Down Expand Up @@ -147,8 +149,14 @@ Patch_7_2()
[[ -f $i ]] && grep -q '^-e ' "$i" && G_EXEC sed -i 's/^-e //' "$i"
done

# Remove obsolete LibSSL1.0.0 install state
# LibSSL1.0.0: Remove obsolete install state
[[ -f '/boot/dietpi/.installed' ]] && grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[126\]=' /boot/dietpi/.installed && G_EXEC sed -i '/^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[126\]=/d' /boot/dietpi/.installed

# Roon Extension Manager: Inform users about available upgrade: https://github.com/MichaIng/DietPi/pull/4399
[[ -f '/boot/dietpi/.installed' ]] && grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[86\]=2' /boot/dietpi/.installed && G_WHIP_MSG '[ INFO ] Roon Extension Manager: Major upgrade available
\nThe Roon Extension Manager received a major upgrade to v1.0. It is now implemented as Docker container, rather than as Node.js module.
\nYou may upgrade via: dietpi-software reinstall 86
\nNB: Roon extensions which were installed via the legacy method must be reinstalled with the new Roon Extension Manager. Extensions which were installed as Docker images already, will continue to function.'
}

# v6.35 => v7 migration
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Changes:
- DietPi-Software | Node.js: On ARMv6, new Node.js versions are now installed via unofficial builds. Official builds are provided up to Node v11 only. Many thanks to @ollliegits for adding support for this builds to our Node.js installer fork: https://github.com/MichaIng/nodejs-linux-installer/pull/2
- DietPi-Software | EmonPi: This software option has been renamed to "emonHub", the name of the data collector for the "emonPi" RPi energy monitor addon board. A much newer Python 3 compatible version form the official OpenEnergyMonitor repository is installed from now on, providing additional features and fixes.
- DietPi-Software | RPi Cam Control: This install option has been disabled for 64-bit systems. It uses a 32-bit/armhf raspimjpeg binary that depends in 32-bit/armhf C library. It will be re-enabled once the project maintainer or we provide a native 64-bit/arm64 raspimjpeg binary.
- DietPi-Software | Roon Extension Manager: After a major upgrade to v1.0, it is now implemented as Docker container, rather than as Node.js module. The upgrade can be applied manually via "dietpi-software reinstall 86". Many thanks to @JanKoudijs for developing Roon Extension Manager and implementing the required changes into DietPi-Software: https://github.com/MichaIng/DietPi/pull/4399

New Software:
- Firefox | The Mozilla browser has now become an independent software option with the ID 67 (see changes above).
Expand Down

0 comments on commit 1413ca7

Please sign in to comment.