HomeFreeBSD

Fedora 28: Fix "Macro %_dracutdir has empty body"

Description

Fedora 28: Fix "Macro %_dracutdir has empty body"

If you run ./configure --with-config=srpm, it will not trigger
the user m4 scripts to populate the dracut and udev directories.
This causes a build error on Fedora 28. Make the dracut and
udev lines conditional to get around this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7326
Closes #7328

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Mar 25 2018, 10:00 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 25 2018, 10:00 PM
Parents
rG157ef7f6a527: Don't count embedded bps in read stats
Branches
Unknown
Tags
Unknown