Commit Graph

232 Commits

Author SHA1 Message Date
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
Joshua M. Boniface
0380ed8c83 Update submodules to current master 2024-05-25 12:12:25 -04:00
Joshua M. Boniface
372f59604f Add mention of requiring docker-buildx-plugin
Closes #27
2024-05-25 12:10:38 -04:00
Joshua M. Boniface
6617b1e192 Correct GitPython requirement 2024-05-25 12:10:26 -04:00
Joshua M. Boniface
6eccb2596c Add CODEOWNERS 2024-05-21 09:52:40 -04:00
Joshua M. Boniface
0019b198b9 Remove temporary Ubuntu Noble-only workflow
This was just a helper and can be brought back as needed.
2024-05-21 09:45:08 -04:00
Joshua M. Boniface
5049512421
Merge pull request #23 from jellyfin/renovate/ci-deps
Update actions/checkout action to v4.1.6
2024-05-21 09:44:12 -04:00
Joshua M. Boniface
519743eb86
Merge pull request #26 from Shadowghost/bump-intel-compute-runtime
Bump Intel Compute Runtime to 24.17.29377.6
2024-05-21 09:43:12 -04:00
Shadowghost
bb13950759 Bump Intel Compute Runtime to 24.17.29377.6 2024-05-20 12:56:58 +02:00
Jürn Brodersen
16cd01b867
Add: org.opencontainers.image labels (#25) 2024-05-19 07:59:24 -06:00
renovate[bot]
c6544bd7c4
Update actions/checkout action to v4.1.6 2024-05-17 22:34:15 +00:00
Joshua M. Boniface
dea4f8dc0f Add temporary workflow only for Noble 2024-05-17 18:32:41 -04:00
Joshua M. Boniface
d38fbe0d19 Switch (back) to using .NET install script
The .deb/repository fails on Ubuntu 24.04 "Noble". Since this must be
consistent across all builds, switch to the script instead.
2024-05-17 18:29:06 -04:00
Joshua M. Boniface
25a0eb4c45 Use master repo fallback instead of mirrors
Sometimes these fail as syncs are going on during builds, so just have
this builder use the master repo1 server.
2024-05-12 20:29:32 -04:00
Joshua M. Boniface
06cdec877c Fail if docker builds fail
Huge oversight that allows failures to propagate.
2024-05-12 20:23:25 -04:00
Joshua M. Boniface
a974263fbf Disable non-Windows portable FFmpeg integration 2024-05-09 02:01:29 -04:00
Joshua M. Boniface
28d40dd778
Merge pull request #17 from jellyfin/renovate/ci-deps
Update actions/checkout action to v4.1.5
2024-05-08 22:05:07 -04:00
renovate[bot]
51be1000ad
Update actions/checkout action to v4.1.5 2024-05-08 21:25:36 +00:00
Joshua M. Boniface
d125f7fdb1 Add portable build FFmpeg downloads 2024-05-08 17:23:31 -04:00
Joshua M. Boniface
76ad06ec95 Clarify debsig-verify status 2024-05-01 17:06:01 -04:00
Joshua M. Boniface
3ddb375a90 Add Debian package and dsc signing with repo key
Allows for the verification of the integrity and ownership of the
resulting .deb, .dsc, .changes, and .buildinfo files for both Debian and
Ubuntu using `debsig-verify` and the standard Apt toolkits.

Closes #14
2024-05-01 15:52:28 -04:00
Joshua M. Boniface
759c75a107 Correct to the actual value
My brain just reversed the order on me.
2024-05-01 13:01:51 -04:00
Joshua M. Boniface
fad8561616 Disable fast-fail strategy
This will prevent a failed build from cancelling other failed builds,
important since all are independent of each other.
2024-05-01 12:59:22 -04:00
Joshua M. Boniface
47d631b115 Avoid failing if sources.list.d is empty 2024-04-30 01:39:23 -04:00
Joshua M. Boniface
0f59b4638b Remove extraneous sources.list.d entries on Ubuntu
Fixes a build failure on Noble due to duplications in here, but should
still work on older version as well since we write new versions and
those just used sources.list (not the .d directory)
2024-04-30 01:36:44 -04:00
Joshua M. Boniface
b7777041f2
Merge pull request #18 from Gauvino/patch
Update gcc on noble and mali
2024-04-29 14:15:39 -04:00
Uruk
e581d5d38b Update gcc on noble and mali 2024-04-26 15:43:34 +02:00
Joshua M. Boniface
e715c583d8 Enable build for Ubuntu 24.04 2024-04-25 19:59:32 -04:00
Joshua M. Boniface
972c9a2437
Merge pull request #16 from nvllsvm/docker_fontconfig_cache
Docker: Fix fontconfig cache
2024-04-24 14:31:51 -04:00
Andrew Rabert
d5d9bb9761 Docker: Fix fontconfig cache
Log errors:
    Fontconfig error: No writable cache directories
    Fontconfig error: No writable cache directories
    Fontconfig error: No writable cache directories
    Fontconfig error: No writable cache directories
2024-04-24 14:05:11 -04:00
Nyanmisaka
12a974e634
Bump Intel Compute Runtime to 24.13.29138.7 (#15) 2024-04-21 10:56:02 -06:00
Joshua M. Boniface
b89a12d7d7
Merge pull request #13 from s-t-e-v-e-n-k/dedupe-architecture
Refactor arch checking into a function
2024-04-07 16:41:26 -04:00
Steve Kowalik
d576b9ec7d Refactor arch checking into a function
Remove some duplicated code by refactoring the architecture checking
into a function. The error paths would have also likely resulted in
NameErrors being thrown due to function arguments having underscores, so
that has been corrected as well.
2024-04-07 17:46:50 +10:00
Joshua M. Boniface
044737dfd1 Use buildx build explicitly instead of alias
Fixes #12
2024-04-01 01:53:12 -04:00
Joshua M. Boniface
48897fad0c Fix link too 2024-03-28 14:13:45 -04:00