Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 366822 Details for
Bug 496854
app-admin/sysstat-10.2.0 - /usr/bin/install: cannot create regular file ‘/usr/lib/systemd/system/sysstat.service’: Permission denied
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to install service file into destdir and remove enableing during "make install"
0001-Fix-install-with-systemd.patch (text/plain), 962 bytes, created by
Xake
on 2014-01-03 10:36:29 UTC
(
hide
)
Description:
Patch to install service file into destdir and remove enableing during "make install"
Filename:
MIME Type:
Creator:
Xake
Created:
2014-01-03 10:36:29 UTC
Size:
962 bytes
patch
obsolete
>From 0355b944efb2c6e7e6a87b13457fa61085229047 Mon Sep 17 00:00:00 2001 >From: Peter Hjalmarsson <xake@rymdraket.net> >Date: Fri, 3 Jan 2014 11:21:45 +0100 >Subject: [PATCH] Fix install with systemd > >Install the service file into DESTDIR and do not try to enable it. >--- > Makefile.in | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/Makefile.in b/Makefile.in >index 9ce9ee6..c29913b 100644 >--- a/Makefile.in >+++ b/Makefile.in >@@ -376,8 +376,7 @@ install_all: install_base cron/crontab sysstat \ > su $(CRON_OWNER) -c "crontab cron/crontab"; \ > fi > if [ -x $(SYSTEMCTL) -a -d "$(SYSTEMD_UNIT_DIR)" ]; then \ >- $(INSTALL_DATA) sysstat.service $(SYSTEMD_UNIT_DIR); \ >- $(SYSTEMCTL) enable sysstat.service; \ >+ $(INSTALL_DATA) -D sysstat.service $(DESTDIR)$(SYSTEMD_UNIT_DIR); \ > elif [ -d $(DESTDIR)$(INIT_DIR) ]; then \ > $(INSTALL_BIN) sysstat $(DESTDIR)$(INIT_DIR)/sysstat; \ > if [ -x $(CHKCONFIG) ]; then \ >-- >1.8.5.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 496854
:
366822
|
366824
|
366978