Re: [PATCH 1/7] Fix the generation of pkg-lists/standard-udebs
Jeremie Koenig, le Mon 16 Aug 2010 13:20:20 +0200, a écrit :
> * Add pkg-lists/standard-udebs as a dependency for monolthic images (it is
> removed automatically on clean, but was never generated).
> @@ -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
Mmm, I see that what other archs do (except kfreebsd, from which I had
copied and is probably just wrong) is e.g.
TARGET = pkg-lists/standard-udebs pkg-lists/kernel-module-udebs $(INITRD) $(KERNEL) $(MINIISO)
For now, I have just updated kfreebsd and hurd accordingly.
> * Messy sources.list.udeb will come with non-udeb packages and duplicated
> udebs; handle those.
I'd tend to think that this might be useful. Thoughts?
> 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 > $@
or just sort -u