* 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 <j...@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


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1281957626-9626-2-git-send-email...@jk.fr.eu.org

Reply via email to