mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:05:20 +02:00
package/index: filter out the libc package from the index
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32187 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
af491558a3
commit
b766b6c9d5
@ -14,6 +14,7 @@ for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
|
|||||||
name="${pkg##*/}"
|
name="${pkg##*/}"
|
||||||
name="${name%%_*}"
|
name="${name%%_*}"
|
||||||
[[ "$name" = "kernel" ]] && continue
|
[[ "$name" = "kernel" ]] && continue
|
||||||
|
[[ "$name" = "libc" ]] && continue
|
||||||
echo "Generating index for package $pkg" >&2
|
echo "Generating index for package $pkg" >&2
|
||||||
file_size=$(ls -l $pkg | awk '{print $5}')
|
file_size=$(ls -l $pkg | awk '{print $5}')
|
||||||
md5sum=$(md5sum $pkg | awk '{print $1}')
|
md5sum=$(md5sum $pkg | awk '{print $1}')
|
||||||
|
@ -126,6 +126,7 @@ package_index: FORCE
|
|||||||
package_install: FORCE
|
package_install: FORCE
|
||||||
@echo
|
@echo
|
||||||
@echo Installing packages...
|
@echo Installing packages...
|
||||||
|
$(OPKG) install $(PACKAGE_DIR)/libc_*.ipk
|
||||||
$(OPKG) install $(PACKAGE_DIR)/kernel_*.ipk
|
$(OPKG) install $(PACKAGE_DIR)/kernel_*.ipk
|
||||||
$(OPKG) install $(BUILD_PACKAGES)
|
$(OPKG) install $(BUILD_PACKAGES)
|
||||||
rm -f $(TARGET_DIR)/usr/lib/opkg/lists/*
|
rm -f $(TARGET_DIR)/usr/lib/opkg/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user