Commit Graph

1290 Commits

Author SHA1 Message Date
Steve McIntyre 5ebd3a8a95 Cosmetic tweaks to logging 2019-03-21 14:34:22 +00:00
Steve McIntyre bb7e7bf9b9 Remove massively obsolete disks-$ARCH stuff
That went away with boot floppies!
2019-03-21 14:34:22 +00:00
Steve McIntyre 53cfc9f3f5 Tweak logging for release notes 2019-03-21 14:34:22 +00:00
Steve McIntyre 4fdd13cc0c Add more info when removing old dedications 2019-03-21 14:34:22 +00:00
Steve McIntyre 0f8a2f2387 Enable EFI boot support for armhf
Mostly copied from the arm64 support, but also copy in the images like
previously for non-efi platforms.

Move the old boot-arm-common code back into boot-armel now it's no
longer common.
2019-03-21 14:34:22 +00:00
Steve McIntyre 15ab1a98d2 Factor out common code for calculating ESP size
Use it for both x86 and arm64
2019-03-21 14:32:54 +00:00
Wolfgang Schweer f1adacb899 Set adjusted cd_type for incomplete BD image
If COMPLETE=0 is set, the content should rather be
"bluray/not_complete" instead of just "not_complete". This would allow
one to build offline usable Edu BDs.
2019-02-11 17:03:26 +00:00
Steve McIntyre dca9045c6d Merge branch 'sthibault/debian-cd-master' 2019-02-11 16:50:01 +00:00
Steve McIntyre 44ea4bc0e3 Add grub-efi packages to armhf media 2019-02-11 16:37:39 +00:00
Samuel Thibault 3a588e90a5 Support dark theme boot entries 2019-02-08 18:52:37 +01:00
Steve McIntyre dc48123273 Revert "start_new_disc: correct disk/cd-type for all types"
This reverts commit 15b482d49e.

Undo this change for now, as it's causing unexpected issues in
d-i. Changes here need to match up with the code in apt-setup to make
sure we get sensible behaviour all round.

Revisit this after the d-i alpha 5 relese.
2019-01-25 23:58:47 +00: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
Holger Levsen 6114c16dfc include/exclude more packages for Edu BD image
Thanks to Wolfgang Schweer for the patch.

Signed-off-by: Holger Levsen <holger@layer-acht.org>
2019-01-15 18:45:31 +01:00
Steve McIntyre 3e0615992c Tweak the EFI dir naming 2019-01-15 12:59:13 +00:00
Steve McIntyre 6fb5c246d8 Make mcopy calls less verbose
Turned on when debugging, not needed now
2019-01-13 18:25:42 +00:00
Steve McIntyre bda51b7d31 Drop grub-legacy from the core package list
For real, this time :-(
2019-01-13 16:59:31 +00:00
Holger Levsen 15b482d49e start_new_disc: correct disk/cd-type for all types
Thanks to Wolfgang Schweer for the patch. See/Closes: #846006

Signed-off-by: Holger Levsen <holger@layer-acht.org>
2019-01-11 14:54:51 +01:00
Steve McIntyre 10f26b6523 Explicitly bring in the signed shim and grub bootloaders
Let's make UEFI Secure Boot work well
2019-01-10 21:40:00 +00:00
Steve McIntyre f0375b21ea Munge the EFI boot support code to make Secure Boot work
We don't need to do much here, just pass on what the d-i build already
set up for us. Previously, we assumed too much knowledge about the
contents of the efi.img we were given. Now simply copy all of it.

(This is only really necessary due to us wanting to merge the efi.img
 for multiple architectures. This is likely to get harder with
 clashing files... :-/)
2019-01-10 21:31:19 +00:00
Steve McIntyre bd0a1107c7 For now, hard-code linux-image=* in backports support
Keep the normal kernel on media *as well as* a backports kernel. d-i
will install the normal one first, then later upgrade it.
2018-08-14 00:35:53 +01:00
Steve McIntyre 31ec2cb178 Fix typo in comment 2018-08-13 15:26:54 +01:00
Steve McIntyre 5710321f9e Add proper backports support in generate_firmware_task
When BACKPORTS is defined, look for firmware in $codename-backports
first, then in $codename
2018-08-13 14:36:36 +01:00
Steve McIntyre 5dd0d5cc2a Fix silly typo 2018-08-13 14:07:51 +01:00
Holger Levsen 7bcfbfa23b try to keep all the desktops on the BD image, which was down to 3GB already
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2018-08-09 00:22:09 +02:00
Steve McIntyre 814b0dd97c Fix generate_debian-edu_task again
Fix syntax errors
Switch the ignore code to walking a list instead
2018-08-01 11:01:33 +01:00
Holger Levsen 1d955ed12c education-desktop-other is needed for the full edu image
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2018-07-31 22:44:23 +08:00
Holger Levsen fa9bf61204 exclude a bunch of desktops from the full edu image
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2018-07-31 15:50:42 +08: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
Steve McIntyre adb7d349b8 Fix up shell errors in generate_debian-edu_task 2018-07-31 01:24:32 +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
John Paul Adrian Glaubitz c86bc763e3 Use compressed kernel image by default in boot-hppa 2018-05-08 11:25:31 +02: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 3575f5f24e Re-indent to clean up 2018-02-15 16:18:21 +00:00
Steve McIntyre 9754353070 Also generate checksums for torrent files 2018-02-15 16:17:57 +00:00
Steve McIntyre 2d002fac5e List jigdo and template files in SUMS files too 2018-02-11 21:13:56 +00: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 915ea96579 Remove the executable bit from various shell function files 2018-02-04 00:53:48 +00:00
Vagrant Cascadian aca40b24ec Support KERNEL_PARAMS in arm64 (Closes: #884552) 2018-02-04 00:37:35 +00:00
Steve McIntyre 8714e849ad Fix isolinux config parsing. Thanks to Philipp Hahn for the patch.
Closes: #886655
2018-02-04 00:30:08 +00:00
Steve McIntyre 013d09f686 Make update_popcon cope with https on popcon.d.o
Tell curl to follow redirects
Add explicit capath argument if needed, as on debian.org machines
2017-11-20 21:27:25 +00: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
Steve McIntyre 279c304f89 Fix up the 'unreleased' addition 2017-10-12 11:06:07 +01:00
Steve McIntyre aa87a2910a Make tools/update_popcon exit with errors when it fails 2017-10-10 15:15:14 +01:00
John Paul Adrian Glaubitz b03cbd1904 Add unreleased to component list in tools/generate_di_list 2017-10-08 22:04:03 +02:00
John Paul Adrian Glaubitz 664ed6c3d1 Add unreleased to dist search list in find_pkg_file() 2017-10-08 22:02:54 +02:00
John Paul Adrian Glaubitz 995a8198b9 Add initial set of packages to tools/generate_di+k_list on ppc64 2017-10-08 20:18:06 +02:00
John Paul Adrian Glaubitz 90d2b27cc0 Fix install location of amiga.info icon file 2017-10-05 23:56:26 +02:00
John Paul Adrian Glaubitz c11f01d765 Add grub-ieee1275 to tools/generate_di+k_list on sparc and sparc64 2017-09-29 14:22:24 +02:00
John Paul Adrian Glaubitz 6995bade4c Add grub-ieee1275 to tools/generate_di+k_list on powerpc 2017-09-29 14:21:14 +02:00
John Paul Adrian Glaubitz d2a4f9c9c2 Strip "images/cdrom" suffix from mirror DI_DIR path in boot-alpha 2017-09-29 14:13:41 +02:00
John Paul Adrian Glaubitz 4c8b55f6fe Fix relative d-i path for kernel images and initrd in boot-alpha 2017-09-08 10:56:14 +02:00
John Paul Adrian Glaubitz eb68c7621b Add support for unreleased packages from Debian Ports 2017-09-07 22:19:13 +02:00
John Paul Adrian Glaubitz 2b9b429245 Fix relative d-i path for kernel images and initrd in boot-sparc64 2017-09-06 14:13:51 +02:00
John Paul Adrian Glaubitz 9bfd41c22b Fix relative d-i path for kernel images and initrd in boot-hppa 2017-09-06 13:54:37 +02: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
John Paul Adrian Glaubitz 47f7b12a36 Add support for unreleased packages from Debian Ports 2017-09-06 13:06:45 +02:00
John Paul Adrian Glaubitz 3fe6be32a9 Add list of packages required for debian-installer on m68k. 2017-09-01 16:22:46 +02:00
Steve McIntyre 6261303061 Add SHA256 in the Packages files too 2017-08-05 16:27:41 +01:00
Steve McIntyre 00eb0a453e More buster setup 2017-06-19 14:07:09 +01:00
Steve McIntyre f2d86bff11 Start buster, simply copying stretch for now 2017-06-19 14:00:05 +01:00
Steve McIntyre 18601b1d00 Fix handling of dedications 2017-06-19 13:36:02 +01:00
Steve McIntyre f7b6bd056d More logging around whether to add release notes or not 2017-06-14 20:27:10 +01:00
Steve McIntyre abb116f60b Tweak the Volume ID for mips64el media
Make them fit for stretch d-i rc4
2017-05-26 22:50:11 +01:00
Steve McIntyre 75699b6914 Fix netinst check - use NETINST 2017-05-19 23:35:59 +01:00
Steve McIntyre d1e5b47a45 Tweak the Volume ID and disk info output slightly for netinst media
Closes: #858031
2017-05-18 23:38:30 +01:00
Steve McIntyre d27ad83a12 Use DISKTYPE rather than INSTALLER_CD for working out what to do
It's much more sensible, and there's a profusion of INSTALLER_CD
options now. Let's stop tracking those in start_new_disc...
2017-05-18 23:36:26 +01:00
Steve McIntyre 4f1eb18328 Deal with more netinst build options 2017-05-18 23:22:42 +01:00
Steve McIntyre 97bc2c3dac Refactor boot scripts
Move sourced/shared scripts to boot-*-common
Rearrange common definitions in each boot script to make them more
similar
Add common support for %ARCH% substitutions in DI_WWW_HOME
Fix boot-alpha to use which_deb when looking for aboot
Merge mips* together, using boot-mips-common
2017-05-03 18:02:29 +01:00
Steve McIntyre cdc52554e0 Ensure that arm64 images include grub-efi packages 2017-05-03 16:02:51 +01:00
Steve McIntyre 3fce3f7d98 more boot script cleanups 2017-05-03 11:31:46 +01:00
Steve McIntyre b6b7c3801a Refactor the non-cd-booting code
we've already got code to copy the d-i images into a handy place for
users. Move it into a common function and reference that for all the
arches affected.
2017-05-03 10:51:13 +01:00
Steve McIntyre 8ab1d6933c Drop ancient references to NONUS 2017-05-03 10:40:34 +01:00
Steve McIntyre 9815b0abe3 Add stub for mips64el boot support, so we can build images for it 2017-05-02 23:43:15 +01:00
Samuel Thibault 65e2a1c89b Fix parsing nested menus 2017-04-18 02:13:07 +02:00
Steven Chamberlain 2b46d5bb72 Fix update_tasks on non-Linux arches
In the filename of the coreutils .deb, the architecture part
may also contain a hyphen in the case of hurd-i386 or
kfreebsd-*
2017-04-12 20:23:36 +01: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
Samuel Thibault 5946c6ef32 Add support for grub submenu hotkeys 2017-03-29 02:48:12 +02: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
Cyril Brulebois b9e64d5c08 Fix missing end of comment. 2017-02-15 14:25:36 +01:00
Steve McIntyre d14c28f4c6 Move https bits from forcd1 to debian-installer+kernel task file
As pointed out by pkern, we need them on netinst media too.

Also removed the old mention of businesscard media in the top of
forcd1 - they've been gone for ages
2017-02-15 12:58:39 +00:00
Steve McIntyre 2928846080 Fix missing full pah for catz call 2017-02-14 23:32:08 +00:00
Raphaël Hertzog 69e54c84a5 Add {data,tasks,tools/boot}/{kali-dev,kali-rolling} symlinks
Those symlinks make it easier to build Kali images with debian-cd.
They are pointing to "sid" so that they are automatically updated
when the underlying symlink is updated. It makes senses since Kali
is a rolling distribution based on Debian Testing.
2017-01-27 14:01:11 +01:00
Helge Deller b35b0acf0b Add list of required d-i packages for hppa 2016-12-10 21:48:05 +01:00
Helge Deller 96432f4f65 Update list of required d-i packages for alpha 2016-12-10 21:47:21 +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 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 413b82da73 Remove obsolete dedicated_source script 2016-11-15 06:57:45 +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 0c6c1c04d4 Indent fixes 2016-05-10 10:17:32 +01:00
Steve McIntyre 9223ab7dbb Tweak the mtools fix again for x86 2016-05-10 10:17:19 +01:00
Steve McIntyre 7776250163 Properly fix the mtools problem 2016-05-10 10:00:27 +01:00
Steve McIntyre b41ebd8607 Add workaround for dosfstools issue (#823881) 2016-05-10 01:26:05 +01:00
Steve McIntyre cc4732add9 Also fix size calculation for EFI image for arm64 2016-05-10 01:22:45 +01:00
Philipp Hahn 1a15968a7a Fix size calculation for EFI image
CD creation fails with "disk full", because of rounding errors.

The minimum size of data-allocation is a 'cluster', which is a
power-of-two multiple of sectors.
mkfs.msdos chooses minimum FAT and cluster size for image: FAT12<16G
mkfs.msdos uses block-count where a block is 1024 B, but must be rounded
up to track_size with 32 sectors.

Round up each file to clusters before summing.
A sub-directory entry needs 1 cluster minimum.
2016-04-19 22:09:24 +00: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 a85abb62f9 Change dependency on btrfs-tools to btrfs-progs
Closes: #820479
2016-04-08 23:37:49 +01:00
Steve McIntyre 604432183b Minor updates to hurd boot. Closes: #818176
Patch from Samuel Thibault
2016-03-28 23:37:01 +01:00