From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 3/9] python: remove *.pyo files
Date: Tue, 17 May 2016 22:49:20 +0200 [thread overview]
Message-ID: <20160517224920.39c7fff6@free-electrons.com> (raw)
In-Reply-To: <CAHXCMMKH31WxNPbP_5_TMwxTVa8ykKByvAuxn+5sdeCod_n56Q@mail.gmail.com>
Hello,
On Sun, 1 May 2016 22:45:55 +0200, Samuel Martin wrote:
> > +# In all cases, we don't want to keep the optimized .pyo files
> > +ifeq ($(BR2_PACKAGE_PYTHON),y)
> > +define PYTHON_REMOVE_PYO_FILES
> > + find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) -name '*.pyo' -print0 | xargs -0 rm -f
> I think xargs should be called with the --no-run-if-empty option.
Thanks for the hint, I've fixed this patch to add the
--no-run-if-empty. Other occurrences will have to be fixed separately.
Patch applied to next with your suggested change.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-05-17 20:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-01 20:15 [Buildroot] [PATCH v3 0/9] Python3 bump to 3.5.1 and global byte-compilation Thomas Petazzoni
2016-05-01 20:15 ` [Buildroot] [PATCH v3 1/9] python3: bump to 3.5.1 Thomas Petazzoni
2016-05-17 20:48 ` Thomas Petazzoni
2016-05-01 20:15 ` [Buildroot] [PATCH v3 2/9] python: align the target finalize hooks with python3 Thomas Petazzoni
2016-05-17 20:48 ` Thomas Petazzoni
2016-05-01 20:15 ` [Buildroot] [PATCH v3 3/9] python: remove *.pyo files Thomas Petazzoni
2016-05-01 20:45 ` Samuel Martin
2016-05-17 20:49 ` Thomas Petazzoni [this message]
2016-05-01 20:15 ` [Buildroot] [PATCH v3 4/9] python-crossbar: fix byte-compilation of .pyc files Thomas Petazzoni
2016-05-01 20:46 ` Samuel Martin
2016-05-17 20:49 ` Thomas Petazzoni
2016-05-01 20:15 ` [Buildroot] [PATCH v3 5/9] python-pyftpdlib: fix byte-compilation with Python 3 Thomas Petazzoni
2016-05-01 20:47 ` Samuel Martin
2016-05-01 20:15 ` [Buildroot] [PATCH v3 6/9] python-pygame: bump version to fix Python 3 byte-compilation issue Thomas Petazzoni
2016-05-01 21:22 ` Samuel Martin
2016-05-01 21:49 ` Thomas Petazzoni
2016-05-17 20:51 ` Thomas Petazzoni
2016-05-01 20:15 ` [Buildroot] [PATCH v3 7/9] python-pexpect: fix byte-compilation with Python 2 Thomas Petazzoni
2016-05-01 20:48 ` Samuel Martin
2016-05-01 20:15 ` [Buildroot] [PATCH v3 8/9] python/python3: globalize *.pyc files compilation Thomas Petazzoni
2016-05-01 20:15 ` [Buildroot] [PATCH v3 9/9] samba4: remove compilation of .pyc files Thomas Petazzoni
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=20160517224920.39c7fff6@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--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 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.