Commit Graph

1330 Commits

Author SHA1 Message Date
Steve McIntyre a5f0edc39d Make update_popcon deal with lower-case http headers too 2020-08-01 12:43:25 +01:00
Steve McIntyre fdf9f6739f Enable graphical installer for arm64
Shift the extra_image helper function from boot-x86 to common.sh to
help.
Call extra_image with || true for now on boot-arm64 so we don't fail
builds straight away. Remove that || true later once we're happy
things work.
2020-04-20 18:23:45 +01:00
Wolfgang Schweer 772a0df3ea Adjust Debian Edu list of packages.
tasks/bullseye/Debian-edu-full: Add LTSP setup related dnsmasq package.
tools/generate_debian-edu_task: No longer exclude Cinnamon desktop environment.

Signed-off-by: Wolfgang Schweer <wschweer@arcor.de>
2020-04-08 01:35:59 +02:00
Raphaël Hertzog 7ea13858fb Don't allow udebs to satisfy dependencies of regular debs
I was just bitten by this problem in Kali where the ISO was not
containing the expected packages because tools/sort_deps was accepting
"xserver-xorg-input-libinput-udeb" as a solution to
"xserver-xorg-input-all | xserver-xorg-input-driver" and the
udeb was among the package already selected for inclusion on the
ISO.

With this change, tools/sort_deps will look for udeb to solve
udeb dependencies and it will look for non-udeb to solve non-udeb
dependencies.

FTR, here's the sort_deps.log extract proving my assertion:

    xserver-xorg Dep: (OR xserver-xorg-input-all xorgxrdp xserver-xorg-input-aiptek xserver-xorg-input-elographics xserver-xorg-input-evdev xserver-xorg-input-evdev-udeb xserver-xorg-input-joystick xserver-xorg-input-kbd xserver-xorg-input-libinput xserver-xorg-input-libinput-udeb xserver-xorg-input-mouse xserver-xorg-input-mtrack xserver-xorg-input-multitouch xserver-xorg-input-mutouch xserver-xorg-input-synaptics xserver-xorg-input-void xserver-xorg-input-wacom xserver-xorg-input-xwiimote ) soft_depend 1
    xserver-xorg-input-all not included in a useful version, check_backports 0
    xorgxrdp not included in a useful version, check_backports 0
    xserver-xorg-input-aiptek not included in a useful version, check_backports 0
    xserver-xorg-input-elographics not included in a useful version, check_backports 0
    xserver-xorg-input-evdev not included in a useful version, check_backports 0
    xserver-xorg-input-evdev-udeb not included in a useful version, check_backports 0
    xserver-xorg-input-joystick not included in a useful version, check_backports 0
    xserver-xorg-input-kbd not included in a useful version, check_backports 0
    xserver-xorg-input-libinput not included in a useful version, check_backports 0
      xserver-xorg-input-libinput-udeb is included already, acceptable version 0.29.0-1
2020-02-13 15:21:10 +01:00
Raphaël Hertzog 031fd46b40 Fix some inconsistent indenting 2020-02-13 15:07:00 +01:00
Raphaël Hertzog ef9a3146cd Add symlinks for kali-last-snapshot in data/, tasks/ and tools/boot/ 2020-01-10 12:14:23 +01:00
Raphaël Hertzog 6fb756b288
start_new_disc: fix a quoting bug
That bug led to a failure when CODENAME is kali-last-snapshot.
2020-01-10 12:04:12 +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
Samuel Thibault d29c2db629 Add hurd-i386 EFI support. 2019-11-17 19:10:37 +01:00
Samuel Thibault 6ea92b0aed Drop support for xorriso versions before 1.2.2 2019-11-17 19:10:27 +01:00
Steve McIntyre 06e72ad16a Also add the firmware message for m-a disks 2019-11-08 15:00:48 +00:00
Steve McIntyre c4497191a1 Add a "with firmware" text to the DISKINFO string when appropriate 2019-11-08 14:42:44 +00:00
Steve McIntyre e72ad31bc3 Fix up ordering in imagesums
"find" doesn't care about ordering in the way I thought, so use
separate find calls instead
2019-10-18 18:56:00 +01:00
Samuel Thibault a20ba31742 Add missing newlines 2019-09-06 04:18:17 +02:00
Samuel Thibault d131685f64 Keep grub resolution in EFI boot, to avoid tiny fonts
(closes: #935546)
2019-08-23 22:02:17 +02:00
Steve McIntyre 9acb8c5796 More tweaks for Translation files 2019-08-13 07:54:51 +01:00
Steve McIntyre 41f1383b5c Stop producing MD5SUMS and SHA1SUMS files by default 2019-07-16 16:34:36 +01:00
Steve McIntyre db1a62f8ac Start bullseye development
Copy the buster dirs to bullseye as a start
2019-07-07 01:22:46 +01:00
Steve McIntyre e06965f2d6 Add shim-signed and grub-efi-arm64-signed to the arm64 pkg list 2019-07-06 19:16:33 +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 389917c003 Change a load of http URLs to use https instead 2019-07-05 18:26:43 +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 5ef7fc71db Drop lilo and elilo 2019-05-20 12:51:45 +01:00
Steve McIntyre 20ea646b16 Force shim-signed to be on CD#1 for i386 2019-05-20 12:45:46 +01:00
Steve McIntyre 0d3a0dbb66 Make the 686-pae kernels optional on media
So we can drop them for multi-arch netinst images - need to define
ARCH_i386_EXCLUDE_686_PAE_KERNEL
2019-05-20 12:44:54 +01:00
Steve McIntyre 9fa12704bf Tweak ordering of snapshot URLs
Put snapshot.d.o last in the list in jigdo files, to reduce load on
the service.
2019-05-14 14:30:47 +01:00
Steve McIntyre 20b544918d Tweak grub menu theming
Add a png to use as highlighting for the selected menu item, and play
with colours a little
2019-05-12 02:13:47 +01:00
John Paul Adrian Glaubitz 3d736a5810 Switch bootloader from silo to grub-ieee1275 on sparc64 2019-05-09 16:43:26 +02:00
John Paul Adrian Glaubitz a364f3b9d5 Switch bootloader from silo to grub-ieee1275 on sparc 2019-05-09 16:41:09 +02:00
John Paul Adrian Glaubitz 1e09a3153f Switch bootloader from yaboot to grub-ieee1275 on ppc64 2019-05-09 16:37:43 +02:00
John Paul Adrian Glaubitz 4940b6b64d Switch bootloader from yaboot to grub-ieee1275 on powerpc 2019-05-09 16:34:23 +02:00
John Paul Adrian Glaubitz 6544f2d076 Switch bootloader from elilo to grub-efi-ia64 on ia64 2019-04-30 23:10:14 +02:00
John Paul Adrian Glaubitz 070d2bea52 Remove elilo from tools/generate_di+k_list on {i386,ia64} 2019-04-24 12:58:30 +02:00
John Paul Adrian Glaubitz b937afe501 Add grub-efi{,{-ia64,{-bin}}} to tools/generate_di+k_list on ia64 2019-04-24 12:57:29 +02:00
Steve McIntyre 94df26ad06 More logging cosmetic tweaks 2019-03-21 14:34:22 +00:00
Steve McIntyre d80cd0b990 Exit on errors in boot-armhf 2019-03-21 14:34:22 +00:00
Steve McIntyre 2baefff77e Tweak EFI common code setup some more 2019-03-21 14:34:22 +00:00
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