[1/2] Prepare for python3
Message ID | 1489156222-29550-2-git-send-email-jonatan.schlag@ipfire.org |
---|---|
State | Dropped |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 2D4DC61C2D for <patchwork@ipfire.org>; Fri, 10 Mar 2017 15:30:42 +0100 (CET) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 721BCC20; Fri, 10 Mar 2017 15:30:40 +0100 (CET) Received: from fangorn.local.familyschlag (dslb-088-073-206-197.088.073.pools.vodafone-ip.de [88.73.206.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 89FC0C09; Fri, 10 Mar 2017 15:30:28 +0100 (CET) From: Jonatan Schlag <jonatan.schlag@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH 1/2] Prepare for python3 Date: Fri, 10 Mar 2017 15:30:20 +0100 Message-Id: <1489156222-29550-2-git-send-email-jonatan.schlag@ipfire.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1489156222-29550-1-git-send-email-jonatan.schlag@ipfire.org> References: <1489156222-29550-1-git-send-email-jonatan.schlag@ipfire.org> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Jonatan Schlag
March 11, 2017, 1:30 a.m. UTC
The build of ipaadr fails with python3 because two possibilities of
/usr/lib/python* are availible. This patch set the path to
/usr/lib/python2* to make the path clear.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
lfs/ipaddr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Sorry this path is already in next, he can safely ignored. Am Fr, 10. Mär, 2017 um 3:30 schrieb Jonatan Schlag <jonatan.schlag@ipfire.org>: > The build of ipaadr fails with python3 because two possibilities of > /usr/lib/python* are availible. This patch set the path to > /usr/lib/python2* to make the path clear. > > Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> > --- > lfs/ipaddr | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lfs/ipaddr b/lfs/ipaddr > index 4b74e02..186141c 100644 > --- a/lfs/ipaddr > +++ b/lfs/ipaddr > @@ -70,7 +70,7 @@ $(subst %,%_MD5,$(objects)) : > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > - cd $(DIR_APP) && install -m 0644 ipaddr.py /usr/lib/python* > + cd $(DIR_APP) && install -m 0644 ipaddr.py /usr/lib/python2* > /usr/bin/python -c "import ipaddr" > @rm -rf $(DIR_APP) > @$(POSTBUILD) > -- > 2.1.4 >
Okay, ignored this. Merged the other two. -Michael On Fri, 2017-03-10 at 15:32 +0100, Jonatan Schlag wrote: > Sorry this path is already in next, he can safely ignored. > > Am Fr, 10. Mär, 2017 um 3:30 schrieb Jonatan Schlag > <jonatan.schlag@ipfire.org>: > > > > The build of ipaadr fails with python3 because two possibilities of > > /usr/lib/python* are availible. This patch set the path to > > /usr/lib/python2* to make the path clear. > > > > Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> > > --- > > lfs/ipaddr | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lfs/ipaddr b/lfs/ipaddr > > index 4b74e02..186141c 100644 > > --- a/lfs/ipaddr > > +++ b/lfs/ipaddr > > @@ -70,7 +70,7 @@ $(subst %,%_MD5,$(objects)) : > > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > > @$(PREBUILD) > > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > > - cd $(DIR_APP) && install -m 0644 ipaddr.py /usr/lib/python* > > + cd $(DIR_APP) && install -m 0644 ipaddr.py /usr/lib/python2* > > /usr/bin/python -c "import ipaddr" > > @rm -rf $(DIR_APP) > > @$(POSTBUILD) > > -- > > 2.1.4 > > >