[PATCH 1/7] Fix the generation of pkg-lists/standard-udebs
* Add pkg-lists/standard-udebs as a dependency for monolthic images (it is
removed automatically on clean, but was never generated).
* Messy sources.list.udeb will come with non-udeb packages and duplicated
udebs; handle those.
Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
---
Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 2cd5b57..07ab485 100644
--- a/Makefile
+++ b/Makefile
@@ -808,12 +808,14 @@ $(STAMPS)extra-$(targetstring)-stamp: $(STAMPS)get_udebs-$(targetstring)-stamp
@touch $@
# Get a list of all the standard priority udebs, excluding kernel stuff.
+$(STAMPS)get_udebs-monolithic-stamp: pkg-lists/standard-udebs
pkg-lists/standard-udebs:
get-packages udeb update
grep-dctrl -FPriority -e 'required|standard|important' \
+ -a -FSection -X debian-installer \
-sPackage apt.udeb/state/lists/*_Packages* | \
grep -v kernel-image | grep -v -- -modules | \
- cut -d " " -f 2 > $@
+ cut -d " " -f 2 | sort | uniq > $@
# Get a list of all kernel modules matching the kernel version.
pkg-lists/kernel-module-udebs:
--
1.7.1
Reply to: