All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mahendra Sondagar <mahendrasondagar08@gmail.com>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] install: cannot create regular file Permission denied #dunfell
Date: Sun, 18 Sep 2022 22:09:46 +0530	[thread overview]
Message-ID: <CAMho1OFcLVJMSOrqa3cfBXy9LjiCVJySq35FiPixGhqTacab9A@mail.gmail.com> (raw)
In-Reply-To: <be99343d-b441-7680-cb83-c22afe57820c@theobroma-systems.com>

[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]

Hi...Quentin Schulz

Thanks a lot!
It's solved my issue

Many thanks again :)

Regards
Mahendra

On Thu, Sep 15, 2022 at 1:31 PM Quentin Schulz <
quentin.schulz@theobroma-systems.com> wrote:

> Hi Mahendra,
>
> On 9/14/22 20:16, Mahendra Sondagar wrote:
> > Hi.. there
> >
> > Hope all are doing well
> >
> > I'm working with the Yocto dunfell branch with the STM32MP1
> > My goal is to add the test.sh script in to the rootfs of the Yocto
> custom image (in to the bindir)
> >
> > That's how, i have created the recipes file called "recipes-support"
> > Inside that, i have created "net-cfg" file
> > the files under net-cfg file at where, i have kept test.sh file
> > here is the tree structure
> >
> > .
> > └── net-cfg
> > ├── files
> > │   └── test.sh
> > └── net-cfg_1.0.bb
> >
> > I have installed the image with the custom-image.bb file as a
> > IMAGE_INSTALL += "net-cfg"
> >
> > The content of the net-cfg_1.0.bb are as follows
> >
> --------------------------------------------------------------------------------------
> > SUMMARY= "Script files for the testing"
> > SRC_URI = " file://test.sh"
> >
> > LICENSE = "CLOSED"
> >
> > do_install() {
> > install -d ${D}${bindir}
> > install -m 0755 ${WORKDIR}/test.sh ${D}${bindir} /
>
> Spurious slash at the end of the line, it tries to install
> ${WORKDIR}/test.sh and ${D}${bindir} to / (root directory of your build
> machine).
>
> Just remove it.
>
> Cheers,
> Quentin
>

[-- Attachment #2: Type: text/html, Size: 3509 bytes --]

      reply	other threads:[~2022-09-18 16:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-14 18:16 install: cannot create regular file Permission denied #dunfell Mahendra Sondagar
2022-09-14 21:57 ` [yocto] " Steve Sakoman
2022-09-15  8:01 ` Quentin Schulz
2022-09-18 16:39   ` Mahendra Sondagar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMho1OFcLVJMSOrqa3cfBXy9LjiCVJySq35FiPixGhqTacab9A@mail.gmail.com \
    --to=mahendrasondagar08@gmail.com \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.