Commit Graph

53 Commits

Author SHA1 Message Date
Cyril Brulebois 14064e08a1 Replace all gzip -9 calls with pigz -9nm ones.
Some gzip calls have --no-name, which disables both the original name
and timestamp; use -n (disables original name) and -m (disables original
timestamp) for pigz, for all calls.
2023-01-23 19:30:35 +01:00
Steve McIntyre e57aa6fa72 Add non-free-firmware support
List the desired non-free sections to use in NONFREE_COMPONENTS in
CONF.sh, default to "non-free non-free-firmware" by default until
things are all migrated.
2022-10-08 17:48:59 +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 8f3fd4675a Fix ordering for checksums in update-cd
Make sure compress the .jigdo files *before* we checksum them!
2019-01-26 21:36:57 +00:00
Steve McIntyre b9832c3fb4 Fix arch list for update-cd 2018-07-14 13:26:23 +01:00
Steve McIntyre 2e5e51288f Use a normal path for genisoimage in update-cd 2018-07-14 13:07:10 +01:00
Steve McIntyre abc2a7e74d Updates for update-cd
Grab checksums from the binary-all Packages.gz too when building
Generate checksums for torrents and jigdo files too if desired
2018-07-14 13:05:06 +01:00
Steve McIntyre b774eb3535 lose extra - on -joliet-long 2018-02-10 12:11:05 +00:00
Steve McIntyre 6112370e0a Ensure that in all places where we use -J we also use --joliet-long
Thanks to Thomas Schmitt again for a clear bug report!
2018-02-10 00:29:15 +00:00
Steve McIntyre c8e8c0b10b Clean up update-cd
Remove old stuff
Fix up copyright
2017-08-04 21:12:57 +01:00
Steve McIntyre 14a650a569 Switch locations from /org/ to /src/ across our config 2017-06-22 17:25:02 +01:00
Steve McIntyre d39aeb0971 More source formats 2015-09-07 18:07:23 +01:00
Steve McIntyre 4dcc8bd94c Check for file size on update CD/DVD generation 2015-09-07 15:53:45 +01:00
Steve McIntyre 5c9c3b8f6d indent fix 2015-02-07 23:24:49 +00:00
Steve McIntyre 7cd4192b40 update-cd: if we're doing torrents, make sure we include update CD
checksums in bt-$type too.
2015-02-07 23:15:57 +00:00
Steve McIntyre 28d2a67dcf Update arch lists to match what's in Jessie
Remove sparc and ia64
Add arm64
2014-09-21 18:24:44 +01:00
Steve McIntyre bc4d87e06f Remove s390 from the arch lists
Remove s390 from the arch lists in various scripts, as it's going
away. Support remains if specifically configured yet.
2013-10-16 23:28:08 +01:00
Steve McIntyre 8ac07a76fd Describe discs appropriately depending on the kernel used.
Closes: #673975
2012-05-30 07:35:23 +00:00
Steve McIntyre 32a101d56c Add s390x as a known architecture, merging common s390/s390x boot
setup scripts.
2012-05-28 22:42:43 +00:00
Steve McIntyre 730ee51310 Add armhf architecture 2012-03-16 14:43:18 +00:00
Steve McIntyre 8f252008d3 Run the mkisofs step *outside* of "set -e" so that we can actually
report errors instead of silently failing.

Split out the code for starting a new disc into a function.

Pick up on a potential bug: if we finish the last (expected) disc with
a backed-out file, make sure we create another imaget to include that
file too.
2011-07-05 10:46:43 +00:00
Steve McIntyre a622b4d91c Syntax fix 2011-03-24 13:03:51 +00:00
Steve McIntyre 68740e244d Reindent 2011-03-24 12:59:18 +00:00
Steve McIntyre f4ec575c08 Factor out ISODIR, JIGDODIR and LISTDIR 2011-03-24 12:11:01 +00:00
Steve McIntyre b24974e5d0 Factor out the iso filename to reduce repetition and bugs 2011-03-24 11:59:53 +00:00
Steve McIntyre 89f878a8de Fix bug in naming of the iso when not doing jigdo 2011-03-24 11:58:05 +00:00
Steve McIntyre a3377f6143 generate list files directly when building 2011-03-24 11:52:58 +00:00
Steve McIntyre 40c15e468d * Merge update-cd changes back from the squeeze branch:
+ Remove the old non-US stuff from it, it's not been needed in years.
  + Cope with .bz2 source files too.
  + Merged and simplified the old functionality from scansources.old
    and scanpackages.old into the new script create_control.
2011-03-23 17:19:49 +00:00
cd-builder user 8fcb65d5d4 copy from the current code in the squeeze branch 2011-03-19 21:53:28 +00:00
Steve McIntyre 7f32c206e3 When generating both iso and jigdo files, make sure that the iso files
are at least as new as the jigdo files, as this helps people
mirroring. Closes: #587774
2010-07-02 22:43:46 +00:00
Steve McIntyre 3689363a6c stop using .raw as an extension for the ISO images 2010-07-02 22:12:51 +00:00
Steve McIntyre 71b2877161 Fix up handling of ARCHLIST 2008-11-02 02:59:10 +00:00
Steve McIntyre e56a7c5fb0 Fix how directory trees are created in update-cd. Closes: #503911 2008-11-02 02:55:34 +00:00
Steve McIntyre 2a2dd08f4d * Merge update-cd changes across from the version in etch. 2007-09-01 22:58:48 +00:00
Steve McIntyre 9fa84ca744 Updated comments in update-cd; potato was a while ago! 2007-04-10 23:46:26 +00:00
Steve McIntyre ef08ca5053 Updates for sarge r5
Add support for update DVDs

Change parameters used - argument should now be cd or dvd rather than
arches to run
2007-02-20 23:05:34 +00:00
Steve McIntyre 93fe864b6f * Another devel branch merge: Change tools/grab_md5 to also look for
md5sums in the installer suite as well as the archive suite in
    case they're different. Also removed old woody support, to clean
    up the code a little. Updated Makefile and update-cd to match the
    command-line interface change.
2006-11-30 22:13:42 +00:00
Steve McIntyre 5b58ea6f6d Trivial updates to update-cd 2006-10-05 23:12:22 +00:00
Steve McIntyre 4e363bef36 More cleanups for the first sarge point release. Make the update CDs easier to produce... 2005-12-19 22:39:10 +00:00
Steve McIntyre f8f6b90b2a Updates for sarge r1 2005-12-19 19:05:23 +00:00
Steve McIntyre 3a2f1e861a Checking in the changes needed for the woodyr3 update CDs. 2004-10-31 01:10:42 +00:00
Steve McIntyre fa62c31887 Checking in changes used in making the woody r2 update images 2004-07-12 21:20:43 +00:00
Steve McIntyre b6a299ab22 Rearranged to produce a CD per architecture 2002-12-23 10:03:45 +00:00
Steve McIntyre c5fe08e47c Make sure we're in the right directory before running scansources 2002-12-21 12:34:10 +00:00
Steve McIntyre f27ced66c0 Updated to make woody update CDs. We fit onto two CDs for now:
CD1: alpha arm hppa i386 ia64 m68k src all
CD2: mips mipsel powerpc s390 sparc src all
Fairly big changes to cope with pools, especially needs a patched
dpkg-scanpackages which is in tools/my-dpkg-scanpackages
2002-12-21 12:13:08 +00:00
Steve McIntyre ea30a16ccc Updated for r6, cleaned up a little 2002-04-16 00:25:46 +00:00
Steve McIntyre a1daf080e5 Updates for 2.2r4 2001-12-16 23:22:11 +00:00
Steve McIntyre ac9ae88ef8 Updated to work with r3. sources now on a 3rd CD. 2001-05-25 00:02:55 +00:00