]> git.puffer.fish Git - mirror/frr.git/commit
redhat: use %initsystem check that works when chrooted
authorsmccroskey <smccroskey@cumulusnetworks.com>
Fri, 28 Apr 2017 02:39:24 +0000 (19:39 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 6 Jun 2017 18:40:34 +0000 (14:40 -0400)
commitbaa1b8daf57494e82e807e3633ca5002bd62a792
tree7946bc87029bcf5fd930d8fc743e032f618a8af0
parentcf53d4137720159460c2f4a6a07b66e06d3b5bf6
redhat: use %initsystem check that works when chrooted

`systemctl' returns different, non-useful output while in a chroot.
Switch to checking if /sbin/init is a symlink to the systemd binary.
With this change the build works in a mock chroot.

Signed-off-by: Silas McCroskey <smccroskey@cumulusnetworks.com>
redhat/frr.spec.in