opensourcerouting / frr

Free Range Routing Protocol Suite
Other
37 stars 14 forks source link

redhat: use %initsystem check that works when chrooted #2

Closed silasm closed 7 years ago

silasm commented 7 years ago

`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