Skip to content

Commit

Permalink
v160
Browse files Browse the repository at this point in the history
+ DietPi-Software | WiFi Hotspot (Stretch): Resolved an issue where
hostapd would fail to run due to missing libssl1.0.0 lib, not available
in repos: https://github.com/Fourdee/DietPi/issues/1299

+ Minor fix for drive manager
  • Loading branch information
Fourdee committed Dec 15, 2017
1 parent f52964b commit c61e9a0
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Expand Up @@ -8,12 +8,12 @@ DietPi-Set_Hardware | Sparky SBC: enable aotg.aotg1_speed compatibility setting

Bug Fixes:
DietPi-Services | dietpi-wifi-monitor: Is no longer controlled, to prevent WiFi drop during software installs/updates etc: https://github.com/Fourdee/DietPi/issues/1288#issuecomment-350653480
DietPi-Software | WiFi Hotspot (Stretch): Resolved an issue where hostapd would fail to run due to missing libssl1.0.0 lib, not available in repos: https://github.com/Fourdee/DietPi/issues/1299
DietPi-Software | Shairport-sync (Stretch): Resolved an issue where this would fail to install, due to pre-req URLS becomming invalid: https://github.com/Fourdee/DietPi/issues/1303
DietPi-Software | Plex Media Server: Resolved uninstall to include /var/lib/plexmediaserver in removal (which is not completed via apt purge).
DietPi-Update | dietpi.txt is now checked for missing entries, and, will now be patched during the update: https://github.com/Fourdee/DietPi/issues/1292#issuecomment-350818969
Sparky SBC | Kernel patch will be applied which resolves issues with HQPlayer playback: https://www.computeraudiophile.com/forums/topic/32132-allo-sparky-usbridge/?do=findComment&comment=753100


Allo Web Interface v4:
Sparky SBC: Matrix Audio X-SPDIF 2, native DSD is now added to kernel, many thanks @sudeep: https://github.com/sparkysbc/Linux/pull/3

Expand Down
10 changes: 7 additions & 3 deletions dietpi/dietpi-drive_manager
Expand Up @@ -36,14 +36,18 @@

fi

HW_MODEL=$(cat /etc/.dietpi_hw_model_identifier)
HW_NAME='PREP_SYSTEM_FOR_DIETPI.sh'
HW_MODEL=0
HW_NAME='NULL'

if [ -d /DietPi/dietpi ]; then
if [ -f /DietPi/dietpi/.hw_model ]; then

HW_MODEL=$(sed -n 1p /DietPi/dietpi/.hw_model)
HW_NAME=$(sed -n 2p /DietPi/dietpi/.hw_model)

elif [ -f /etc/.dietpi_hw_model_identifier ]; then

HW_MODEL=$(cat /etc/.dietpi_hw_model_identifier)

fi

#Grab Input (valid interger)
Expand Down
40 changes: 40 additions & 0 deletions dietpi/dietpi-software
Expand Up @@ -5879,6 +5879,46 @@ _EOF_
#Enable wifi modules
/DietPi/dietpi/func/dietpi-set_hardware wifimodules enable

# - Stretch, libssl1.0.0 no longer available: https://github.com/Fourdee/DietPi/issues/1299
# Possibly only needed for RPi, however, no harm in installing, cover all bases.
if (( $DISTRO >= 4 )); then

INSTALL_URL_ADDRESS='http://dietpi.com/downloads/binaries/all/'

# - ARMv6/7
if (( $HW_ARCH == 1 || $HW_ARCH == 2 )); then

INSTALL_URL_ADDRESS+='libssl1.0.0_1.0.1t-1+deb8u7_armhf.deb'

# - ARM64
elif (( $HW_ARCH == 3 )); then

INSTALL_URL_ADDRESS+='libssl1.0.0_1.0.1t-1+deb8u7_arm64.deb'

# - x86_64
elif (( $HW_ARCH == 10 )); then

INSTALL_URL_ADDRESS+='libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb'

fi

/DietPi/dietpi/func/check_connection "$INSTALL_URL_ADDRESS"

#Install
if (( $? == 0 )); then

wget "$INSTALL_URL_ADDRESS" -O package.deb
dpkg -i package.deb
rm package.deb

else

Error_NoConnection_NoInstall

fi

fi

else

Error_NoConnection_NoInstall
Expand Down

0 comments on commit c61e9a0

Please sign in to comment.