Merge ~rafaeldtinoco/ubuntu/+source/ipxe:ipxe-focal-merge into ubuntu/+source/ipxe:ubuntu/focal-devel

Proposed by Rafael David Tinoco
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: ae6d20a0552ca50d85dc03afc82c30a8b1efff37
Merge reported by: Christian Ehrhardt 
Merged at revision: ae6d20a0552ca50d85dc03afc82c30a8b1efff37
Proposed branch: ~rafaeldtinoco/ubuntu/+source/ipxe:ipxe-focal-merge
Merge into: ubuntu/+source/ipxe:ubuntu/focal-devel
Diff against target: 52 lines (+28/-2)
2 files modified
debian/changelog (+13/-0)
debian/tree/ipxe/etc/grub.d/20_ipxe (+15/-2)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server packageset reviewers Pending
Canonical Server Core Reviewers Pending
Canonical Server Pending
Review via email: mp+377540@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks for picking those up and combining those

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The code of Alkis LGTM but it is complex, therefore I asked you to test it a while a go and that all looked good.
Therefore +1 to that part.

The ipxe id is a small, but helpful change for our users.
I double checked https://www.gnu.org/software/grub/manual/grub/grub.html#menuentry for side effects but I think it is useful and has no drawback.

ack to both parts of this.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Changelog LGTM, attribution is ok as well

I found a very minor symbol change to do int he changelog - see inline below

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I also like that this is all encapsulated into /etc/grub.d/20_ipxe which makes it in the worst case of an issue for most setups easy to work around by removing that file

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Overall +1, please try to use your new tagging and sponsoring powers :-)

review: Approve
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

$ git push pkg upload/1.0.0+git-20190109.133f4c4-0ubuntu3
Enumerating objects: 37, done.
Counting objects: 100% (37/37), done.
Delta compression using up to 8 threads
Compressing objects: 100% (17/17), done.
Writing objects: 100% (29/29), 2.65 KiB | 543.00 KiB/s, done.
Total 29 (delta 12), reused 0 (delta 0)
To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/ipxe
 * [new tag] upload/1.0.0+git-20190109.133f4c4-0ubuntu3 -> upload/1.0.0+git-20190109.133f4c4-0ubuntu3

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

$ dput ubuntu ./ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3_source.changes
Checking signature on .changes
gpg: ./ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3_source.changes: Valid signature from A93E0E0AD83C0D0F
Checking signature on .dsc
gpg: ./ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3.dsc: Valid signature from A93E0E0AD83C0D0F
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3.dsc: done.
  Uploading ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3.debian.tar.xz: done.
  Uploading ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3_source.buildinfo: done.
  Uploading ipxe_1.0.0+git-20190109.133f4c4-0ubuntu3_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

https://launchpad.net/ubuntu/+source/ipxe/1.0.0+git-20190109.133f4c4-0ubuntu3 started building, consider that one merged and lets track migration the next few hours/days

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index c11bbfa..5744f44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
1ipxe (1.0.0+git-20190109.133f4c4-0ubuntu3) focal; urgency=medium
2
3 [Alkis Georgopoulos]
4 * d/tree/ipxe/etc/grub.d/20_ipxe: Make grub-ipxe work under UEFI
5 (LP: #1811496)
6 - Use ipxe.efi under UEFI
7 - Save default entry when iPXE is selected
8 [Sharon Dagan]
9 - d/tree/ipxe/etc/grub.d/20_ipxe: Identify ipxe grub menu entry in
10 an easier way (LP: #1858374)
11
12 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Mon, 06 Jan 2020 18:59:25 +0000
13
1ipxe (1.0.0+git-20190109.133f4c4-0ubuntu2) disco; urgency=medium14ipxe (1.0.0+git-20190109.133f4c4-0ubuntu2) disco; urgency=medium
215
3 * Add e1000e firmware for qemu. (closes: #884240)16 * Add e1000e firmware for qemu. (closes: #884240)
diff --git a/debian/tree/ipxe/etc/grub.d/20_ipxe b/debian/tree/ipxe/etc/grub.d/20_ipxe
index 8be37c8..fc77dfd 100755
--- a/debian/tree/ipxe/etc/grub.d/20_ipxe
+++ b/debian/tree/ipxe/etc/grub.d/20_ipxe
@@ -15,11 +15,24 @@ IPXE=/boot/ipxe.lkrn
1515
16if test -e "$IPXE" ; then16if test -e "$IPXE" ; then
17 IPXEPATH=$( make_system_path_relative_to_its_root "$IPXE" )17 IPXEPATH=$( make_system_path_relative_to_its_root "$IPXE" )
18 # Remove the .lkrn extension
19 IPXEPATH=${IPXEPATH%.lkrn}
18 echo "Found iPXE image: $IPXE" >&220 echo "Found iPXE image: $IPXE" >&2
19 cat << EOF21 cat << EOF
20menuentry "Network boot (iPXE)" --users "" --class network {22menuentry "Network boot (iPXE)" --users "" --class network --id ipxe {
21${prepare_boot_cache}23${prepare_boot_cache}
22 linux16 $IPXEPATH24EOF
25 save_default_entry | grub_add_tab
26 cat << EOF
27 if [ "\$grub_platform" = "efi" ]; then
28 chainloader $IPXEPATH.efi
29 else
30 linux16 $IPXEPATH.lkrn
31 # If the user provided an iPXE script, load it
32 if [ -f $IPXEPATH.ipxe ]; then
33 initrd16 $IPXEPATH.ipxe
34 fi
35 fi
23}36}
24EOF37EOF
25fi38fi

Subscribers

People subscribed via source and target branches