Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/dropbear: fix generatign keys on RO file systems
Date: Mon, 13 Jul 2015 17:18:58 +0200	[thread overview]
Message-ID: <20150713151858.GK4008@free.fr> (raw)
In-Reply-To: <20150713150147.GU2451@tarshish>

Baruch, All,

On 2015-07-13 18:01 +0300, Baruch Siach spake thusly:
> On Mon, Jul 13, 2015 at 04:49:05PM +0200, Yann E. MORIN wrote:
> > +	if ! [ -d /etc/dropbear ]; then
> > +		if ! rm -f /etc/dropbear; then
> 
> 'rm -f' always succeeds.

No, it does not succeeds if the filesystem is readonly.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-07-13 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13 14:49 [Buildroot] [PATCH] package/dropbear: fix generatign keys on RO file systems Yann E. MORIN
2015-07-13 15:00 ` Maxime Hadjinlian
2015-07-13 15:01 ` Baruch Siach
2015-07-13 15:18   ` Yann E. MORIN [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=20150713151858.GK4008@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox