-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use resource linker for DSM6 #4578
Conversation
- SPK_LINKS is not supported anymore, use SPK_USR_LOCAL_LINKS and/or SPK_COMMANDS - adjust all packages with former SPK_LINKS (beets, borgbackup, rdiff-backup)
- resource workers for ports/links/shares are supported from DSM>=6.0 - keep the /usr/local/{package} link in DSM 6 for now, as not all dependent packages are redesigned
yes, here we can Co-authored-by: Sebastian Schmidt <[email protected]>
- rename and remove obsolete DSM 5 code
- fixes SynoCommunity#4578 for packages without specific conf files
- fixes #4578 for packages without specific conf files
Sorry to bump this old PR @hgy59. But I think this one introduced an error in the In current master, some commands are included for the case of DSM < 6.0. But the line defining the target is within the DSM >= 6.0 conditional part only. So the commands belong to nowhere when on older DSM versions and the Line 206 in a91c960
What file is this output supposed to go to then? |
* migrate SPK_LINKS to SPK_USR_LOCAL_LINKS - SPK_LINKS is not supported anymore, use SPK_USR_LOCAL_LINKS and/or SPK_COMMANDS - adjust all packages with former SPK_LINKS (beets, borgbackup, rdiff-backup) * Use resource definitions for DSM6 - resource workers for ports/links/shares are supported from DSM>=6.0 - keep the /usr/local/{package} link in DSM 6 for now, as not all dependent packages are redesigned * rename spksrc.service.installer to spksrc.service.installer.dsm6 - rename and remove obsolete DSM 5 code Co-authored-by: Sebastian Schmidt <[email protected]>
- fixes SynoCommunity#4578 for packages without specific conf files
Motivation: This is the resource linker part of #4562
Linked issues: #4524, #4539
Checklist
all-supported
completed successfullyRemarks
SPK_LINKS
Makefile variable and useSPK_USR_LOCAL_LINKS
for DSM6 and DSM5.SPK_USR_LOCAL_LINKS
instead ofSPK_LINKS
WIP:
Redesign DSM6 installer to use resource definitions for Links, FwPorts, SHARES similar to DSM7
Only keep creation of
/usr/local/{package}
link to avoid breaking already installed packages that lean on thisReferences