Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@dilinger
Copy link

Older versions of msr-tools had the following Makefile snippets:

sbindir = /usr/sbin

install: all
install -m 755 $(BIN) $(sbindir)

That's (in my opinion, at least) the proper location for these tools.
They require superuser privileges, and are tickling CPU registers. Thus,
they belong in /usr/sbin along with other administration utilities.

However, when msr-tools switched to using autotools, the installation
directory changed to /usr/bin. This patch changes it back to installing
into /usr/sbin.

This adds manpages for wrmsr, rdmsr, and msr-cpuid. These manpages
originally come from Debian (where I wrote them almost a decade ago).
I've updated them slightly for more recent changes to msr-tools.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Older versions of msr-tools had the following Makefile snippets:

sbindir = /usr/sbin

install: all
        install -m 755 $(BIN) $(sbindir)

That's (in my opinion, at least) the proper location for these tools.
They require superuser privileges, and are tickling CPU registers. Thus,
they belong in /usr/sbin along with other administration utilities.

However, when msr-tools switched to using autotools, the installation
directory changed to /usr/bin. This patch changes it back to installing
into /usr/sbin.

Signed-off-by: Andres Salomon <dilinger@queued.net>
@dilinger
Copy link
Author

dilinger commented Dec 6, 2019

Please let me know if you need me to make any changes to make this suitable for merging!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant