diff --git a/patches/openwrt/to-upstream/0012-scripts-Don-t-skip-kernel-and-libc-in-Packages-gener.patch b/patches/openwrt/to-upstream/0012-scripts-Don-t-skip-kernel-and-libc-in-Packages.patch similarity index 90% rename from patches/openwrt/to-upstream/0012-scripts-Don-t-skip-kernel-and-libc-in-Packages-gener.patch rename to patches/openwrt/to-upstream/0012-scripts-Don-t-skip-kernel-and-libc-in-Packages.patch index 381099ef2a7babb21a7b680a5725a5d77e18a65e..a4e085581033af729575e50ba3fa02fd784b0bdf 100644 --- a/patches/openwrt/to-upstream/0012-scripts-Don-t-skip-kernel-and-libc-in-Packages-gener.patch +++ b/patches/openwrt/to-upstream/0012-scripts-Don-t-skip-kernel-and-libc-in-Packages.patch @@ -12,7 +12,7 @@ Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net> 1 file changed, 2 deletions(-) diff --git a/scripts/ipkg-make-index.sh b/scripts/ipkg-make-index.sh -index dcd11ca..0f198aa 100755 +index f6f15d7dd8..910e9872c3 100755 --- a/scripts/ipkg-make-index.sh +++ b/scripts/ipkg-make-index.sh @@ -14,8 +14,6 @@ for pkg in `find $pkg_dir -name '*.ipk' | sort`; do @@ -22,8 +22,7 @@ index dcd11ca..0f198aa 100755 - [[ "$name" = "kernel" ]] && continue - [[ "$name" = "libc" ]] && continue echo "Generating index for package $pkg" >&2 - file_size=$(ls -l $pkg | awk '{print $5}') + file_size=$(stat -L -c%s $pkg) sha256sum=$(mkhash sha256 $pkg) --- -2.16.1 - +-- +2.20.1