mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-25 01:10:12 +02:00
fix(plex): create TMPDIR before installing packages
The LSIO base sets TMPDIR=/run/plex-temp but does not create it. Since
ca-certificates 20260816ubuntu0.26.04.1 reached resolute-updates, the
upgrade in ha_automodules.sh runs its postinst, which fails on mktemp
and leaves dpkg half-configured, so every later apt-get install in
ha_autoapps.sh fails ("Error : jq not found"). Reproduced on the ls329
rootfs with and without the directory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
- Fix build: create the base image's `TMPDIR` (`/run/plex-temp`) before installing packages; the Ubuntu ca-certificates update failed in its postinst without it, breaking every later apt install
|
||||
## 1.43.5.11029.329 (2026-10-24)
|
||||
- Update to latest version from linuxserver/docker-plex (changelog : https://github.com/linuxserver/docker-plex/releases)
|
||||
- Upstream tag : 1.43.5.11029-6bf8af3f0-ls329
|
||||
|
||||
@@ -57,6 +57,10 @@ RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -print -e
|
||||
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \
|
||||
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
|
||||
|
||||
# The base sets TMPDIR=/run/plex-temp without creating it; package
|
||||
# maintainer scripts (e.g. ca-certificates postinst) fail on mktemp otherwise
|
||||
RUN mkdir -p "$TMPDIR"
|
||||
|
||||
# Modules
|
||||
ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 00-local_mounts.sh 00-smb_mounts.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user