Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/linux

Buildroot aldot at uclibc.org 3 participants 7 messages Sep 18, 2007 – Sep 20, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-09-18 10:10:56 -0700 (Tue, 18 Sep 2007) New Revision: 19878

Log:
- patch the correct dir

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +1 -1
@@ -129,7 +129,7 @@
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-	toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
+	toolchain/patch-kernel.sh $(LINUX26_DIR) package/openswan \
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifneq ($(LINUX26_PATCH_DIR),)
#1 lore raw

tis 2007-09-18 klockan 10:10 -0700 skrev aldot at uclibc.org:

Quoted 18 lines

Author: aldot
Date: 2007-09-18 10:10:56 -0700 (Tue, 18 Sep 2007) New Revision: 19878

Log:
- patch the correct dir

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in line 135

Quoted 8 lines
buildroot/target/linux/Makefile.in +1 -1
@@ -129,7 +129,7 @@
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-	toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
+	toolchain/patch-kernel.sh $(LINUX26_DIR) package/openswan \
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifneq ($(LINUX26_PATCH_DIR),)

Thanks,
Openswan is a mess at the moment, with *large* duplicate patches (adding 6-8 MBytes to the trunk).
I think we should download the klips/natt patches from the website instead, and patches should be based on a user selected version.

Will try out on x86.

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Signature · 2 lines
Best Regards,
Ulf Samuelsson
#2 lore raw
Quoted 23 lines · Ulf Samuelsson

tis 2007-09-18 klockan 10:10 -0700 skrev aldot at uclibc.org:

Quoted 22 lines

Author: aldot
Date: 2007-09-18 10:10:56 -0700 (Tue, 18 Sep 2007) New Revision: 19878

Log:
- patch the correct dir

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +0 -1
@@ -129,7 +129,7 @@
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-	toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
Quoted 8 lines

buildroot/target/linux/Makefile.in line 135

Quoted 4 lines
buildroot/target/linux/Makefile.in +1 -0
+	toolchain/patch-kernel.sh $(LINUX26_DIR) package/openswan \
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifneq ($(LINUX26_PATCH_DIR),)

Thanks,
Openswan is a mess at the moment, with *large* duplicate patches (adding 6-8 MBytes to the trunk).

I don't need the old patches anymore, but it was you who wanted to retain deprecated stuff.. Feel free to wipe the old ones.

Quoted 2 lines

I think we should download the klips/natt patches from the website instead, and patches should be based on a user selected version.

The patches for 2.4.9 need fixes to apply and work cleanly, so this is not an option.

#4 lore raw
In reply to Ulf Samuelsson
Quoted 43 lines · Ulf Samuelsson

ons 2007-09-19 klockan 10:03 +0200 skrev Bernhard Fischer:

Quoted 33 lines · Ulf Samuelsson
Quoted 23 lines

tis 2007-09-18 klockan 10:10 -0700 skrev aldot at uclibc.org:

Quoted 22 lines

Author: aldot
Date: 2007-09-18 10:10:56 -0700 (Tue, 18 Sep 2007) New Revision: 19878

Log:
- patch the correct dir

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +0 -1
@@ -129,7 +129,7 @@
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-	toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
Quoted 8 lines

buildroot/target/linux/Makefile.in line 135

Quoted 4 lines
buildroot/target/linux/Makefile.in +1 -0
+	toolchain/patch-kernel.sh $(LINUX26_DIR) package/openswan \
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifneq ($(LINUX26_PATCH_DIR),)

Thanks,
Openswan is a mess at the moment, with *large* duplicate patches (adding 6-8 MBytes to the trunk).

Quoted 8 lines

I don't need the old patches anymore, but it was you who wanted to retain deprecated stuff.. Feel free to wipe the old ones.

Quoted 2 lines

I think we should download the klips/natt patches from the website instead, and patches should be based on a user selected version.

The patches for 2.4.9 need fixes to apply and work cleanly, so this is not an option.

Quoted 7 lines

I tried, and noticed that there were proplems, but it seems to me that only the "natt" patches have problem, and they are pretty small.
"klips" patches seems to apply without problem. This is good since the "klips" patches are the big un's.

Are you aware of any changes needed to klips?

