Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 825570 - dev-util/sccache-0.2.15: missing systemd support for dist-server
Summary: dev-util/sccache-0.2.15: missing systemd support for dist-server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-21 15:39 UTC by Samuel Bernardo
Modified: 2022-09-27 20:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2021-11-21 15:39:00 UTC
Looking into current ebuild configuration, there is only the support for openrc scripts from
        if use dist-server; then
                newinitd "${FILESDIR}"/server.initd sccache-server
                newconfd "${FILESDIR}"/server.confd sccache-server

                newinitd "${FILESDIR}"/scheduler.initd sccache-scheduler
                newconfd "${FILESDIR}"/scheduler.confd sccache-scheduler
        fi

The installed files are:
/etc
/etc/conf.d
/etc/conf.d/sccache-scheduler
/etc/conf.d/sccache-server
/etc/init.d
/etc/init.d/sccache-scheduler
/etc/init.d/sccache-server
/etc/sccache
/etc/sccache/.keep_dev-util_sccache-0
/usr
/usr/bin
/usr/bin/sccache
/usr/bin/sccache-dist
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/bin
/usr/lib/debug/usr/bin/sccache-dist.debug
/usr/lib/debug/usr/bin/sccache.debug
/usr/share
/usr/share/doc
/usr/share/doc/sccache-0.2.15
/usr/share/doc/sccache-0.2.15/Distributed.md.bz2
/usr/share/doc/sccache-0.2.15/DistributedQuickstart.md.bz2
/usr/share/doc/sccache-0.2.15/Jenkins.md.bz2
/usr/share/doc/sccache-0.2.15/README.md.bz2
/usr/share/doc/sccache-0.2.15/Releasing.md.bz2
/usr/share/doc/sccache-0.2.15/Rust.md.bz2

I'm going to create systemd unit files for init scripts.
Comment 1 Larry the Git Cow gentoo-dev 2022-09-27 20:52:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7b4a9e0582e55c49c0bcc3f22f9461b3ad0d0fa

commit a7b4a9e0582e55c49c0bcc3f22f9461b3ad0d0fa
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2022-09-27 20:41:50 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-09-27 20:52:23 +0000

    dev-util/sccache: add systemd units
    
    Closes: https://bugs.gentoo.org/825570
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-util/sccache/files/sccache-scheduler.service | 10 ++++++++++
 dev-util/sccache/files/sccache-server.service    | 10 ++++++++++
 dev-util/sccache/sccache-0.3.0.ebuild            |  6 +++++-
 3 files changed, 25 insertions(+), 1 deletion(-)