[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to distinguish .udeb files from regular .deb files?



Cyril Brulebois <kibi@debian.org> (2016-08-23):
> > Is there some other (preferred) way to identify .udeb packages?
> > 
> > 1. "Section: debian-installer"?
> 
> Looking at an amd64 sid chroot with:
>   deb     file:///srv/mirrors/debian sid main main/debian-installer non-free
> 
> this seems to be something that works. Only hits in /var/lib/apt/lists
> are in:
>   _srv_mirrors_debian_dists_sid_main_debian-installer_binary-amd64_Packages
>   _srv_mirrors_debian_dists_sid_main_source_Sources
> 
> This is likely your best bet here (besides the extension).

Interestingly, that's actually enforced by dak! :)

daklib/queue.py has:
| def check_valid(overrides, session):
|     """Check if section and priority for new overrides exist in database.
| 
|     Additionally does sanity checks:
|       - debian-installer packages have to be udeb (or source)
|       - non debian-installer packages cannot be udeb


KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: