[Buildroot] [PATCH] Fix avahi build
Thiago A. Corrêa
thiago.correa at gmail.com
Fri May 15 05:11:23 UTC 2009
On Thu, May 14, 2009 at 12:26 PM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "root" == root <thiago.correa at gmail.com> writes:
> root> Signed-off-by: Thiago A. Correa <thiago.correa at gmail.com>
> root> ---
> root> package/avahi/avahi.mk | 1 +
> root> 1 files changed, 1 insertions(+), 0 deletions(-)
> root> +++ b/package/avahi/avahi.mk
> root> @@ -150,6 +150,7 @@ ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
> root> $(INSTALL) -D -m 0755 package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
> root> $(INSTALL) -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
> root> rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
> root> + mkdir -p $(TARGET_DIR)/var/lib/
> What exactly does this fix? It seems like we should have /var/lib/ as
> we're removing /var/lib/avahi-autoipd?
> A bit more detailed description in your commit message would be good.
Perhaps the order of packages influenced it once that it built onetime
for whoever wrote that.
The line below that is:
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
make atngw100-extended_defconfig && make
and it will fail there, because the folder $(TARGET_DIR)/var/lib/ doesn't exist.
Apply patch then rm -rf binaries build_* toolchain_* project_* && make
and it all goes well. That's the actual test procedure I did. I try to
test most commits with a clean build to make sure I'm not screwing
I found the problem testing the atngw100*_defconfig's from the other patches.
Thiago A. Correa
More information about the buildroot