Merge lp:~darkmuggle-deactivatedaccount/ubuntu/oneiric/ipxe/oneiric into lp:ubuntu/oneiric/ipxe

Proposed by Ben Howard
Status: Merged
Merged at revision: 3
Proposed branch: lp:~darkmuggle-deactivatedaccount/ubuntu/oneiric/ipxe/oneiric
Merge into: lp:ubuntu/oneiric/ipxe
Diff against target: 89 lines (+71/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/remove-linuxprefix-resolve-ftbfs.patch (+63/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~darkmuggle-deactivatedaccount/ubuntu/oneiric/ipxe/oneiric
Reviewer Review Type Date Requested Status
Dave Walker (community) Approve
Review via email: mp+70634@code.launchpad.net

Description of the change

The current code base in lp:ubuntu/ipxe does not compile. Instead it loops on the file linuxprefix.S. This file was removed upstream.

LP: #821725 was filed against this.

To post a comment you must log in.
Revision history for this message
Dave Walker (davewalker) wrote :

Hi Ben!

Thanks for pushing this, i think it needs a "bzr" add to add the patch, and a relevant entry in debian/changelog. Note, that you can also combine the other ipxe bug you are working on.

Thanks!

review: Needs Fixing
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

> Hi Ben!
>
> Thanks for pushing this, i think it needs a "bzr" add to add the patch, and a
> relevant entry in debian/changelog. Note, that you can also combine the other
> ipxe bug you are working on.
>
> Thanks!

Thanks for catching that Dave. Re-pushed with changes. The other patch is not ready yet; I thought it prudent to get this fix in first and then push my changes in after we have a working patch to keep the number of moving bits small for now.

Revision history for this message
Dave Walker (davewalker) wrote :

Great!

I made two additional commits before uploaded. These were:
 - Run 'update-maintainer', if we introduce a delta with Debian, we change the maintainer to an @ubuntu.com address. This is normally the catchall Ubuntu Developers Discuss mailing list. (the script handles this for us).

 - Merged in patch applied status.

Additionally, we tend to add patch tagging (http://dep.debian.net/deps/dep3/) to the patches which makes future maintenance much easier; but in this case I think it ok.

If the updated Debian package lands before the other changes you are making to this package, we should sync out the diff.

Uploading... thanks!

review: Approve
Revision history for this message
Dave Walker (davewalker) wrote :

Ah - I also added the bug number into debian/changelog which will close the bug that this is addressing.

Good work!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-04-11 19:35:36 +0000
+++ debian/changelog 2011-08-06 16:06:36 +0000
@@ -1,3 +1,10 @@
1ipxe (1.0.0+git-1.293e34-2ubuntu1) oneiric; urgency=low
2
3 * debian/patches/remove-linuxprefix-resolve-ftbfs.patch: [Removed
4 linuxprefix.S, which was causing infinite loop during compile]
5
6 -- Ben Howard <ben.howard@canonical.com> Fri, 05 Aug 2011 16:56:50 -0600
7
1ipxe (1.0.0+git-1.293e34-2) unstable; urgency=low8ipxe (1.0.0+git-1.293e34-2) unstable; urgency=low
29
3 * Add some missing copyrights and licenses to the copyright files.10 * Add some missing copyrights and licenses to the copyright files.
411
=== added file 'debian/patches/remove-linuxprefix-resolve-ftbfs.patch'
--- debian/patches/remove-linuxprefix-resolve-ftbfs.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/remove-linuxprefix-resolve-ftbfs.patch 2011-08-06 16:06:36 +0000
@@ -0,0 +1,63 @@
1Index: ipxe/src/arch/i386/prefix/linuxprefix.S
2===================================================================
3--- ipxe.orig/src/arch/i386/prefix/linuxprefix.S 2011-08-05 16:56:49.028882032 -0600
4+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
5@@ -1,28 +0,0 @@
6-#include <linux/unistd.h>
7-
8- .section ".text"
9- .code32
10- .globl _linux_start
11- .type _linux_start, @function
12-
13-_linux_start:
14- xorl %ebp, %ebp
15-
16- popl %esi // save argc
17- movl %esp, %edi // save argv
18-
19- andl $~15, %esp // 16-byte align the stack
20-
21- pushl %edi // argv -> C arg2
22- pushl %esi // argc -> C arg1
23-
24- call save_args
25-
26- /* Our main doesn't use any arguments */
27- call main
28-
29- movl %eax, %ebx // rc -> syscall arg1
30- movl $__NR_exit, %eax
31- int $0x80
32-
33- .size _linux_start, . - _linux_start
34Index: ipxe/src/arch/x86_64/prefix/linuxprefix.S
35===================================================================
36--- ipxe.orig/src/arch/x86_64/prefix/linuxprefix.S 2011-08-05 16:56:49.058882032 -0600
37+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
38@@ -1,25 +0,0 @@
39-#include <linux/unistd.h>
40-
41- .section ".text"
42- .code64
43- .globl _linux_start
44- .type _linux_start, @function
45-
46-_linux_start:
47- xorq %rbp, %rbp
48-
49- popq %rdi // argc -> C arg1
50- movq %rsp, %rsi // argv -> C arg2
51-
52- andq $~15, %rsp // 16-byte align the stack
53-
54- call save_args
55-
56- /* Our main doesn't use any arguments */
57- call main
58-
59- movq %rax, %rdi // rc -> syscall arg1
60- movq $__NR_exit, %rax
61- syscall
62-
63- .size _start, . - _start
064
=== modified file 'debian/patches/series'
--- debian/patches/series 2011-04-11 19:35:36 +0000
+++ debian/patches/series 2011-08-06 16:06:36 +0000
@@ -1,1 +1,2 @@
1baseroms-target.diff1baseroms-target.diff
2remove-linuxprefix-resolve-ftbfs.patch

Subscribers

People subscribed via source and target branches

to all changes: