[Bug 4316] New: postinst / postrm / preinst / prerm are ignored for packages with a dash

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Mon May 26 16:32:23 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4316

           Summary: postinst / postrm / preinst / prerm are ignored for
                    packages with a dash
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: jeremy.laine at bolloretelecom.eu


For some reason it is no longer possible to specify "pkg_postinst_PACKAGENAME"
in a bitbake recipe if PACKAGENAME contains a dash. The postinst defined as
such is completely ignored.

Some packages which are broken for me:

- e2fsprogs-fsck
- avahi-daemon
- module-init-tools

I am attaching a test recipe which illustrates the problem:

- the recipe (test.bb) should build two packages: testfoo and test-bar  => OK
- each package should have a postinst file => NOK, only testfoo has a postinst

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list