Merge pull request #178 from linuxserver/master-armhf-notice

This commit is contained in:
Adam 2023-04-12 22:45:44 +01:00 committed by GitHub
commit a9ef2ccf6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,21 +27,18 @@ User GID: $(id -g abc)
───────────────────────────────────────
"
time32="$(date +%Y)"
if [[ "${time32}" == "1970" || "${time32}" == "1969" ]] && [ "$(uname -m)" == "armv7l" ]; then
if [[ "$(uname -m)" == "armv7l" ]] || [[ "$(uname -m)" == "armhf" ]]; then
echo '
╔═════════════════════════════════════════════════════════════════════════════
╔═════════════════════════════════════════════════════╗
║ ║
║ Your Docker Host is running an outdated version of libseccomp ║
║ The 32-bit Arm version of this image will ║
║ no longer be supported after 2023-07-01 ║
║ ║
║ To fix this, please visit https://docs.linuxserver.io/faq#libseccomp ║
║ See: https://linuxserver.io/armhf ║
║ for more details ║
║ ║
║ Apps will not behave correctly without this ║
║ ║
╚═════════════════════════════════════════════════════════════════════════════╝
╚═════════════════════════════════════════════════════╝
'
sleep infinity
fi
lsiown abc:abc /app