anchor.diff:      curl -L http://sourceforge.net/projects/libdnet/files/libdnet/${LIBDNET}/${LIBDNET}.tar.gz \
           | tar -xzC /vmtoolsd/${LIBDNET} --strip-components 1 &&\
       cd /vmtoolsd/${LIBDNET} && ./configure --build=i486-pc-linux-gnu &&\
  -    make CC="gcc -m32" CXX="g++ -m32" &&\
  +    make CC="gcc $GCC_M" CXX="g++ $GCC_M" &&\
       make install && make DESTDIR=$ROOTFS install
   
   RUN cd $ROOTFS && cd usr/local/lib && ln -s libdnet.1 libdumbnet.so.1
   
   # Make sure that all the modules we might have added are recognized (especially VBox guest additions)
  -RUN depmod -a -b $ROOTFS $KERNEL_VERSION-tinycore64
  +# RUN depmod -a -b $ROOTFS $KERNEL_VERSION-tinycore64
   
   COPY VERSION $ROOTFS/etc/version
   RUN cp -v $ROOTFS/etc/version /tmp/iso/version
  
positive.code: RUN cp -v /linux-kernel/arch/x86_64/boot/bzImage /tmp/iso/boot/vmlinuz64
  
  # Download the rootfs, don't unpack it though:
  RUN curl -L -o /tcl_rootfs.gz $TCL_REPO_BASE/release/distribution_files/rootfs.gz
  
  # Install the TCZ dependencies
  RUN for dep in $TCZ_DEPS; do \
  
negative.code:                                                                          libglib2.0-dev libdumbnet-dev:i386 \
                                                                           libdumbnet1:i386 libfuse2:i386 libfuse-dev \
                                                                           libglib2.0-0:i386 libtirpc-dev libtirpc1:i386
  # hernad: no i386
  # Horrible Hack
  #RUN ln -s /lib/i386-linux-gnu/libglib-2.0.so.0.3200.4 /lib/i386-linux-gnu/libglib-2.0.so &&\
  #    ln -s /lib/i386-linux-gnu/libtirpc.so.1.0.10 /lib/i386-linux-gnu/libtirpc.so &&\
  #    ln -s /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 /usr/lib/i386-linux-gnu/libgthread-2.0.so &&\
  #    ln -s /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 /usr/lib/i386-linux-gnu/libgmodule-2.0.so &&\
  #    ln -s /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 /usr/lib/i386-linux-gnu/libgobject-2.0.so &&\
  #    ln -s /lib/i386-linux-gnu/libfuse.so.2 /lib/i386-linux-gnu/libfuse.so
  
  # hernad: no vmware
  # Compile open-vm-tools
  #RUN cd /vmtoolsd/open-vm-tools && autoreconf -i &&\
  #    CC="gcc $GCC_M" CXX="g++ $GCC_M" ./configure --host=i486-pc-linux-gnu --build=i486-pc-linux-gnu \
  #                --without-kernel-modules --without-pam --without-procps --without-x --without-icu &&\
  #    make CC="gcc $GCC_M" CXX="g++ $GCC_M" LIBS="-ltirpc" CFLAGS="-Wno-implicit-function-declaration" &&\
  #    make DESTDIR=$ROOTFS install
  
  # Download and compile libdnet as open-vm-tools rely on it.
  ENV LIBDNET libdnet-1.11
  