All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: yocto@yoctoproject.org
Subject: Re: run commands after installation
Date: Wed, 26 Jun 2013 16:37:23 +0100	[thread overview]
Message-ID: <51CB0AB3.2070107@r-finger.com> (raw)
In-Reply-To: <CAM1ZcoUioyojYfHot5ue+2qfpiYm884T7psN8aSg+XLdUjH+-Q@mail.gmail.com>

On 26/06/13 15:32, Katu Txakur wrote:
> I want to create a user after adding the snmp recipe. The command to do
> that is:
> 
> net-snmp-config --create-snmpv3-user -a "my_password" myuser
> 
> What's the best way to do it? I have tried from do_install_append and
> also from ROOTFS_POSTPROCESS_COMMAND but no luck so far.

You need a postinst script for that sort of a thing.

Tomas

-- 
http://sleepfive.com


  reply	other threads:[~2013-06-26 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 14:32 run commands after installation Katu Txakur
2013-06-26 15:37 ` Tomas Frydrych [this message]
2013-06-27  6:38   ` Gaurang Shastri
2013-06-27  7:16     ` Nicolas Dechesne
2013-06-27  9:37   ` Katu Txakur

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=51CB0AB3.2070107@r-finger.com \
    --to=tf+lists.yocto@r-finger.com \
    --cc=yocto@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.