From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Baeuerle, Florian" <Florian.Baeuerle@allegion.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH v2 1/2] recursive_action: add ACTION_SORT flag
Date: Thu, 3 Jan 2019 11:59:36 +0100 [thread overview]
Message-ID: <20190103105936.b3nkdub77cpeoad4@pengutronix.de> (raw)
In-Reply-To: <20181219140146.11806-1-florian.baeuerle@allegion.com>
Hi Florian,
On Wed, Dec 19, 2018 at 02:02:03PM +0000, Baeuerle, Florian wrote:
> Add a flag to sort directory entries before recursing into them.
>
> Since this part of lib/ is used inside barebox as well as in
> scripts/bareboxenv.c, we cannot easily use stringlists from lib/, which
> would have made the code a bit nicer.
>
> Further, add poison.h from kernel 4.5-rc1, which was the base for
> importing linux headers under scripts/ in a883d9a. This is required for
> actually using kernel linked lists within scripts/ tools.
I applied this with some changes. It was important for me that the sort
support does not leak into the barebox image so we do not increase the
binary size. Please check the result in the -next branch, it should do
what you need.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-01-03 10:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-13 15:47 bareboxenv -s: output depends on filesystem Baeuerle, Florian
2018-12-17 10:53 ` Sascha Hauer
2018-12-18 13:22 ` [PATCH 1/2] recursive_action: add ACTION_SORT flag Baeuerle, Florian
2018-12-18 13:22 ` [PATCH 2/2] envfs: new flag for sorting env before saving Baeuerle, Florian
2018-12-19 12:42 ` [PATCH 1/2] recursive_action: add ACTION_SORT flag Baeuerle, Florian
2018-12-19 14:02 ` [PATCH v2 " Baeuerle, Florian
2018-12-19 14:02 ` [PATCH v2 2/2] envfs: new flag for sorting env before saving Baeuerle, Florian
2019-01-03 10:59 ` Sascha Hauer [this message]
2019-01-03 11:53 ` [PATCH v2 1/2] recursive_action: add ACTION_SORT flag Baeuerle, Florian
2019-01-07 7:58 ` s.hauer
2019-01-08 9:47 ` Baeuerle, Florian
2019-01-08 9:48 ` [PATCH 1/2] envfs: fix problem #1 Baeuerle, Florian
2019-01-08 9:48 ` [PATCH 2/2] envfs: fix problem #2 Baeuerle, Florian
2019-01-08 15:40 ` [PATCH v2 1/2] recursive_action: add ACTION_SORT flag s.hauer
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=20190103105936.b3nkdub77cpeoad4@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=Florian.Baeuerle@allegion.com \
--cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox