package/index: filter out the libc package from the index
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jun 2012 01:29:11 +0000 (01:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jun 2012 01:29:11 +0000 (01:29 +0000)
SVN-Revision: 32187

scripts/ipkg-make-index.sh
target/imagebuilder/files/Makefile

index 31b4327da34ccfeb8f190f064cd8ac0e50bed185..cbfa450c0a2aa7e4aeab9217a8dd98dd5ea8874c 100755 (executable)
@@ -14,6 +14,7 @@ for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
        name="${pkg##*/}"
        name="${name%%_*}"
        [[ "$name" = "kernel" ]] && continue
+       [[ "$name" = "libc" ]] && continue
        echo "Generating index for package $pkg" >&2
        file_size=$(ls -l $pkg | awk '{print $5}')
        md5sum=$(md5sum $pkg | awk '{print $1}')
index 803252b4b60da6b8e404a02b83b5607a916ccbda..b0d0698acdc5370ab48e9e25dc858643d060bd4f 100644 (file)
@@ -126,6 +126,7 @@ package_index: FORCE
 package_install: FORCE
        @echo
        @echo Installing packages...
+       $(OPKG) install $(PACKAGE_DIR)/libc_*.ipk
        $(OPKG) install $(PACKAGE_DIR)/kernel_*.ipk
        $(OPKG) install $(BUILD_PACKAGES)
        rm -f $(TARGET_DIR)/usr/lib/opkg/lists/*