From Fedora Project Wiki

Revision as of 22:02, 26 May 2009 by Till (talk | contribs) (→‎Till Maas: fix blog URL)

Till Maas

I use this wiki page mainly to collect information about Fedora that I find useful in a chaotic way, so please don't be offended by the following chaos:

Code

  • rerun autofoo

libtoolize --automake --copy --force aclocal-1.9 autoheader automake-1.9 --add-missing --force-missing --copy autoconf

  • make configure not to reconfigure itself: In configure.in (or configure.ac) add after AM_INIT_AUTOMAKE

AM_MAINTAINER_MODE

  • pm-utils debugging

http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-index.html

lshal | egrep "(system.hardware.(product|vendor|version)|system.firmware.version|power_management.quirk)"

Package DB Hacking

From: https://www.redhat.com/archives/fedora-devel-list/2007-October/msg01439.html There are also a few features related to filtering of results that have been enabled. There isn't a UI element for them yet but power users who

 are willing to edit their URLs can limit what is displayed on the 

package page according to the release by doing something like this:

https://admin.fedoraproject.org/pkgdb/packages/name/yum/Fedora%20EPEL/ https://admin.fedoraproject.org/pkgdb/packages/name/yum/Fedora https://admin.fedoraproject.org/pkgdb/packages/name/yum/Fedora/devel

You can also limit what is displayed on the user overview of packages like so:

https://admin.fedoraproject.org/pkgdb/users/packages/toshio?acls=owner https://admin.fedoraproject.org/pkgdb/users/packages/toshio?acls=owner,commit

The acls that you can list in the acls field are: owner,commit,approveacls,watchbugzilla,watchcommits

other important stuff


Xinf aliases hwdata

alias pcivideo:v00008086d00007121sv*sd*bc*sc*i* intel # i810

pcivideo is a tag understood by kudzu to mean that this line describes an X driver. The lowercase letters (v, d, sv, sd, bc, sc, i) are the various PCI ID fields: vendor, device, subvendor, subdevice, base class, subclass, and ASIC revision. Normally you only need to use the first two. Then the third word is the driver name you want for that chip. Comments are optional but are greatly appreciated.

The * wildcards are like shell, not like regex. Numeric values _must_ be in uppercase hexadecimal; don't try to specify nvidia hardware with 000010de or you will be sadly disappointed. Multiple matches are possible, last match wins, but it's best if you don't have to rely on that accidental feature.

SELinux

  • restorecon relabels files with type file_t (which means the file has no label)
  • mount -o context=system_u:object_r:tmp_t:s0 /dev/mapper/tmp /tmp - correct context for /tmp filesystem


Debuginfo Packages

RPM Comment/Macro Weirdness

Subpackage Requires

  • grep /usr/include
  • grep python

MoinMoin Quicklinks

PackageMaintainers Packaging/Guidelines Tools/RPM PackageUserCreation Infrastructure/UpdatesSystem/Bodhi-info-DRAFT PackageMaintainers/UnassignedReviewRequests PackageMaintainers/AssignedReviewRequests PackageMaintainers/InProgressReviewRequests PackageMaintainers/CVSAdminProcedure PackageReviewProcess PackageMaintainers/UnassignedReviewRequests/NoSponsorNeeded Packaging/LicensingGuidelines Packaging/ReviewGuidelines Packaging/SourceURL ScreenCasting PackageMaintainers/NewPackageProcess PackageMaintainers/UsefulScripts

MoinMoin Watchlist

TillMaas.* WikiEditing Packaging/.* Infrastructure/WikiMigration ScreenCasting LukeMacken/SecurityLiveCD EPEL/WishList PackageMaintainers/.* FedoraMyths de_DE/.* Vacation WishList Infrastructure/AccountSystem2 BugZappers BugZappers/TriagingGuidelines FedoraEvents/FOSDEM/FOSDEM2008 JohnPoelstra/ImprovingBugzillaF9 Releases/FeatureEncryptedFilesystems Releases/9/Alpha/ReleaseNotes SIGs/Perl/Wishlist MattDomsch/FTBFS LiveCD