[Pm-utils] [PATCH] Skip dirty import-fdi-quirkdb

Victor Lowther victor.lowther at gmail.com
Wed Mar 17 18:37:35 PDT 2010


On Wed, Mar 17, 2010 at 4:58 PM, Mark Rosenstand <rosenstand at gmail.com> wrote:
> Hi,
>
> I wanted to know what import-fdi-quirkdb did so tried to run it with
> --help, which ended up looking pretty scary:
>
> /usr/bin/import-fdi-quirkdb: line
> 21: /usr/local/lib/pm-utils/pm-functions: No such file or directory
> mkdir: cannot create directory `': No such file or directory
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-acer.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-apple.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-asus.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-dell.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line
> 147: /20-video-quirk-pm-fujitsu.quirkdb: Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-hp.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-ibm.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line
> 147: /20-video-quirk-pm-lenovo.quirkdb: Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-misc.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line
> 147: /20-video-quirk-pm-samsung.quirkdb: Permission denied
> /usr/bin/import-fdi-quirkdb: line 147: /20-video-quirk-pm-sony.quirkdb:
> Permission denied
> /usr/bin/import-fdi-quirkdb: line
> 147: /20-video-quirk-pm-toshiba.quirkdb: Permission denied

hm. the generated import-fdi-quirkdb should never have shipped. Either
way, configuring and remaking the source should fix it.

Other than that, the only documentation for import-fdi-quirkdb is
reading the fine source and/or git log src/import-fdi-quirkdb.in

> Reading /usr/bin/import-fdi-quirkdb I see that the
> (non-existant) /usr/local/lib/pm-utils/pm-functions is sourced. Looking
> in the tarball, I see that the generated file is shipped and newer than
> the input file.
>
> Attached patch should skip the output file for "make dist."

Ah, I never run make dist.  I always use make distcheck.or make distclean.

Either way, it is present right now to aid the transition away from
HAL.  It will be gone in the next release.

> _______________________________________________
> Pm-utils mailing list
> Pm-utils at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pm-utils
>
>


More information about the Pm-utils mailing list