Unfortunately a couple of adjustments are needed, some are a bit fragile at runtime, from the looks, i.e. need testing (and i don't have time to do that ATM anyway).

#3 lore raw
In reply to Bernhard Fischer

ons 2007-09-19 klockan 10:03 +0200 skrev Bernhard Fischer:

Quoted 33 lines · Ulf Samuelsson
Quoted 23 lines

tis 2007-09-18 klockan 10:10 -0700 skrev aldot at uclibc.org:

Quoted 22 lines

Author: aldot
Date: 2007-09-18 10:10:56 -0700 (Tue, 18 Sep 2007) New Revision: 19878

Log:
- patch the correct dir

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +0 -1
@@ -129,7 +129,7 @@
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-	toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
Quoted 8 lines

buildroot/target/linux/Makefile.in line 135

Quoted 4 lines
buildroot/target/linux/Makefile.in +1 -0
+	toolchain/patch-kernel.sh $(LINUX26_DIR) package/openswan \
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifneq ($(LINUX26_PATCH_DIR),)

Thanks,
Openswan is a mess at the moment, with *large* duplicate patches (adding 6-8 MBytes to the trunk).

Quoted 8 lines

I don't need the old patches anymore, but it was you who wanted to retain deprecated stuff.. Feel free to wipe the old ones.

Quoted 2 lines

I think we should download the klips/natt patches from the website instead, and patches should be based on a user selected version.

The patches for 2.4.9 need fixes to apply and work cleanly, so this is not an option.

I tried, and noticed that there were proplems, but it seems to me that only the "natt" patches have problem, and they are pretty small.
"klips" patches seems to apply without problem. This is good since the "klips" patches are the big un's.

Are you aware of any changes needed to klips?

BR
Ulf Samuelsson

#6 lore raw
In reply to Ulf Samuelsson
Quoted 11 lines · Ulf Samuelsson

ons 2007-09-19 klockan 23:18 +0200 skrev Bernhard Fischer:

How about a patch which puts the "klips" patches on the buildroot.uclibc.org server?
(http://buildroot.uclibc.org/downloads/buildroot-sources/)

Then we can get rid of it in the trunk.
Every single BSP for a linux kernel version will otherwise add 1,8 MB openswan patch to the trunk.
Even one of them is too much IMO.

One of them is ok (we can bzip2 it, too), for the current, stable version (2.6.22.6, currently). YMMV

If you are so concerned about the size of the sources, i'd start wiping out all those superfluous files from target/ATMEL/.../init.d/* , if i were you. These should come from the respective packages and not reside in the skeleton, but again, this may be just me, dunno.

Quoted 2 lines

The other patches are really minimal.

They are, but a compressed klips patch is "just" 330k. If you insist, we can of course host it in the download area and provide a patch to the patch in the package-dir, but patching patches isn't exactly readable (at least for me). Ultimatively, i don't have a strong opinion on this one either way.

cheers,

#5 lore raw
In reply to Bernhard Fischer

ons 2007-09-19 klockan 23:18 +0200 skrev Bernhard Fischer:

Quoted 50 lines · Ulf Samuelsson
Quoted 49 lines

ons 2007-09-19 klockan 10:03 +0200 skrev Bernhard Fischer:

Quoted 33 lines · Ulf Samuelsson
Quoted 23 lines

tis 2007-09-18 klockan 10:10 -0700 skrev aldot at uclibc.org:

Quoted 22 lines

Author: aldot
Date: 2007-09-18 10:10:56 -0700 (Tue, 18 Sep 2007) New Revision: 19878

Log:
- patch the correct dir

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +0 -1
@@ -129,7 +129,7 @@
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-	toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
Quoted 8 lines

buildroot/target/linux/Makefile.in line 135

Quoted 4 lines
buildroot/target/linux/Makefile.in +1 -0
+	toolchain/patch-kernel.sh $(LINUX26_DIR) package/openswan \
 		linux-$(LINUX26_VERSION)-\*.patch{,.gz,.bz2}
 endif
 ifneq ($(LINUX26_PATCH_DIR),)

Thanks,
Openswan is a mess at the moment, with *large* duplicate patches (adding 6-8 MBytes to the trunk).

Quoted 8 lines

I don't need the old patches anymore, but it was you who wanted to retain deprecated stuff.. Feel free to wipe the old ones.

Quoted 2 lines

I think we should download the klips/natt patches from the website instead, and patches should be based on a user selected version.

The patches for 2.4.9 need fixes to apply and work cleanly, so this is not an option.

I tried, and noticed that there were proplems, but it seems to me that only the "natt" patches have problem, and they are pretty small.
"klips" patches seems to apply without problem. This is good since the "klips" patches are the big un's.

Quoted 5 lines
Quoted 1 line

Are you aware of any changes needed to klips?

Unfortunately a couple of adjustments are needed, some are a bit fragile at runtime, from the looks, i.e. need testing (and i don't have time to do that ATM anyway).

How about a patch which puts the "klips" patches on the buildroot.uclibc.org server?
(http://buildroot.uclibc.org/downloads/buildroot-sources/)

Then we can get rid of it in the trunk.
Every single BSP for a linux kernel version will otherwise add 1,8 MB openswan patch to the trunk.
Even one of them is too much IMO.

The other patches are really minimal.

BR
Ulf Samuelsson