summaryrefslogtreecommitdiff
path: root/src/boot/ostree-prepare-root.service
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2016-08-09 15:23:04 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2016-08-11 14:04:59 +0000
commitfd1a044d6e75b336ea880530979067926c9b0a09 (patch)
treecd69ee753fdcdee626be5e18cf8ef02b0fd9f170 /src/boot/ostree-prepare-root.service
parent7ed2f1e5af303ffa5e697d8c1dfd1fc0671818f8 (diff)
downloadostree-fd1a044d6e75b336ea880530979067926c9b0a09.tar.gz
Move ostree-* executables to /usr/lib/ostree
Why not to use libexecdir? Because this directory does not exist on some distros or paths between distros varies. There are several reasons why a well known path is prefered, for example when generating a kernel command line: init=${ostree}/usr/lib/ostree-boot/ostree-prepare-root In addition this saves us some typing in a console when wanting to access the "ostree" cmd line. Closes: #449 Approved by: cgwalters
Diffstat (limited to 'src/boot/ostree-prepare-root.service')
-rw-r--r--src/boot/ostree-prepare-root.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/ostree-prepare-root.service b/src/boot/ostree-prepare-root.service
index dbc7b30a..e0659d10 100644
--- a/src/boot/ostree-prepare-root.service
+++ b/src/boot/ostree-prepare-root.service
@@ -27,7 +27,7 @@ Before=plymouth-switch-root.service
[Service]
Type=oneshot
-ExecStart=/usr/sbin/ostree-prepare-root /sysroot
+ExecStart=/usr/lib/ostree/ostree-prepare-root /sysroot
StandardInput=null
StandardOutput=syslog
StandardError=syslog+console