[CentOS] An rpm specfile quesstion [SOLVED]
m.roth at 5-cent.us
m.roth at 5-cent.usFri Jan 19 20:25:44 UTC 2018
- Previous message: [CentOS] An rpm specfile quesstion
- Next message: [CentOS] How to upgrade CentOS 6.9 KVM host to 7.4.1708 and not re-install guests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
m.roth at 5-cent.us wrote: > I've built an rpm package to distribute an executable and datafiles, but I > need to link to the executable, with the symlink with a different name, > into /usr/sbin/ > > If I make the symlink in the %post, it doesn't show if you do rpm -ql, and > /usr/sbin/link gives "not owned by any package". If I make <build > path>/usr/bin during the %install, trying to install it gives me > /usr/sbin's already owned by the filesystem package. > > What's the correct way to do this, so it shows with rpm -ql? > Never mind, folks, the error was in my %files section. My manager had the correct answer, to use /usr/libexec and /usr/sbin, so the build didn't try to package the directories. mark
- Previous message: [CentOS] An rpm specfile quesstion
- Next message: [CentOS] How to upgrade CentOS 6.9 KVM host to 7.4.1708 and not re-install guests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list