Hi,

I'm sending a patch for the Imagebuilder Makefile in order for it to get
into the right directory when activating the init scripts.

I've also modified the Imagebuilder configuration file file because I don't
find it necessary to compile all the packages when building it. Build all
the packages takes a very long time and usually there are many errors when
compiling which stop the process and makes very difficult to obtain an
Imagebuilder.

I hope you find it useful and include it in the Openwrt development

Regards,

Xavier Martinez <[EMAIL PROTECTED]>

Index: target/imagebuilder/files/Makefile
===================================================================
--- target/imagebuilder/files/Makefile    (revision 13142)
+++ target/imagebuilder/files/Makefile    (working copy)
@@ -131,10 +131,10 @@
     @echo
     @echo Activating init scripts
     @( \
-        cd $(BUILD_DIR)/root; \
+        cd $(BUILD_DIR)/root-$(BOARD); \
         for script in ./etc/init.d/*; do \
             grep '#!/bin/sh /etc/rc.common' $$script >/dev/null ||
continue; \
-            IPKG_INSTROOT=$(BUILD_DIR)/root $(which bash) ./etc/rc.common
$$script enable; \
+            IPKG_INSTROOT=$(BUILD_DIR)/root-$(BOARD) $(which bash)
./etc/rc.common $$script enable; \
         done || true; \
     )

Index: target/imagebuilder/Config.in
===================================================================
--- target/imagebuilder/Config.in    (revision 13142)
+++ target/imagebuilder/Config.in    (working copy)
@@ -3,7 +3,6 @@
     depends !TARGET_ROOTFS_INITRAMFS
     depends !TARGET_uml
     depends !PROFILE_KCONFIG
-    select ALL
     help
       This is essentially a stripped-down version of the buildroot
       with precompiled packages, kernel image and image building tools.
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to