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
This commit is contained in:
Gatis Paeglis authored and Atomic Bot committed 2016-08-11 14:04:59 +00:00
1 parent 7ed2f1e5af
commit fd1a044d6e
8 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -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