Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add infrastructure for alternative name (currently nts)
See #405 This patch adds an (off by default) `--enable-new-name` build option which currently defaults to `nts`. This is purely additive, and the intention is that we'll support the rpm-ostree name in perpetuity most likely. At the moment, we add a new name for: - /usr/bin/$name - The systemd unit file But we notably *don't* attempt to add a new name to the DBus API, as it'd be a lot more invasive of a patch, and less payoff (it's mostly just programs/scripts that interact with the DBus). Closes: #497 Approved by: jlebon
- Loading branch information
1 parent
2d07772
commit 328b85d
Showing
6 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[D-BUS Service] | ||
Name=org.projectatomic.rpmostree1 | ||
Exec=@libexecdir@/rpm-ostreed | ||
Exec=@libexecdir@/@primaryname@d | ||
User=root | ||
SystemdService=rpm-ostreed.service | ||
SystemdService=@primaryname@d.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[Unit] | ||
Description=RPM OSTree Manager | ||
Description=OSTree+RPM package management daemon | ||
ConditionPathExists=/ostree | ||
|
||
[Service] | ||
Type=dbus | ||
BusName=org.projectatomic.rpmostree1 | ||
ExecStart=@libexecdir@/rpm-ostreed | ||
ExecStart=@libexecdir@/@primaryname@d |