lp:~xnox/grub

Get this repository:
git clone https://git.not.enabled/~xnox/grub
Only Dimitri John Ledkov can upload to this repository. If you are Dimitri John Ledkov please log in for upload directions.

Branches

Name Last Modified Last Commit
arm64-fdt+tpm 2023-03-01 23:35:48 UTC
Include fdt and tpm modules in arm64 EFI images. (LP: #2008950)

Author: Dimitri John Ledkov
Author Date: 2023-03-01 23:35:48 UTC

Include fdt and tpm modules in arm64 EFI images. (LP: #2008950)

do-not-validate-twice 2022-03-15 13:07:09 UTC
Do not validate kernels twice.

Author: Dimitri John Ledkov
Author Date: 2022-03-02 10:30:53 UTC

Do not validate kernels twice.

LP: #1964943

ubuntu 2021-07-16 11:02:38 UTC
releasing package grub2 version 2.04-1ubuntu46

Author: Dimitri John Ledkov
Author Date: 2021-07-16 11:02:38 UTC

releasing package grub2 version 2.04-1ubuntu46

backup-and-restore-v6 2021-06-01 10:24:34 UTC
grub-install: Add backup and restore

Author: Dimitri John Ledkov
Author Date: 2020-08-19 00:49:09 UTC

grub-install: Add backup and restore

Refactor clean_grub_dir to create a backup of all the files, instead
of just irrevocably removing them as the first action. If available,
register atexit handle to restore the backup if errors occur before
point of no return, or remove the backup if everything was
successful. If atexit is not available, the backup remains on disk for
manual recovery.

Some platforms defined a point of no return, i.e. after modules & core
images were updated. Failures from any commands after that stage are
ignored, and backup is cleanedup. For example, on EFI platforms update
is not reverted when efibootmgr fails.

Extra care is taken to ensure atexit handler is only invoked by the
parent process and not any children forks. Some older grub codebases
can invoke parent atexit hooks from forks, which can mess up the
backup.

This allows safer upgrades of MBR & modules, such that
modules/images/fonts/translations are consistent with MBR in case of
errors. For example accidental grub-install /dev/non-existent-disk
currently clobbers and upgrades modules in /boot/grub, despite not
actually updating any MBR.

This patch only handles backup and restore of files copied to
/boot/grub. This patch does not perform backup (or restoration) of MBR
itself or blocklists. Thus when installing i386-pc platform,
corruption may still occur with MBR and blocklists which will not be
attempted to be automatically recovered.

Also add modinfo.sh and *.efi to the cleanup/backup/restore codepath,
to ensure it is also cleaned / backed up / restored.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>

backup-and-restore 2021-06-01 10:24:34 UTC
grub-install: Add backup and restore

Author: Dimitri John Ledkov
Author Date: 2020-08-19 00:49:09 UTC

grub-install: Add backup and restore

Refactor clean_grub_dir to create a backup of all the files, instead
of just irrevocably removing them as the first action. If available,
register atexit handle to restore the backup if errors occur before
point of no return, or remove the backup if everything was
successful. If atexit is not available, the backup remains on disk for
manual recovery.

Some platforms defined a point of no return, i.e. after modules & core
images were updated. Failures from any commands after that stage are
ignored, and backup is cleanedup. For example, on EFI platforms update
is not reverted when efibootmgr fails.

Extra care is taken to ensure atexit handler is only invoked by the
parent process and not any children forks. Some older grub codebases
can invoke parent atexit hooks from forks, which can mess up the
backup.

This allows safer upgrades of MBR & modules, such that
modules/images/fonts/translations are consistent with MBR in case of
errors. For example accidental grub-install /dev/non-existent-disk
currently clobbers and upgrades modules in /boot/grub, despite not
actually updating any MBR.

This patch only handles backup and restore of files copied to
/boot/grub. This patch does not perform backup (or restoration) of MBR
itself or blocklists. Thus when installing i386-pc platform,
corruption may still occur with MBR and blocklists which will not be
attempted to be automatically recovered.

Also add modinfo.sh and *.efi to the cleanup/backup/restore codepath,
to ensure it is also cleaned / backed up / restored.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>

backup-and-restore-v5 2021-05-24 09:44:27 UTC
grub-install: Add backup and restore

Author: Dimitri John Ledkov
Author Date: 2020-08-19 00:49:09 UTC

grub-install: Add backup and restore

Refactor clean_grub_dir to create a backup of all the files, instead
of just irrevocably removing them as the first action. If available,
register atexit handle to restore the backup if errors occur before
point of no return, or remove the backup if everything was
successful. If atexit is not available, the backup remains on disk for
manual recovery.

Some platforms defined a point of no return, i.e. after modules & core
images were updated. Failures from any commands after that stage are
ignored, and backup is cleanedup. For example, on EFI platforms update
is not reverted when efibootmgr fails.

Extra care is taken to ensure atexit handler is only invoked by the
parent process and not any children forks. Some older grub codebases
can invoke parent atexit hooks from forks, which can mess up the
backup.

This allows safer upgrades of MBR & modules, such that
modules/images/fonts/translations are consistent with MBR in case of
errors. For example accidental grub-install /dev/non-existent-disk
currently clobbers and upgrades modules in /boot/grub, despite not
actually updating any MBR.

This patch only handles backup and restore of files copied to
/boot/grub. This patch does not perform backup (or restoration) of MBR
itself or blocklists. Thus when installing i386-pc platform,
corruption may still occur with MBR and blocklists which will not be
attempted to be automatically recovered.

Also add modinfo.sh and *.efi to the cleanup/backup/restore codepath,
to ensure it is also cleaned / backed up / restored.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>

backup-and-restore-v4 2021-05-12 18:42:58 UTC
grub-install: Add backup and restore

Author: Dimitri John Ledkov
Author Date: 2020-08-19 00:49:09 UTC

grub-install: Add backup and restore

Refactor clean_grub_dir to create a backup of all the files, instead
of just irrevocably removing them as the first action. If available,
register atexit handle to restore the backup if errors occur before
point of no return, or remove the backup if everything was
successful. If atexit is not available, the backup remains on disk for
manual recovery.

Some platforms defined a point of no return, i.e. after modules & core
images were updated. Failures from any commands after that stage are
ignored, and backup is cleanedup. For example, on EFI platforms update
is not reverted when efibootmgr fails.

Extra care is taken to ensure atexit handler is only invoked by the
parent process and not any children forks. Some older grub codebases
can invoke parent atexit hooks from forks, which can mess up the
backup.

This allows safer upgrades of MBR & modules, such that
modules/images/fonts/translations are consistent with MBR in case of
errors. For example accidental grub-install /dev/non-existent-disk
currently clobbers and upgrades modules in /boot/grub, despite not
actually updating any MBR.

This patch only handles backup and restore of files copied to
/boot/grub. This patch does not perform backup (or restoration) of MBR
itself or blocklists. Thus when installing i386-pc platform,
corruption may still occur with MBR and blocklists which will not be
attempted to be automatically recovered.

Also add modinfo.sh and *.efi to the cleanup/backup/restore codepath,
to ensure it is also cleaned / backed up / restored.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>

backup-and-restore-v3 2021-04-28 17:12:39 UTC
grub-install: Add backup and restore

Author: Dimitri John Ledkov
Author Date: 2020-08-19 00:49:09 UTC

grub-install: Add backup and restore

Refactor clean_grub_dir to create a backup of all the files, instead
of just irrevocably removing them as the first action. If available,
register atexit handle to restore the backup if errors occur before
point of no return, or remove the backup if everything was
successful. If atexit is not available, the backup remains on disk for
manual recovery.

Some platforms defined a point of no return, i.e. after modules & core
images were updated. Failures from any commands after that stage are
ignored, and backup is cleanedup. For example, on EFI platforms update
is not reverted when efibootmgr fails.

Extra care is taken to ensure atexit handler is only invoked by the
parent process and not any children forks. Some older grub codebases
can invoke parent atexit hooks from forks, which can mess up the
backup.

This allows safer upgrades of MBR & modules, such that
modules/images/fonts/translations are consistent with MBR in case of
errors. For example accidental grub-install /dev/non-existent-disk
currently clobbers and upgrades modules in /boot/grub, despite not
actually updating any MBR. This increases peak disk-usage slightly, by
requiring temporarily twice the disk space to complete grub-install.

Also add modinfo.sh and *.efi to the cleanup/backup/restore codepath,
to ensure it is also cleaned / backed up / restored.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>

one-grub-v3 2021-02-23 02:25:03 UTC
one-grub v3

Author: Dimitri John Ledkov
Author Date: 2021-02-23 02:19:38 UTC

one-grub v3

one-grub 2021-02-20 02:38:25 UTC
correct next grub2-signed version.

Author: Dimitri John Ledkov
Author Date: 2021-02-20 02:38:25 UTC

correct next grub2-signed version.

xnox/hirsute-next 2020-12-12 00:50:53 UTC
releasing package grub2 version 2.04-1ubuntu37

Author: Dimitri John Ledkov
Author Date: 2020-12-12 00:50:53 UTC

releasing package grub2 version 2.04-1ubuntu37

initrdless-docs 2020-10-27 13:09:55 UTC
grub-common.service: port init.d script to systemd unit. Add warning message,...

Author: Dimitri John Ledkov
Author Date: 2020-10-27 13:09:55 UTC

grub-common.service: port init.d script to systemd unit. Add warning message, when initrdless boot fails triggering fallback. LP: #1901553

focal-sru 2020-10-01 15:16:25 UTC
Do not finalize params twice on arm64. LP: #1897819

Author: Dimitri John Ledkov
Author Date: 2020-10-01 15:16:25 UTC

Do not finalize params twice on arm64. LP: #1897819

do-not-finalize-twice 2020-10-01 14:09:15 UTC
Do not finalize params twice on arm64. LP: #1897819

Author: Dimitri John Ledkov
Author Date: 2020-10-01 14:09:15 UTC

Do not finalize params twice on arm64. LP: #1897819

ubuntu-fixup-arm64-hopefully 2020-10-01 12:13:53 UTC
merge patched-ubuntu into ubuntu

Author: Dimitri John Ledkov
Author Date: 2020-10-01 12:13:51 UTC

merge patched-ubuntu into ubuntu

focal-fix-postinst-empty-device 2020-09-28 13:12:16 UTC
postinst.in, grub-multi-install: fix logic of skipping installing onto any de...

Author: Dimitri John Ledkov
Author Date: 2020-09-28 13:06:23 UTC

postinst.in, grub-multi-install: fix logic of skipping installing onto any device, if one chose to not install bootloader on any device. LP: #1896608

(cherry picked from commit e07b23ad87b50924af36ac86d1dddc3671b4155b)

fix-postinst-empty-devices 2020-09-28 13:06:23 UTC
postinst.in, grub-multi-install: fix logic of skipping installing onto any de...

Author: Dimitri John Ledkov
Author Date: 2020-09-28 13:06:23 UTC

postinst.in, grub-multi-install: fix logic of skipping installing onto any device, if one chose to not install bootloader on any device. LP: #1896608

ubuntu-backup-and-restore-v2 2020-09-01 14:54:21 UTC
update debian/patches directory

Author: Dimitri John Ledkov
Author Date: 2020-09-01 14:54:21 UTC

update debian/patches directory

ubuntu-backup-and-restore 2020-08-19 02:37:40 UTC
merge patched-ubuntu-backup-and-restore into ubuntu-backup-and-restore

Author: Dimitri John Ledkov
Author Date: 2020-08-19 02:37:38 UTC

merge patched-ubuntu-backup-and-restore into ubuntu-backup-and-restore

lp-1891680 2020-08-18 16:19:51 UTC
debian/postinst.in: fail non-interactive grub-pc configuration with failed de...

Author: Dimitri John Ledkov
Author Date: 2020-07-30 14:28:22 UTC

debian/postinst.in: fail non-interactive grub-pc configuration with failed devices.

LP: #1891680

fix-postinst 2020-07-30 14:28:22 UTC
When upgrading non-interactively, and grub-pc installation fails on to the co...

Author: Dimitri John Ledkov
Author Date: 2020-07-30 14:28:22 UTC

When upgrading non-interactively, and grub-pc installation fails on to the configured devices abort the package upgrade. This should prevent missmatch between the grub core installed on the boot device and the grub modules unpacked. Missmatch between core and modules may lead to unpredictable results and boot failures. LP: #1889556

xnox/fixup-multi-initrd 2020-05-14 23:25:37 UTC
ressurect missing patches

Author: Dimitri John Ledkov
Author Date: 2020-05-14 23:25:37 UTC

ressurect missing patches

122 of 22 results
This repository contains Public information 
Everyone can see this information.