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)