Commit Graph

251 Commits

Author SHA1 Message Date
Samuel Thibault b1f66d7191 Add hurd-amd64 case 2023-11-13 00:23:48 +01:00
Steve McIntyre 1824a66933 Add a way to exclude named firmware packages from media
So we can control which packages are included - see
tasks/$codename/firmware-exclude
2023-07-04 17:14:00 +01:00
Steve McIntyre cb14a9f29b Also update the code layout, sid->bookworm 2021-09-22 21:38:42 +01:00
Steve McIntyre 45c0531c78 Add support for running the final make_image step in parallel
to make best use of larger machines with SSD storage. Use
PARALLEL_MAKE_IMAGE=<n> to specify how many to build in parallel.
2020-12-12 03:18:16 +00:00
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