CT domoticz & esphome: Fixed for debian 13

-domoticz: Fixed Download URL
-esphome: Disabled sudo pseudo-terminal while building
-kavita: Fixed dailing with existing userdata in update script
-nextcloud updated a php opcache setting
This commit is contained in:
2025-10-25 22:28:39 +02:00
parent 9e8acf8144
commit 85be6a8b36
7 changed files with 29 additions and 10 deletions

View File

@@ -1688,6 +1688,15 @@ actions:
# Cleanup temporary shadow paths
rm /etc/*-
#Temporarily disable sudo pseudo-terminal(since distrobuilder does not setup pty devices)
- trigger: post-packages
action: |-
#!/bin/sh
if [ -d "/etc/sudoers.d" ]; then
# If sudoers dir exists, presume sudo is installed
echo "Defaults !use_pty" > /etc/sudoers.d/DisablePTY
fi
#Run init script for NodeJS CT
- trigger: post-files
action: |-
@@ -1800,8 +1809,12 @@ actions:
- trigger: post-unpack
action: |-
#!/bin/bash
curl --retry 7 --retry-delay 5 -s http://repo.mysql.com/RPM-GPG-KEY-mysql-2023 | gpg --dearmor > /usr/share/keyrings/mysql-archive-keyring.gpg
curl --retry 7 --retry-delay 5 -s "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb7b3b788a8d3785c" | gpg --dearmor > /usr/share/keyrings/mysql-archive-keyring.gpg
password=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
apt update
grep ^Package: /var/lib/apt/lists/repo.mysql.com*
ls /var/lib/apt/lists/
sleep 30
mkdir -p /opt/Setup
echo $password > /opt/Setup/TempMysqlPasswd
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $password"
@@ -1870,5 +1883,12 @@ actions:
variants:
- linkwarden
- trigger: post-files
action: |-
#!/bin/sh
if [ -f "/etc/sudoers.d/DisablePTY" ]; then
rm -f /etc/sudoers.d/DisablePTY
fi
mappings:
architecture_map: debian