Skip to content
Snippets Groups Projects
Unverified Commit 17f87748 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

openwrt: Patch to unbreak Package lists


Currently openwrt ignores kernel and libc as packages. This patch undoes that
so we can have everything in package index.

Signed-off-by: default avatarMichal Hrusecky <Michal@Hrusecky.net>
parent 7e7a4b62
No related branches found
No related tags found
No related merge requests found
From 0a362a780bdc66d9442f7aed4ed5ae439f848031 Mon Sep 17 00:00:00 2001
From: Michal Hrusecky <Michal@Hrusecky.net>
Date: Mon, 19 Feb 2018 21:26:48 +0100
Subject: [PATCH] scripts: Don't skip kernel and libc in Packages generation
It kinda breaks dependencies as it looks like libc and kernel are missing from
repositories.
Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net>
---
scripts/ipkg-make-index.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/ipkg-make-index.sh b/scripts/ipkg-make-index.sh
index dcd11ca..0f198aa 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
empty=
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}')
sha256sum=$(mkhash sha256 $pkg)
--
2.16.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment