Commit Graph

247 Commits

Author SHA1 Message Date
Steve McIntyre 3aa5bbe31c Add easier support for extra archive signing keys
Useful when adding local packages
2020-03-29 19:11:02 +01:00
Raphaël Hertzog 9c1aab43d9
Add a default value to JIGDO_CHECKSUM 2020-01-10 14:43:11 +01:00
Steve McIntyre 0dd4219af4 Add initial support for jigdo v2 format
Add the option to switch to format v2 which uses sha256 everywhere
instead of md5. We can't actually turn this on yet, need to wait for
users to upgrade a bit and get new v2-aware jigdo clients.

But this works as-is for generating v1 until we hit that switch - see
the new JIGOO_CHECKSUM option in CONF.sh
2019-11-21 19:10:19 +00:00
Steve McIntyre 41f1383b5c Stop producing MD5SUMS and SHA1SUMS files by default 2019-07-16 16:34:36 +01:00
Steve McIntyre 389917c003 Change a load of http URLs to use https instead 2019-07-05 18:26:43 +01:00
Steve McIntyre e1e87148a1 Expose the new ARCH_I386_EXCLUDE_686_PAE_KERNEL setting 2019-05-20 12:54:49 +01:00
John Paul Adrian Glaubitz 57cae18914 Makefile: Add ia64, powerpc, riscv64 and sparc to DEBIAN_PORTS_ARCHES 2019-01-27 19:45:33 +01:00
John Paul Adrian Glaubitz e49d1c1966 Makefile: Rephrase comment on package list for Debian Ports 2019-01-27 19:44:01 +01:00
John Paul Adrian Glaubitz 647b681a13 Makefile: Reorder architecture list in DEBIAN_PORTS_ARCHES 2019-01-27 19:42:23 +01:00
John Paul Adrian Glaubitz 4b541d8cba Makefile: Rename UNRELEASED_PORT_ARCHITECTURES to DEBIAN_PORTS_ARCHES 2019-01-27 19:38:01 +01:00
John Paul Adrian Glaubitz f4bcefa9dd Rename data/base_include_port_architectures to data/debian_ports 2019-01-27 19:32:40 +01:00
Steve McIntyre 60f1e082d8 Replace generate_debian-edu_task with a perl script parsing Packages
Apt setup hasn't happened yet, so we can't use the apt
wrapper. Instead, use simple perl code derived from
generate_firmware_task.
2018-07-31 03:33:33 +01:00
Holger Levsen d2e89a1938 create a debian-edu task to be able to build an offline installation image
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2018-07-30 16:21:19 +08:00
Holger Levsen 89721734c4 fix Raphaël's name
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2018-07-30 16:00:08 +08:00
Steve McIntyre fa2e4f0028 Tweak the date used for snapshot.d.o references
Use *tomorrow* rather than today, to allow time for the snapshot to be
updated.
2018-02-16 03:20:59 +00:00
Steve McIntyre b6c7df147a Include debian-ports-archive-keyring on non released architectures
Closes: #865470
2017-06-22 17:33:10 +01:00
Steve McIntyre 00eb0a453e More buster setup 2017-06-19 14:07:09 +01:00
Steve McIntyre 8fe8b9975b Fix up buggy parsing of Packages files introduced in a55bc64a77 2016-12-09 01:14:41 +00: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
Steve McIntyre 66154bff85 Add initial support for including backports in a build
So far only tested with a single image - targeting a netinst with some
updated packages
2016-09-20 01:46:15 +01:00
Steve McIntyre c949504c2e Updates for hppa from Helge Deller
Previous changes enabled gzip compressed Linux kernels, but not 100%
sure that it works on all systems. Disable this compression for now.

Switch hppa to use xorriso by default instead of mkisofs. Xorriso
supports kernel command lines to be up to 1023 bytes, better than
mkisofs. mkisofs only supports the older palo version 4 header format
which can hold only 127 characters which might be too small.
2016-04-19 22:37:38 +01:00
Steve McIntyre a1c501ad31 Add 686 kernels to replace 586 for i386 CDs 2016-01-04 01:16:27 +00:00
Steve McIntyre 6f20b2d0b5 Change cpp usage in the Makefile to make error handling more reliable
Call cpp directly on our input task file instead of using it in a
pipeline. Not clear why this was ever done, and it obscures errors
like ENOENT (if the specified task file is missing).
2015-05-18 00:56:50 +01:00
Steve McIntyre 652bc73710 Update links for stretch 2015-05-03 21:29:54 +01:00
Steve McIntyre cd6276740e Make the mac netinst actually a netinst
INSTALLER_CD F needs to look like a netinst too
2015-03-27 14:07:15 +00:00
Steve McIntyre 7c0db7034b Add 586 kernels to replace 486 for i386 CDs 2014-10-31 15:27:13 +00:00
Steve McIntyre dceb0d9b67 Fix typos 2014-10-05 09:14:24 +01:00
Steve McIntyre 3855c0f58e Force MKISOFO=xorriso for arm64 too 2014-10-04 16:19:31 +01:00
Steve McIntyre d9504a3285 Improve correctstatus speed
Use "apt-cache show" instead of "dumpavail" in the Makefile.

Using "dumpavail" dumps all packages, while we're only interested in one
specific package. This wasts a log of cycles and time when many packages
need fixing.

Use "show $pkg" to directly dump only the requested package.

Use "--no-all-versions" to show only the candidate for installation.

Closes: #759343. Thanks to Philipp Hahn for the patch.
2014-09-10 16:43:52 +01:00
Steve McIntyre c379918467 Remove unused declaration of update_tasks 2013-11-05 01:24:38 +00:00
cd-builder user 677226f897 Tweak debootstrap handling:
The correct path for debootstrap code is /usr/share, not /usr/lib; use
that and assume it now.

Cope with the $(CODENAME) script not existing, and create a symlink to
sid where necessary. Just found in jessie - debootstrap needs
updating.
2013-05-07 00:29:55 +00:00
Steve McIntyre 9f329b5006 Check for DISKTYPE 2013-04-22 21:01:33 +00:00
Steve McIntyre 038c7d9c04 Remove the dpkg check for debootstrap version before passing the
--no-check-gpg option; we're not going to support debootstrap versions
so old that they don't support this flag, *and* the dpkg-query call
doesn't give us the right version anyway - we're using an extracted
copy from the archive, not the one that (might be) installed on our
build machine.
2013-04-19 16:26:36 +00:00
Raphaël Hertzog 417d8fd591 Tweak logic to handle keyring for APT and debootstrap
Use ARCHIVE_KEYRING_PACKAGE and ARCHIVE_KEYRING_FILE parameters
and always use the unpacked keyring instead of the system-wide one.

Thanks to Robert Spencer <rspencer@lbsd.net> for the patch.
2013-04-19 13:03:59 +00:00
Raphaël Hertzog ef1e317123 Use ARCHIVE_KEYRING parameter to not hardcode debian-archive-keyring and let derivatives use their own keyring package. 2013-04-12 08:43:07 +00:00
Steve McIntyre b7ea5d5530 Fix cpp warning in Makefile. Closes: #704342 2013-03-19 15:41:47 +00:00
Steve McIntyre 7bccd7b9ca * Extract debian-archive-keyring when setting up apt to avoid error
messages about missing keys. Closes: #703431
2013-03-19 15:33:53 +00:00
Raphaël Hertzog 1c4f1894cf Use debootstrap --no-check-gpg by default since many local mirrors
are not signed (such as temporary mirrors created by simple-cdd).
2013-03-01 11:00:36 +00:00
Raphaël Hertzog b77a268aa2 Update Makefile to set MKISOFS to xorriso by default when building
images for i386/amd64. Otherwise a build that doesn't set MKISOFS
and MKISOFS_OPTS fails.
2013-03-01 08:00:03 +00:00
cd-builder user 21785c08e5 Fix typo that broke source builds 2013-02-05 10:34:29 +00:00
Steve McIntyre 183ce1c83f Fix minor logic hole in source matching 2013-02-01 03:49:49 +00:00
cd-builder user a2e6782770 Remove -e bashisms from Makefile 2012-09-17 00:49:36 +00:00
Steve McIntyre 9ccd9c397f Switch over to working with new task-* metapackages. Closes: #672941 2012-06-05 17:04:04 +00:00
cd-builder user b986ae70f2 Add FORCE_FAIL, flag to force early build failure for infrastructure debugging purposes 2012-03-13 14:34:22 +00:00
Steve McIntyre 21ce30d63d Add configuration for the snapshot.d.o URL 2011-07-01 12:36:59 +00:00
Steve McIntyre 264d8436bd Add links to snapshot.debian.org into jigdo files 2011-07-01 12:26:05 +00:00
Steve McIntyre a43a892d75 Wrap ARCHES in quotes as it may contain spaces 2011-06-10 17:00:00 +00:00
Steve McIntyre 6b960f35e9 Silly Makefile bug 2011-06-10 16:39:38 +00:00
Steve McIntyre 9cc05fedae Silly Makefile typos 2011-06-10 16:28:24 +00:00
Steve McIntyre d872cea0c1 Remove the checked-in firmware task altogether, as it's not
useful. Generate it when needed using the new script
tools/generate_firmware_task.
2011-06-10 16:21:32 +00:00