You also need to package it with FILES

On Jul 6, 2016 11:09 AM, "Daniel." <danielhi...@gmail.com> wrote:
>
> install -d ${D}/media/sd1
> ???
>
> 2016-07-06 11:44 GMT-03:00  <s.jar...@esa-grimma.de>:
> > Hej
> >
> > I managed to create and install a rule that should mount a sd card to
> > "/media/sd1".  To finish it, I need to create the directory "sd1" in
media.
> > My recipe for the rule looks like:
> > ###################
> > SUMMARY = "the udev rules for the board"
> > SECTION = "rules"
> > LICENSE = "CLOSED"
> >
> > SRC_URI = "file://50-mmc.rules \
> >         "
> > S = "${WORKDIR}"
> >
> > do_install () {
> >         install -d ${D}${sysconfdir}/udev/rules.d
> >         install -m 0644 ${WORKDIR}/50-mmc.rules
> > ${D}${sysconfdir}/udev/rules.d/
> > }
> > ###################
> > How to create a dir in do_install which goes to the package?
> >
> > By the way:
> > I was also appending fstab after this article
> >
> > https://communities.intel.com/thread/49251
> >
> > Is there an better way to uncomment/modify that one line in fstab?
> >
> > Regards!
> >
> > Stefan Jaritz
> >
> > ------------------------------------------------------------
> > ESA Elektroschaltanlagen Grimma GmbH
> > Broner Ring 30
> > 04668 Grimma
> > Telefon: +49 3437 9211 176
> > Telefax: +49 3437 9211 26
> > E-Mail: s.jar...@esa-grimma.de
> > Internet: www.esa-grimma.de
> >
> >
> > Geschäftsführer:
> > Dipl.-Ing. Jörg Gaitzsch
> > Jörg Reinker
> >
> > Sitz der Gesellschaft: Grimma
> > Ust.-ID: DE 141784437
> > Amtsgericht: Leipzig, HRB 5159
> > Steuernummer: 238/108/00755
> >
> >
> > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> > Informationen.
> > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> > erhalten
> > haben, informieren Sie bitte sofort den Absender und löschen Sie diese
> > Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> > Mail
> > ist nicht gestattet.
> >
> > This e-mail may contain confidential and/or privileged information. If
you
> > are
> > not the intended recipient (or have received this e-mail in error)
please
> > notify the sender immediately and destroy this e-mail. Any unauthorized
> > copying, disclosure or distribution of the material in this e-mail is
> > strictly
> > forbidden.
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
>
>
> --
> "Do or do not. There is no try"
>   Yoda Master
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to