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

Subscribers

People subscribed via source and target branches

to all changes: