Steve McIntyre
966016c495
Be more explicit if DISKTYPE is not specified, or unrecognised
2021-01-16 22:32:48 +00:00
Steve McIntyre
c7dcd37aec
When compressing translations, remove the uncompressed version
...
It may cause build problems later if we keep it around
2020-12-15 11:44:56 +00: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
9acb8c5796
More tweaks for Translation files
2019-08-13 07:54:51 +01:00
Steve McIntyre
330c63e67d
Tweak recompress code
2019-07-06 11:19:02 +01:00
Steve McIntyre
6ae364773a
Tweak logging again
2019-07-06 10:53:40 +01:00
Steve McIntyre
a06b008b2f
Add more logging around the recompress() step
2019-07-06 10:42:27 +01:00
Steve McIntyre
890ab6645a
Add support for USB sticks any integer multiple of 1GB in size.
...
Factor out the common code, support anything called STICKnnnGB where
nnn is any integer
2019-06-18 23:59:01 +01:00
Steve McIntyre
114e8a3e55
Add explicit support got 16G USB images
2019-06-17 01:40:25 +01:00
Steve McIntyre
a7328f65da
Merge branch 'system' into 'master'
...
make_disc_trees: don't use system() for trivial things
See merge request images-team/debian-cd!2
2019-01-23 23:04:57 +00:00
Julien Cristau
c68062b624
make_disc_trees: don't use system() for trivial things
...
Fair warning: completely untested and I don't know perl.
2019-01-23 23:50:36 +01:00
Julien Cristau
97dbce1c22
make_disc_trees: don't reopen the log over and over
2019-01-23 23:34:01 +01:00
David Kalnischkies
270eabfa43
Provide hashes for uncompressed Translation-* again
...
Implemented in 2f34797490
for bug #767253
released a few months later in v3.1.17, but then broken again a few days
later in 9dd0616b78
by removing the
uncompressed files too early.
2018-02-16 16:14:29 +00:00
Steve McIntyre
a3aef842ad
Bugfix: fix the remove_Packages_entry() helper function
...
This was a bug introduced with the backports support. Lots of the
internal helper functions take 4 arguments now: ($dir, $arch,
$in_backports, $package_info). That's fine, but I forgot to update the
code in remove_Packages_entry() to deal with the $in_backports
argument.
This led to the md5sums.txt files in multi-disc sets being broken -
the last file(s) removed on a given disc would still be listed in the
md5sums.txt file, even though the file itself had been removed.
2017-03-27 20:40:19 +01:00
John Paul Adrian Glaubitz
ae59c4e92b
Declare 'my' instances of '$_' as 'local'
...
Fixes syntax errors on Perl 5.24 where '$_' may
no longer be declared as 'my'. Being a global symbol,
'$_' has to be declared as 'local' inside functions.
2016-11-22 11:10:35 +01: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
9dd0616b78
Remove uncompressed translation files after compressing them
2015-05-02 00:34:38 +01:00
Steve McIntyre
74d62ec35c
Remove over-verbose debug
2015-01-11 00:15:58 +00:00
Steve McIntyre
2f34797490
Tweak handling of (un)compressed index files
...
Provide hashes for uncompressed Translation-* files, and remove the
uncompressed versions from the output disc. Closes : #767253 . Initial
patch from Michael Vogt - thanks!
2014-10-30 02:12:12 +00:00
Steve McIntyre
fe25734789
List Translation files in dists/$dist/Release too - apt looks there
...
now instead of in Index, apparently.
2013-06-17 15:35:45 +01:00
Steve McIntyre
f7269f8b4f
Fix up xdigit regex to cope with new match code
2013-01-22 23:45:23 +00:00
Steve McIntyre
513f8c1191
When building source-only discs, cope with having multiple different
...
versions of a source package:
+ make_disc_trees.pl now tracks arrays of packages when parsing
apt-cache output
+ We'll now pull in all the extra packages included in Sources.gz
because of Built-Using.
2013-01-22 23:32:54 +00:00
Steve McIntyre
faf4b2a97c
Fix require ordering for read_env
2012-06-05 14:20:06 +00:00
Steve McIntyre
6686e2c66c
Clean up handling of environment variable handling in perl tools.
2012-06-05 13:56:51 +00:00
Steve McIntyre
0bb4c00e03
Add more debug when we fail to find Packages data for some reason
2011-11-28 16:20:50 +00:00
Steve McIntyre
24373c514f
Don't process translated descriptions for source-only discs
2011-11-28 16:19:38 +00:00
Steve McIntyre
047c3d8455
Change the code for translated description files to use gzip instead
...
of bzip2; apt can't cope with bzipped files on CD!?!
2011-11-21 00:12:39 +00:00
Steve McIntyre
d6ad2ed8e7
Add support for translated package description files. Closes : #495102
...
+ Add needed dependency on bzip2
+ Other minor cleanups in tools/make_disc_trees.pl
2011-11-14 00:14:30 +00:00
cd-builder user
8a8d4545a2
log genisoimage / xorriso versions used for build
2011-03-30 15:33:39 +00:00
Steve McIntyre
30ba984b96
daft cut and paste error
2011-03-28 16:29:16 +00:00
Steve McIntyre
f3bcdaabe8
When adding packages outside of the normal path, add them to the list
...
of packages on the CD too. There's always a small chance we'll have to
remove them *again* (e.g. large source packages that don't fit), so
let's make that possible.
2011-03-28 12:36:58 +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
0369744ff3
try #2
2011-03-04 13:20:56 +00:00
Steve McIntyre
70fe61ff45
try #2
2011-03-04 13:19:34 +00:00
Steve McIntyre
569e188f04
* Add more checksum types to generated Release files; go from md5 only
...
to md5, sha1, sha256 and sha512.
Initial checkin, untested code yet!
2011-03-04 13:11:16 +00:00
Steve McIntyre
e12ab9e518
Special-case builds of source-only discs: if we think we've overflowed
...
the disc size, try to carry on for a few more packages to get closer
to actually filling the disc. Closes : #613751 .
2011-02-23 17:30:27 +00:00
Steve McIntyre
317536973a
More tweaks to logging for sizes
2011-02-23 15:24:06 +00:00
Steve McIntyre
877fa688cc
daft syntax error
2011-02-23 14:15:35 +00:00
Steve McIntyre
cab1964fe1
More tweaks to logging for sizes
2011-02-23 14:11:42 +00:00
Steve McIntyre
fb03fc2424
More tweaks to logging for sizes
2011-02-23 14:01:33 +00:00
Steve McIntyre
addab9dec9
More tweaks to logging for sizes
2011-02-23 13:57:40 +00:00
Steve McIntyre
2148f6d1d4
make logging clearer for mixed-size builds
2011-02-23 13:51:17 +00:00
Steve McIntyre
3c3aa8d79b
* Add disk size definitions for 1/2/4/8 GB USB sticks.
...
* Extend the size-override code to allow to override an individual disc
in the set (e.g. to make the first DVD fit on a 4GB USB stick).
2011-02-23 13:41:33 +00:00
Steve McIntyre
7fe446b244
Add support for over-riding disc size on demand, used for some of the squeeze release builds
2011-02-22 21:52:28 +00:00
Steve McIntyre
d71a59e14e
* Drop the recommended size for BD-ROMs slightly, on the
...
recommendation of Thomas Schmitt. This will make it more likely that
we'll fit on all media.
2011-01-07 13:22:11 +00:00
Steve McIntyre
f6042461c3
add the jigdo opts when trying to estimate sizes - this matters for xorriso if we want to be accurate
2010-12-28 20:07:29 +00:00
Steve McIntyre
e7e5fec52f
Pass the base mkisofs options into make_disc_trees too.
2010-11-27 18:28:45 +00:00
Steve McIntyre
b9c25ca204
* Add support for forcing firmware packages onto CD#1:
...
+ Add "FORCE_FIRMWARE=1" to CONF.sh to turn this on
+ Will pick up on packages in the "firmware" task and install them
+ Will also add sym-links to them in CD1/firmware so that new d-i code
can find them easily.
+ Will add a short sentence into README.html/README.txt
* Add top-level control of which checksums are desired for output images
see the CHECKSUMS setting in CONF.sh
* Fix some bashisms in tools/apt-selection.
2010-05-27 00:52:25 +00:00
Steve McIntyre
27d2d9200f
Rename log.add_packages to add_packages.log
2010-04-27 12:27:03 +00:00
Steve McIntyre
599ee0710b
* Cope with errors reported from debootstrap better; don't just treat
...
the text output as package names. Closes : #570474
2010-02-21 22:38:03 +00:00