[Bug 916087] Review Request: cloud-initramfs - cloud image initramfs management utilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=916087

--- Comment #8 from Matthew Miller <mattdm@xxxxxxxxxx> ---
(In reply to comment #5)
> Hmm... it's /usr/lib for Fedora 18 and /usr/share for RHEL6. When I built it
> locally under Fedora 18 it was correctly using /usr/lib but the koji built
> is using /usr/share. What gives? Am I using the wrong macro (%{_datadir})?

Hmmm I'm getting /usr/share both in mock under F18 and built from my home dir.
To my knowledge, %{_datadir} is /usr/share in all versions of Fedora. To get
arch-independent lib, I don't think there's anything better than
"%{_prefix}/lib/".


> > (Also, it shouldn't own /usr/lib/dracut and
> > /usr/lib/dracut/modules.d, because dracut already does.)
> So I need to use something like the following in the %files section?
> %{_datadir}/dracut/modules.d/*

Well, my preference is to not use wildcards at all. That can cause a little bit
more work if the upstream changes, but helps keep accidental junk from creeping
in -- and lets you easily tell if something changed and you didn't expect it
to.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=w69t7gBMTr&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]