Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create debian packages for grub-trenchboot_support #2

Open
wants to merge 1 commit into
base: trenchboot_support_2.04
Choose a base branch
from

Conversation

Cezarus27
Copy link

These changes provide files that are necessary to build Debian packages for GRUB with trenchboot support.
It is a modification of files from Debian GRUB maintainers from https://salsa.debian.org/grub-team/grub .

For now, it works on a separate branch called "debian-upstream". This branch is synchronizing when new commits appear at the main trenchboot-support-2.04 branch. If this condition is true, then debian-upstream branch fetch changes from trenchboot-support-2.04, and then the CI pipeline starts up.

.gitlab-ci/: add scripts:
- install-debian-build-deps.sh: this script provides build dependencies
- show-package-content.sh: show content deploy in the artifacts directory

.gitlab-ci.yml add build_debian_pkg and git_pull jobs

Makefile.util.def: remove ext234 and fat tests:
It is caused by fail for building debian packages.

FAIL: ext234_test
=================
losetup: cannot find an unused loop device
FAIL ext234_test (exit status: 1)

FAIL: fat_test
==============
losetup: cannot find an unused loop device
FAIL fat_test (exit status: 1)

Signed-off-by: Cezary Sobczak <[email protected]>
@pietrushnic
Copy link
Member

@macpijan @Cezarus27 is it really good way of doing things 200k SLOC? Can't we rely on external source code to be fetched for building packages?

rossphilipson pushed a commit to rossphilipson/grub that referenced this pull request Mar 21, 2024
Currently bootstrap complains in the following way when
patching gnulib files:

  patching file argp-help.c
  Hunk TrenchBoot#1 succeeded at 52 (offset 1 line).
  Hunk TrenchBoot#2 succeeded at 1548 (offset 115 lines).
  patching file mbswidth.c
  patching file mbswidth.h
  Hunk TrenchBoot#1 succeeded at 40 (offset -5 lines).

Let's fix it by amending line numbers in the patch.

Signed-off-by: Daniel Kiper <[email protected]>
Reviewed-by: Alec Brown <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants