Skip to content

Commit

Permalink
v6.26
Browse files Browse the repository at this point in the history
+ DietPi-Patch | Some patches with effect on G_AGUG have been moved to pre-patches
  • Loading branch information
MichaIng authored Oct 1, 2019
1 parent b7d3c22 commit 81e4f57
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -1507,22 +1507,6 @@ Do you still want to keep "p7zip-full"?'; then
cd /var/www/html/admin && git reset --hard HEAD
cd /tmp/$G_PROGRAM_NAME

fi
#-------------------------------------------------------------------------------
#WireGuard: Harden "sid" repo handling and on RPi, catch up on installing the Debian keyring: https://github.com/MichaIng/DietPi/pull/2571
if [[ -f '/etc/apt/preferences.d/dietpi-wireguard' ]]; then

if (( $G_HW_MODEL < 10 )); then

wget https://dietpi.com/downloads/binaries/rpi/debian-archive-keyring.deb
dpkg -i debian-archive-keyring.deb
rm debian-archive-keyring.deb

fi

echo -e 'Package: *\nPin: release n=sid\nPin-Priority: -1\n
Package: wireguard wireguard-dkms wireguard-tools\nPin: release n=sid\nPin-Priority: 99' > /etc/apt/preferences.d/dietpi-wireguard

fi
#-------------------------------------------------------------------------------
#MPD: Fix permissions issue: https://github.com/MichaIng/DietPi/issues/2462
Expand Down Expand Up @@ -2091,9 +2075,6 @@ A backup will be created to "/etc/mympd/mympd.conf.bak_DDMMYYY_N" from where you
# Disable pihole.log query logging: https://github.com/pi-hole/FTL/issues/614#issuecomment-510564476
command -v pihole &> /dev/null && pihole -l off
#-------------------------------------------------------------------------------
# Disable DPKG status file translations by default, which have hardly any use, but raise APT update times + disk I/O
echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/98-dietpi-no_translations
#-------------------------------------------------------------------------------
# Remove obsolete audio related services/scripts/settings: https://github.com/MichaIng/DietPi/pull/2988
# RPi: Remove invalid I2C baudrate entries from config.txt. Do no apply any value to preserve current system state (default): https://github.com/MichaIng/DietPi/issues/2966
# RPi: Remove obsolete camera module entry, which is loaded by default since kernel 4.19, instead add a blacklist entry if camera is disabled.
Expand Down Expand Up @@ -2299,8 +2280,6 @@ Would you like to switch back to the Nginx authentication method now?' && certbo
fi

fi
# WireGuard: Enable auto-rebuild after kernel upgrades on RPi
(( $G_HW_MODEL < 10 )) && command -v wg &> /dev/null && grep -q '^aSOFTWARE_INSTALL_STATE\[172\]=2' /DietPi/dietpi/.installed && echo -e '#!/bin/dash\ndpkg-reconfigure wireguard-dkms' > /etc/kernel/postinst.d/dietpi-wireguard
# Mono: Use new Buster repo on Buster/Bullseye systems
(( $G_DISTRO > 4 )) && [[ -f '/etc/apt/sources.list.d/mono-xamarin.list' ]] && sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/mono-xamarin.list
# Webmin: https://github.com/MichaIng/DietPi/commit/ec55d49a488fd9cb1dbb18cbfa067b5d1d1a974e
Expand Down

0 comments on commit 81e4f57

Please sign in to comment.