mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 10:54:41 +00:00
trivial: Fix $fwupdmgr modify-remote lvfs-testing Enabled true
Failed to create file “/etc/fwupd/remotes.d/lvfs-testing.conf.Q7K76Y”: Read-only file system
This commit is contained in:
parent
26767845f1
commit
ba0ec85a44
@ -16,5 +16,5 @@ ProtectKernelModules=yes
|
|||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
RestrictAddressFamilies=AF_NETLINK AF_UNIX
|
RestrictAddressFamilies=AF_NETLINK AF_UNIX
|
||||||
RestrictRealtime=yes
|
RestrictRealtime=yes
|
||||||
ReadWritePaths=@localstatedir@/lib/fwupd -@bootdir@
|
ReadWritePaths=@localstatedir@/lib/fwupd @sysconfdir@/fwupd/remotes.d -@bootdir@
|
||||||
SystemCallFilter=~@mount
|
SystemCallFilter=~@mount
|
||||||
|
@ -37,6 +37,7 @@ con2.set('bindir',
|
|||||||
con2.set('localstatedir', join_paths(get_option('localstatedir')))
|
con2.set('localstatedir', join_paths(get_option('localstatedir')))
|
||||||
con2.set('datadir', join_paths(get_option('datadir')))
|
con2.set('datadir', join_paths(get_option('datadir')))
|
||||||
con2.set('bootdir', get_option('with-bootdir'))
|
con2.set('bootdir', get_option('with-bootdir'))
|
||||||
|
con2.set('sysconfdir', default_sysconfdir)
|
||||||
|
|
||||||
# replace @libexecdir@
|
# replace @libexecdir@
|
||||||
configure_file(
|
configure_file(
|
||||||
@ -61,7 +62,7 @@ if get_option('enable-systemd')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('enable-systemd')
|
if get_option('enable-systemd')
|
||||||
# replace @localstatedir@ and @bootdir@
|
# replace @localstatedir@, @sysconfdir@ and @bootdir@
|
||||||
configure_file(
|
configure_file(
|
||||||
input : 'fwupd.service.in',
|
input : 'fwupd.service.in',
|
||||||
output : 'fwupd.service',
|
output : 'fwupd.service',
|
||||||
|
Loading…
Reference in New Issue
Block a user