Commit Graph

17 Commits

Author SHA1 Message Date
Holger Levsen 21d6617f0f which_deb: fix typo breaking local Packages.xz Closes: #968668
tools/which_deb: Apply patch by JH Chatenet to fix problems with local
xz compressed Packages files. Closes: #968668

Signed-off-by: Holger Levsen <holger@layer-acht.org>
2021-02-03 17:13:18 +01:00
Steve McIntyre 078be0016d When we have more than one source version, list all the sources rather than just the first version 2017-10-20 23:26:28 +01:00
John Paul Adrian Glaubitz 96691923d8 Remove special handling for palo, silo and yaboot in which_deb 2017-09-06 13:20:00 +02:00
Steven Chamberlain d62734ee71 Fix which_deb handling of non-Linux arches
When which_deb finds "*i386" or "*amd64" entries in the ARCHES list,
it will wrongly change them to "i386" to "amd64" respectively (which
is wrong in the case of kfreebsd-* or hurd-*).

Make the same changes here that were already made to identical code in
generate_di_list, to fix #758512 (commits
771f754516 and
2ef5d3288c).
2017-04-12 20:23:31 +01:00
Steve McIntyre a55bc64a77 Add support for archives without Packages.gz and Sources.gz
Try .xz files too
2016-11-15 09:06:41 +00:00
John Paul Adrian Glaubitz d43c032c10 Let which_deb search silo in sparc64 instead of sparc.
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2016-01-03 00:06:47 +00:00
Steve McIntyre 7ef1b0a5c8 * Update boot-mipsel and boot-hppa to use the which_deb script for
better safety when extracting boot loader files.
  * Update all the relevant boot-* scripts to do the right thing when
    extracting packages and sources, depending on
    $ARCHIVE_EXTRACTED_SOURCES as above
2013-03-07 06:34:07 +00:00
cd-builder user 23b814b5bc silly thinko 2012-12-06 17:39:34 +00:00
Steve McIntyre 3e98cc6044 * Improve architecture support in which_deb. Closes: #695244
+ Check all the architectures available in the archive if we're not
    specifically told which to use (e.g. on source builds)
  + If we fail to find packages/sources for the specified package, say
    so and bail out properly.
2012-12-06 17:36:28 +00:00
Steve McIntyre 17686a2761 minor indent change 2011-06-09 15:25:38 +00:00
Steve McIntyre 32b3a4d4cb * Update make_disc_trees.pl and which_deb to cope with different
types of source file, and clean up the code in that area.
2011-03-23 17:23:50 +00:00
Steve McIntyre cd5a1d2c90 * Merge patches from Jonathan Hall:
+ Add better support for extra components, improve non-i386 mirror
    support (Closes: 514237)
  + tools/update_tasks no longer assumes i386 for all builds (Closes: #513497)
  + tools/which_deb no longer assumes i386 for all builds (Closes: #513498)
* For source-only builds, don't do any task updates as they're not
  useful anyway.
* Last high-urgency upload, ready for Lenny!
2009-02-12 00:22:17 +00:00
Steve McIntyre 4c0e41e465 * Add support for tracking which packages we've extracted binaries from,
so that we can archive them (both binaries and sources). If we need
    anything, we will list it in CD$N.pkgs_extracted so that external
    scripts can pick it up and do whatever's needed.
  * Minor changes to the interface of tools/which_deb to accommodate that:
    now just lists the files *within* the mirror; it's up to callers to
    prepend ${MIRROR} as needed.
2008-11-23 18:19:25 +00:00
Steve McIntyre 7a6ced3533 Move to perl, and add support for grabbing source details too 2008-11-22 10:46:55 +00:00
Steve McIntyre 3580191792 Remove all mention of sbm; no longer needed 2008-09-16 15:29:55 +00:00
Steve McIntyre 7a81292e18 Fix silly thinko 2008-09-16 01:40:15 +00:00
Steve McIntyre 60dbf627e2 * Major licensing problem cleanup: (Closes: #497270)
+ Remove binary blobs from the package; pull those files from the
      .debs in the archive as needed (isolinux.bin, vesamenu.c32)
    + sbm.bin *not* yet worked out, so drop it for now
    + Pull out the code to find the right deb and put it in a new helper
      shell script (tools/which_deb), called from Makefile and boot-* as
      needed.
2008-09-15 23:09:18 +00:00