Commit Graph

266 Commits

Author SHA1 Message Date
Joshua M. Boniface
f1efc37632 Fix spacing 2024-11-21 14:53:49 -05:00
Joshua M. Boniface
a1b09d2d36 Ensure keys are sorted by versions
So far it seems consistent, but if more are added, this might not be
guaranteed.
2024-11-21 14:47:25 -05:00
Joshua M. Boniface
efa1e92c22 Set telemetry output in portable build.sh
Seems this was missed who knows how long ago, so add it just in case.

FYI This only affects our builds, not our users' privacy.
2024-11-21 14:34:26 -05:00
Joshua M. Boniface
22f1a26ee7 Add safe.directory for jellyfin-web
Ensures that the `git` command to obtain the commit hash works properly.
2024-11-21 14:34:26 -05:00
Joshua M. Boniface
deaf5b96c5 Remove wget removal from Dockerfiles
This seems to throw errors randomly when building locally. As these are
purely build containers, the extra few kB due to wget doesn't matter.
2024-11-21 14:34:26 -05:00
Joshua M. Boniface
0717e31d66 Add support for arbitrary framework version detect
Adds a system to build.py which can automatically determine which
version of each upstream framework (.NET, NodeJS, others in the future)
a given HEAD is at in the submodules, and provide that build argument
into the Docker builds.

This will ensure we can reliably build versions on either side of a
framework version transition (i.e. both stable and master) without any
manual work.

For an explanation of how it works, see the comments in `build.yaml`.

Future code framework updates will need the `build.yaml` updated to
include the relevant (merge) commit hash and version.

Also adds better logging, including this new framework version as well
as a record of the Docker build commands for each build.
2024-11-21 14:34:07 -05:00
Joshua M. Boniface
67d680a3aa Remove masking and unmasking during postrm
I'm not sure why we ever added this, but like unmasking, this is outside
of our purview to manage.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface
07c797fc78 Simplify service handling during postinst
1. Don't try to unmask the service; that's not in our purview.

1. Don't start the Jellyfin service if the
`DISABLE_JELLYFIN_AUTOSTART` environment variable is set. Allows
explicit disabling of Jellyfin starting during package updates.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface
72bcd5a2f6 Remove old crufty commands
1. We should no longer care about Emby sudoers, that is long-since
obsoleted.

2. We shouldn't need to touch existing config dirs. While I've never had
this break things, I don't think we need to worry about this ancient
migration any longer.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface
78589faa6d Fix up failed-to-stop message 2024-11-21 14:31:39 -05:00
Joshua M. Boniface
eca529f271
Merge pull request #49 from jellyfin/renovate/ci-deps
Update appleboy/ssh-action action to v1.2.0
2024-11-21 02:00:20 -05:00
renovate[bot]
c0c6e18d02
Update appleboy/ssh-action action to v1.2.0 2024-11-17 10:04:41 +00:00
Joshua M. Boniface
878d8e1d7f
Merge pull request #48 from nyanmisaka/fix-docker-target-platform
Explicitly set the target platform of Docker builds
2024-11-13 22:25:55 -05:00
nyanmisaka
aef8d0f6d1 Explicitly set the target platform of Docker builds
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-11-13 13:18:36 +08:00
Joshua M. Boniface
543b32369c
Merge pull request #44 from jellyfin/renovate/ubuntu-24.x
Update dependency ubuntu to v24
2024-11-09 10:10:58 -05:00
Joshua M. Boniface
c35f012e85
Merge pull request #47 from agentsas/master
Ignore proxy settings during healthcheck
2024-11-09 10:08:14 -05:00
Joshua M. Boniface
9ac08b6414
Merge pull request #46 from jellyfin/renovate/ci-deps
Update CI dependencies
2024-11-09 10:07:26 -05:00
Joshua M. Boniface
73642f3cda Ensure git is installed in builders
Needed for Webpack to get the commit SHA1 hash.
2024-11-03 11:05:05 -05:00
Joshua M. Boniface
6b2d24b40c Fix incorrect envvar for temporary path 2024-10-28 02:55:22 -04:00
Joshua M. Boniface
b206dad89d Update submodules to current master branches
Fresh start for 10.10.0
2024-10-28 02:47:12 -04:00
Joshua M. Boniface
3913a5a5b4 Add TEMPDIR option to environments
Allows reconfiguration of jellyfin/jellyfin#12226 by the administrator
if required for Debuntu. Commented by default to preserve default
operation as this is a DotNET variable.
2024-10-28 02:45:56 -04:00
renovate[bot]
041244ef5e
Update CI dependencies 2024-10-23 17:12:53 +00:00
Joshua M. Boniface
d568956d6c Update source label to packaging repo 2024-10-19 16:30:45 -04:00
agentsas
255124277d Ignore proxy settings during healthcheck for localhost 2024-10-06 21:00:10 +02:00
agentsas
c17d6e4f6f Ignore proxy settings during healthcheck 2024-10-06 20:51:38 +02:00
Joshua M. Boniface
6beda5c94f Swap preference for Recommends
This order should prefer ours over the distro package.
2024-09-28 17:39:31 -04:00
renovate[bot]
16eb7eba30
Update dependency ubuntu to v24 2024-09-26 20:06:10 +00:00
renovate[bot]
4273e74835
Update actions/checkout action to v4.2.0 (#43) 2024-09-25 17:32:41 -06:00
Nyanmisaka
29854741c8
Fix incorrect windows ffmpeg path (#41) 2024-09-19 08:18:25 -06:00
Joshua M. Boniface
c14ac40bf0 Add Git for web builds 2024-09-18 16:53:29 -04:00
Joshua M. Boniface
a45bbf4738
Merge pull request #39 from nyanmisaka/ffmpeg7
Switch to jellyfin-ffmpeg7 in Jellyfin 10.10
2024-09-11 09:31:20 -04:00
nyanmisaka
67c520bf28 Use Windows FFmpeg built with Clang
For better intrin perf in vf_tonemapx filter.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-09-09 23:19:54 +08:00
nyanmisaka
116d2fa9cd Switch to jellyfin-ffmpeg7
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-09-09 23:19:54 +08:00
Nyanmisaka
1155a8e142
Bump Intel Compute Runtime to 24.31.30508.7 (#38) 2024-09-07 18:02:26 -06:00
Joshua M. Boniface
a85c22d5ad Fix bad spacing 2024-09-03 15:05:23 -04:00
Joshua M. Boniface
674709b0ee Improve ownership further
1. Loop instead of individual entries
2. Create the dirs if they don't exist
3. Use stat to check current user; if it's root, chown
2024-09-03 15:02:28 -04:00
Joshua M. Boniface
f1e361d211 Ensure CONFIGDATA is properly set up
Fixes #37
2024-08-25 23:21:13 -04:00
Joshua M. Boniface
5a4ba50dc8 Only change ownership during directory creation
If a user changes directory permissions or ownership, don't overwrite
this on upgrade; just set it once during creation.

Closes #32
2024-08-04 22:15:50 -04:00
Joshua M. Boniface
ab92096493 Add dependencies for libfontconfig and adduser
Both are required for a functional system, so add them as hard
dependencies. Also add ffmpeg as a recommends, in case the Metapackage
is not installed.

Closes #34
Closes #33
2024-08-04 22:12:40 -04:00
Joshua M. Boniface
59794c9fac
Merge pull request #31 from eppesuig/master
Ensure that "rm -rf" never fails in debian/jellyfin-server.postrm
2024-08-04 22:02:33 -04:00
Joshua M. Boniface
c46373945b Add additional override options to service.d conf
1. Add examples of overriding the Group and WorkingDirectory; the former
being important if one decides to use an alternate data/working
directory.

2. Simplify the comments around the service hardening options,
especially given that we've now removed the hacky restart.sh restarting
method.
2024-07-06 13:47:44 -04:00
eppesuig
cd24feed96
Update jellyfin-server.postrm
Ensure that "rm -rf" never fails. It may happens when user changed a directory like /var/cache/jellyfin into a mount point.
Without this patch, at any error, the shell script exits (because is has been activated with "-e")
2024-06-25 15:37:11 +02:00
Joshua M. Boniface
7e8f016d63 Remove explicit --ffmpeg from Docker Entrypoint
The default is handled by the JELLYFIN_FFMPEG envvar anyways, and by
removing this, that envvar can then by used by containers to set the
path as required.
2024-06-20 15:56:05 -04:00
Joshua M. Boniface
a167b10ca6
Merge pull request #30 from jellyfin/renovate/ci-deps
Update actions/checkout action to v4.1.7
2024-06-19 10:07:48 -04:00
renovate[bot]
9e59a6c9f3
Update actions/checkout action to v4.1.7 2024-06-12 19:29:32 +00:00
Joshua M. Boniface
35a5f70653 Improve output messages for Docker builds 2024-06-06 14:39:11 -04:00
Joshua M. Boniface
a7c2e52b9f Flip is_unstable conditionals
Using is_stable avoids "not is_unstable" which is confusing. Make
stability the default.

Also clean up the now completely unnecessary version_suffix in Docker
builds, as the only decider is stability.
2024-06-06 14:35:15 -04:00
Joshua M. Boniface
38311227a7 Add subpoint version manifests and cleanup
Remove the extra var is_latest as unneeded, use a better conditional for
stable releases, and ensure everything is consistent.

Closes #29
2024-06-06 14:32:01 -04:00
Joshua M. Boniface
f368a7c998 Fix dependency update for other builds 2024-05-26 20:09:23 -04:00
Joshua M. Boniface
721c2e4b51 Ensure apt is updated first 2024-05-26 20:03:22 -04:00