Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#32605 - [mkinitcpio] lsinicpio list mode prints nothing

Attached to Project: Arch Linux
Opened by Ray Kohler (ataraxia) - Sunday, 11 November 2012, 16:45 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 14 November 2012, 03:46 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Running lsinitcpio in the default --list mode prints nothing unless --verbose is also used. That's because _optverbose is initialized on line 9 as a binary flag (=0), but when it's used, it's expected to be a command-line argument. It evaluates to '0' as a string in bsdcpio's command-line, which then interprets it as a subset of the archive contents to list, so it prints nothing.

Present in git master as of right now.
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 14 November 2012, 03:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  mkinitcpio-0.11.2
Comment by Dave Reisner (falconindy) - Sunday, 11 November 2012, 16:54 GMT
You couldn't have reported this yesterday? ;)
Comment by Ray Kohler (ataraxia) - Sunday, 11 November 2012, 16:56 GMT
Yeah, just call me slowpoke, I guess. I hadn't tried to use this mode until today. ;)