* [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list
@ 2012-12-04 8:22 b28495
2012-12-04 8:22 ` [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register b28495
` (4 more replies)
0 siblings, 5 replies; 18+ messages in thread
From: b28495 @ 2012-12-04 8:22 UTC (permalink / raw)
To: meta-freescale
From: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
conf/distro/fsl.conf | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/conf/distro/fsl.conf b/conf/distro/fsl.conf
index 8f45d1a..e29cc54 100644
--- a/conf/distro/fsl.conf
+++ b/conf/distro/fsl.conf
@@ -57,6 +57,7 @@ SANITY_TESTED_DISTROS ?= " \
Ubuntu 10.04.4 LTS \n \
Ubuntu 11.10 \n \
Ubuntu 12.04 LTS \n \
+ Ubuntu 12.04.1 LTS \n \
Fedora release 13 (Goddard) \n \
Fedora release 15 (Lovelock) \n \
Fedora release 16 (Verne) \n \
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register
2012-12-04 8:22 [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list b28495
@ 2012-12-04 8:22 ` b28495
2012-12-04 19:06 ` McClintock Matthew-B29882
2012-12-04 8:22 ` [PATCH 3/5] using nativesdk as a prefix, not a suffix b28495
` (3 subsequent siblings)
4 siblings, 1 reply; 18+ messages in thread
From: b28495 @ 2012-12-04 8:22 UTC (permalink / raw)
To: meta-freescale
From: Ting Liu <b28495@freescale.com>
The module does not exist any more. Its content (warnings/register.pm)
has been moved to the main perl package. Introduced by commit:
(poky: 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b)
* File warnings/register.pm has been moved to package perl
Fix:
|error: Failed dependencies:
|perl-module-warnings-register is needed by lxc-0.8.0+rc1-r6.ppce500mc
|ERROR: Function failed: do_rootfs
Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Chunrong Guo <b40290@freescale.com>
---
recipes-tools/lxc/lxc_0.8.0-rc1.bb | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
index 5100937..ee6b09e 100644
--- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb
+++ b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
@@ -3,7 +3,7 @@ SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
PRIORITY = "optional"
-PR = "r6"
+PR = "r7"
DEPENDS = "libxml2 libcap virtual/kernel"
RDEPENDS_${PN} = " \
rsync \
@@ -12,7 +12,6 @@ RDEPENDS_${PN} = " \
perl-module-strict \
perl-module-getopt-long \
perl-module-vars \
- perl-module-warnings-register \
perl-module-exporter \
perl-module-constant \
perl-module-overload \
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 3/5] using nativesdk as a prefix, not a suffix
2012-12-04 8:22 [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list b28495
2012-12-04 8:22 ` [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register b28495
@ 2012-12-04 8:22 ` b28495
2012-12-04 11:22 ` Otavio Salvador
2012-12-04 19:07 ` McClintock Matthew-B29882
2012-12-04 8:22 ` [PATCH 4/5] add centos 6.3 in the supported Linux distros list b28495
` (2 subsequent siblings)
4 siblings, 2 replies; 18+ messages in thread
From: b28495 @ 2012-12-04 8:22 UTC (permalink / raw)
To: meta-freescale
From: Ting Liu <b28495@freescale.com>
Signed-off-by: Ting Liu <b28495@freescale.com>
---
images/fsl-toolchain.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/images/fsl-toolchain.bb b/images/fsl-toolchain.bb
index 7f51cdc..468db2b 100644
--- a/images/fsl-toolchain.bb
+++ b/images/fsl-toolchain.bb
@@ -12,5 +12,5 @@ TOOLCHAIN_TARGET_TASK += " \
"
TOOLCHAIN_HOST_TASK += " \
- dtc-nativesdk \
+ nativesdk-dtc \
"
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 4/5] add centos 6.3 in the supported Linux distros list
2012-12-04 8:22 [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list b28495
2012-12-04 8:22 ` [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register b28495
2012-12-04 8:22 ` [PATCH 3/5] using nativesdk as a prefix, not a suffix b28495
@ 2012-12-04 8:22 ` b28495
2012-12-04 19:08 ` McClintock Matthew-B29882
2012-12-04 8:22 ` [PATCH 5/5] lxc: move patches to default search path b28495
2012-12-04 19:06 ` [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list McClintock Matthew-B29882
4 siblings, 1 reply; 18+ messages in thread
From: b28495 @ 2012-12-04 8:22 UTC (permalink / raw)
To: meta-freescale
From: Ting Liu <b28495@freescale.com>
Signed-off-by: Ting Liu <b28495@freescale.com>
---
conf/distro/fsl.conf | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/conf/distro/fsl.conf b/conf/distro/fsl.conf
index e29cc54..a18c8cc 100644
--- a/conf/distro/fsl.conf
+++ b/conf/distro/fsl.conf
@@ -67,6 +67,7 @@ SANITY_TESTED_DISTROS ?= " \
CentOS release 5.7 (Final) \n \
CentOS release 5.8 (Final) \n \
CentOS release 6.2 (Final) \n \
+ CentOS release 6.3 (Final) \n \
Debian GNU/Linux 6.0.4 (squeeze) \n \
openSUSE 11.4 \n \
openSUSE 12.1 \n \
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 5/5] lxc: move patches to default search path
2012-12-04 8:22 [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list b28495
` (2 preceding siblings ...)
2012-12-04 8:22 ` [PATCH 4/5] add centos 6.3 in the supported Linux distros list b28495
@ 2012-12-04 8:22 ` b28495
2012-12-04 11:25 ` Otavio Salvador
` (2 more replies)
2012-12-04 19:06 ` [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list McClintock Matthew-B29882
4 siblings, 3 replies; 18+ messages in thread
From: b28495 @ 2012-12-04 8:22 UTC (permalink / raw)
To: meta-freescale
From: Ting Liu <b28495@freescale.com>
Signed-off-by: Ting Liu <b28495@freescale.com>
---
recipes-tools/lxc/busybox_remove_dhcp.patch | 12 -----
recipes-tools/lxc/files/busybox_remove_dhcp.patch | 12 +++++
recipes-tools/lxc/files/libmounts.patch | 48 +++++++++++++++++++++
recipes-tools/lxc/files/noldconfig.patch | 29 ++++++++++++
recipes-tools/lxc/files/remove_vlan_hwaddr.patch | 11 +++++
recipes-tools/lxc/libmounts.patch | 48 ---------------------
recipes-tools/lxc/noldconfig.patch | 29 ------------
recipes-tools/lxc/remove_vlan_hwaddr.patch | 11 -----
8 files changed, 100 insertions(+), 100 deletions(-)
delete mode 100644 recipes-tools/lxc/busybox_remove_dhcp.patch
create mode 100644 recipes-tools/lxc/files/busybox_remove_dhcp.patch
create mode 100644 recipes-tools/lxc/files/libmounts.patch
create mode 100644 recipes-tools/lxc/files/noldconfig.patch
create mode 100644 recipes-tools/lxc/files/remove_vlan_hwaddr.patch
delete mode 100644 recipes-tools/lxc/libmounts.patch
delete mode 100644 recipes-tools/lxc/noldconfig.patch
delete mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch
diff --git a/recipes-tools/lxc/busybox_remove_dhcp.patch b/recipes-tools/lxc/busybox_remove_dhcp.patch
deleted file mode 100644
index d28fda8..0000000
--- a/recipes-tools/lxc/busybox_remove_dhcp.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
-index a94eaa3..29b87ce 100644
---- a/templates/lxc-busybox.in
-+++ b/templates/lxc-busybox.in
-@@ -80,7 +80,6 @@ EOF
- #!/bin/sh
- /bin/syslogd
- /bin/mount -a
--/bin/udhcpc
- EOF
-
- # executable
diff --git a/recipes-tools/lxc/files/busybox_remove_dhcp.patch b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
new file mode 100644
index 0000000..d28fda8
--- /dev/null
+++ b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
@@ -0,0 +1,12 @@
+diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
+index a94eaa3..29b87ce 100644
+--- a/templates/lxc-busybox.in
++++ b/templates/lxc-busybox.in
+@@ -80,7 +80,6 @@ EOF
+ #!/bin/sh
+ /bin/syslogd
+ /bin/mount -a
+-/bin/udhcpc
+ EOF
+
+ # executable
diff --git a/recipes-tools/lxc/files/libmounts.patch b/recipes-tools/lxc/files/libmounts.patch
new file mode 100644
index 0000000..7e092f1
--- /dev/null
+++ b/recipes-tools/lxc/files/libmounts.patch
@@ -0,0 +1,48 @@
+From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00 2001
+From: Stuart Yoder <stuart.yoder@freescale.com>
+Date: Wed, 12 Sep 2012 11:05:07 -0500
+Subject: [PATCH] create lib mounts only if the host directories exist
+
+Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
+---
+ templates/lxc-busybox.in | 24 +++++++++++-------------
+ 1 file changed, 11 insertions(+), 13 deletions(-)
+
+diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
+index 720ceef..f6cb1ba 100644
+--- a/templates/lxc-busybox.in
++++ b/templates/lxc-busybox.in
+@@ -235,19 +235,17 @@ lxc.pts = 1
+ lxc.rootfs = $rootfs
+ EOF
+
+-if [ -d "$rootfs/lib" ]; then
+-cat <<EOF >> $path/config
+-lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
+-lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0
+-EOF
+-fi
+-
+-if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then
+-cat <<EOF >> $path/config
+-lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
+-lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0
+-EOF
+-fi
++ libdirs="\
++ /lib \
++ /usr/lib \
++ /lib64 \
++ /usr/lib64"
++
++ for dir in $libdirs; do
++ if [ -d $dir ]; then
++ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0 0" >> $path/config
++ fi
++ done
+ }
+
+ usage()
+--
+1.7.9.7
+
diff --git a/recipes-tools/lxc/files/noldconfig.patch b/recipes-tools/lxc/files/noldconfig.patch
new file mode 100644
index 0000000..5edff46
--- /dev/null
+++ b/recipes-tools/lxc/files/noldconfig.patch
@@ -0,0 +1,29 @@
+From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001
+From: Andrey Mazo <ahippo@yandex.ru>
+Date: Fri, 18 May 2012 21:11:22 +0400
+Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
+
+Make required symlinks manually.
+Otherwise, it cases problems on cbuild endianness != ctarget endianness
+setups because /sbin/ldconfig expects elf header in the wrong endianness.
+---
+ src/lxc/Makefile.am | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
+index 1c26952..3b84c1a 100644
+--- a/src/lxc/Makefile.am
++++ b/src/lxc/Makefile.am
+@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
+
+ install-exec-local: install-soPROGRAMS
+ mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
+- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
+ cd $(DESTDIR)$(libdir); \
++ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
+ ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
+
+ uninstall-local:
+--
+1.7.3.4
+
diff --git a/recipes-tools/lxc/files/remove_vlan_hwaddr.patch b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
new file mode 100644
index 0000000..d3883bd
--- /dev/null
+++ b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
@@ -0,0 +1,11 @@
+diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
+index 4404439..231d618 100644
+--- a/doc/examples/lxc-vlan.conf.in
++++ b/doc/examples/lxc-vlan.conf.in
+@@ -4,6 +4,5 @@ lxc.network.type = vlan
+ lxc.network.vlan.id = 1234
+ lxc.network.flags = up
+ lxc.network.link = eth0
+-lxc.network.hwaddr = 4a:49:43:49:79:bd
+ lxc.network.ipv4 = 1.2.3.4/24
+ lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
diff --git a/recipes-tools/lxc/libmounts.patch b/recipes-tools/lxc/libmounts.patch
deleted file mode 100644
index 7e092f1..0000000
--- a/recipes-tools/lxc/libmounts.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00 2001
-From: Stuart Yoder <stuart.yoder@freescale.com>
-Date: Wed, 12 Sep 2012 11:05:07 -0500
-Subject: [PATCH] create lib mounts only if the host directories exist
-
-Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
----
- templates/lxc-busybox.in | 24 +++++++++++-------------
- 1 file changed, 11 insertions(+), 13 deletions(-)
-
-diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
-index 720ceef..f6cb1ba 100644
---- a/templates/lxc-busybox.in
-+++ b/templates/lxc-busybox.in
-@@ -235,19 +235,17 @@ lxc.pts = 1
- lxc.rootfs = $rootfs
- EOF
-
--if [ -d "$rootfs/lib" ]; then
--cat <<EOF >> $path/config
--lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
--lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0
--EOF
--fi
--
--if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then
--cat <<EOF >> $path/config
--lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
--lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0
--EOF
--fi
-+ libdirs="\
-+ /lib \
-+ /usr/lib \
-+ /lib64 \
-+ /usr/lib64"
-+
-+ for dir in $libdirs; do
-+ if [ -d $dir ]; then
-+ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0 0" >> $path/config
-+ fi
-+ done
- }
-
- usage()
---
-1.7.9.7
-
diff --git a/recipes-tools/lxc/noldconfig.patch b/recipes-tools/lxc/noldconfig.patch
deleted file mode 100644
index 5edff46..0000000
--- a/recipes-tools/lxc/noldconfig.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001
-From: Andrey Mazo <ahippo@yandex.ru>
-Date: Fri, 18 May 2012 21:11:22 +0400
-Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
-
-Make required symlinks manually.
-Otherwise, it cases problems on cbuild endianness != ctarget endianness
-setups because /sbin/ldconfig expects elf header in the wrong endianness.
----
- src/lxc/Makefile.am | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
-index 1c26952..3b84c1a 100644
---- a/src/lxc/Makefile.am
-+++ b/src/lxc/Makefile.am
-@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
-
- install-exec-local: install-soPROGRAMS
- mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
-- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
- cd $(DESTDIR)$(libdir); \
-+ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
- ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
-
- uninstall-local:
---
-1.7.3.4
-
diff --git a/recipes-tools/lxc/remove_vlan_hwaddr.patch b/recipes-tools/lxc/remove_vlan_hwaddr.patch
deleted file mode 100644
index d3883bd..0000000
--- a/recipes-tools/lxc/remove_vlan_hwaddr.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
-index 4404439..231d618 100644
---- a/doc/examples/lxc-vlan.conf.in
-+++ b/doc/examples/lxc-vlan.conf.in
-@@ -4,6 +4,5 @@ lxc.network.type = vlan
- lxc.network.vlan.id = 1234
- lxc.network.flags = up
- lxc.network.link = eth0
--lxc.network.hwaddr = 4a:49:43:49:79:bd
- lxc.network.ipv4 = 1.2.3.4/24
- lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
--
1.7.3.4
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 3/5] using nativesdk as a prefix, not a suffix
2012-12-04 8:22 ` [PATCH 3/5] using nativesdk as a prefix, not a suffix b28495
@ 2012-12-04 11:22 ` Otavio Salvador
2012-12-04 19:07 ` McClintock Matthew-B29882
1 sibling, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2012-12-04 11:22 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
On Tue, Dec 4, 2012 at 6:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
[-- Attachment #2: Type: text/html, Size: 1142 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-04 8:22 ` [PATCH 5/5] lxc: move patches to default search path b28495
@ 2012-12-04 11:25 ` Otavio Salvador
2012-12-04 16:17 ` McClintock Matthew-B29882
2012-12-04 19:08 ` McClintock Matthew-B29882
2 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2012-12-04 11:25 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
On Tue, Dec 4, 2012 at 6:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
>
It is hard to verify if the files are really just moved or not. Please
confirm it. Next time, you can use -M option to git-format-patch so it
handle renames and make the review much easier.
Regards,
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
[-- Attachment #2: Type: text/html, Size: 1202 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-04 8:22 ` [PATCH 5/5] lxc: move patches to default search path b28495
2012-12-04 11:25 ` Otavio Salvador
@ 2012-12-04 16:17 ` McClintock Matthew-B29882
2012-12-04 16:22 ` Otavio Salvador
2012-12-28 7:50 ` Liu Ting-B28495
2012-12-04 19:08 ` McClintock Matthew-B29882
2 siblings, 2 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2012-12-04 16:17 UTC (permalink / raw)
To: Liu Ting-B28495, Yoder Stuart-B08248; +Cc: meta-freescale
On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
Just a comment here, we should probably move lxc to the new
metal-virtualization layer soon.
-M
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> recipes-tools/lxc/busybox_remove_dhcp.patch | 12 -----
> recipes-tools/lxc/files/busybox_remove_dhcp.patch | 12 +++++
> recipes-tools/lxc/files/libmounts.patch | 48 +++++++++++++++++++++
> recipes-tools/lxc/files/noldconfig.patch | 29 ++++++++++++
> recipes-tools/lxc/files/remove_vlan_hwaddr.patch | 11 +++++
> recipes-tools/lxc/libmounts.patch | 48 ---------------------
> recipes-tools/lxc/noldconfig.patch | 29 ------------
> recipes-tools/lxc/remove_vlan_hwaddr.patch | 11 -----
> 8 files changed, 100 insertions(+), 100 deletions(-)
> delete mode 100644 recipes-tools/lxc/busybox_remove_dhcp.patch
> create mode 100644 recipes-tools/lxc/files/busybox_remove_dhcp.patch
> create mode 100644 recipes-tools/lxc/files/libmounts.patch
> create mode 100644 recipes-tools/lxc/files/noldconfig.patch
> create mode 100644 recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> delete mode 100644 recipes-tools/lxc/libmounts.patch
> delete mode 100644 recipes-tools/lxc/noldconfig.patch
> delete mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch
>
> diff --git a/recipes-tools/lxc/busybox_remove_dhcp.patch b/recipes-tools/lxc/busybox_remove_dhcp.patch
> deleted file mode 100644
> index d28fda8..0000000
> --- a/recipes-tools/lxc/busybox_remove_dhcp.patch
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> -index a94eaa3..29b87ce 100644
> ---- a/templates/lxc-busybox.in
> -+++ b/templates/lxc-busybox.in
> -@@ -80,7 +80,6 @@ EOF
> - #!/bin/sh
> - /bin/syslogd
> - /bin/mount -a
> --/bin/udhcpc
> - EOF
> -
> - # executable
> diff --git a/recipes-tools/lxc/files/busybox_remove_dhcp.patch b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> new file mode 100644
> index 0000000..d28fda8
> --- /dev/null
> +++ b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> @@ -0,0 +1,12 @@
> +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> +index a94eaa3..29b87ce 100644
> +--- a/templates/lxc-busybox.in
> ++++ b/templates/lxc-busybox.in
> +@@ -80,7 +80,6 @@ EOF
> + #!/bin/sh
> + /bin/syslogd
> + /bin/mount -a
> +-/bin/udhcpc
> + EOF
> +
> + # executable
> diff --git a/recipes-tools/lxc/files/libmounts.patch b/recipes-tools/lxc/files/libmounts.patch
> new file mode 100644
> index 0000000..7e092f1
> --- /dev/null
> +++ b/recipes-tools/lxc/files/libmounts.patch
> @@ -0,0 +1,48 @@
> +From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00 2001
> +From: Stuart Yoder <stuart.yoder@freescale.com>
> +Date: Wed, 12 Sep 2012 11:05:07 -0500
> +Subject: [PATCH] create lib mounts only if the host directories exist
> +
> +Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> +---
> + templates/lxc-busybox.in | 24 +++++++++++-------------
> + 1 file changed, 11 insertions(+), 13 deletions(-)
> +
> +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> +index 720ceef..f6cb1ba 100644
> +--- a/templates/lxc-busybox.in
> ++++ b/templates/lxc-busybox.in
> +@@ -235,19 +235,17 @@ lxc.pts = 1
> + lxc.rootfs = $rootfs
> + EOF
> +
> +-if [ -d "$rootfs/lib" ]; then
> +-cat <<EOF >> $path/config
> +-lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
> +-lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0
> +-EOF
> +-fi
> +-
> +-if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then
> +-cat <<EOF >> $path/config
> +-lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
> +-lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0
> +-EOF
> +-fi
> ++ libdirs="\
> ++ /lib \
> ++ /usr/lib \
> ++ /lib64 \
> ++ /usr/lib64"
> ++
> ++ for dir in $libdirs; do
> ++ if [ -d $dir ]; then
> ++ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0 0" >> $path/config
> ++ fi
> ++ done
> + }
> +
> + usage()
> +--
> +1.7.9.7
> +
> diff --git a/recipes-tools/lxc/files/noldconfig.patch b/recipes-tools/lxc/files/noldconfig.patch
> new file mode 100644
> index 0000000..5edff46
> --- /dev/null
> +++ b/recipes-tools/lxc/files/noldconfig.patch
> @@ -0,0 +1,29 @@
> +From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001
> +From: Andrey Mazo <ahippo@yandex.ru>
> +Date: Fri, 18 May 2012 21:11:22 +0400
> +Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
> +
> +Make required symlinks manually.
> +Otherwise, it cases problems on cbuild endianness != ctarget endianness
> +setups because /sbin/ldconfig expects elf header in the wrong endianness.
> +---
> + src/lxc/Makefile.am | 2 +-
> + 1 files changed, 1 insertions(+), 1 deletions(-)
> +
> +diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> +index 1c26952..3b84c1a 100644
> +--- a/src/lxc/Makefile.am
> ++++ b/src/lxc/Makefile.am
> +@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
> +
> + install-exec-local: install-soPROGRAMS
> + mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> +- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> + cd $(DESTDIR)$(libdir); \
> ++ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
> + ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
> +
> + uninstall-local:
> +--
> +1.7.3.4
> +
> diff --git a/recipes-tools/lxc/files/remove_vlan_hwaddr.patch b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> new file mode 100644
> index 0000000..d3883bd
> --- /dev/null
> +++ b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> @@ -0,0 +1,11 @@
> +diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
> +index 4404439..231d618 100644
> +--- a/doc/examples/lxc-vlan.conf.in
> ++++ b/doc/examples/lxc-vlan.conf.in
> +@@ -4,6 +4,5 @@ lxc.network.type = vlan
> + lxc.network.vlan.id = 1234
> + lxc.network.flags = up
> + lxc.network.link = eth0
> +-lxc.network.hwaddr = 4a:49:43:49:79:bd
> + lxc.network.ipv4 = 1.2.3.4/24
> + lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
> diff --git a/recipes-tools/lxc/libmounts.patch b/recipes-tools/lxc/libmounts.patch
> deleted file mode 100644
> index 7e092f1..0000000
> --- a/recipes-tools/lxc/libmounts.patch
> +++ /dev/null
> @@ -1,48 +0,0 @@
> -From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00 2001
> -From: Stuart Yoder <stuart.yoder@freescale.com>
> -Date: Wed, 12 Sep 2012 11:05:07 -0500
> -Subject: [PATCH] create lib mounts only if the host directories exist
> -
> -Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> ----
> - templates/lxc-busybox.in | 24 +++++++++++-------------
> - 1 file changed, 11 insertions(+), 13 deletions(-)
> -
> -diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> -index 720ceef..f6cb1ba 100644
> ---- a/templates/lxc-busybox.in
> -+++ b/templates/lxc-busybox.in
> -@@ -235,19 +235,17 @@ lxc.pts = 1
> - lxc.rootfs = $rootfs
> - EOF
> -
> --if [ -d "$rootfs/lib" ]; then
> --cat <<EOF >> $path/config
> --lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
> --lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0
> --EOF
> --fi
> --
> --if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then
> --cat <<EOF >> $path/config
> --lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
> --lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0
> --EOF
> --fi
> -+ libdirs="\
> -+ /lib \
> -+ /usr/lib \
> -+ /lib64 \
> -+ /usr/lib64"
> -+
> -+ for dir in $libdirs; do
> -+ if [ -d $dir ]; then
> -+ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0 0" >> $path/config
> -+ fi
> -+ done
> - }
> -
> - usage()
> ---
> -1.7.9.7
> -
> diff --git a/recipes-tools/lxc/noldconfig.patch b/recipes-tools/lxc/noldconfig.patch
> deleted file mode 100644
> index 5edff46..0000000
> --- a/recipes-tools/lxc/noldconfig.patch
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001
> -From: Andrey Mazo <ahippo@yandex.ru>
> -Date: Fri, 18 May 2012 21:11:22 +0400
> -Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
> -
> -Make required symlinks manually.
> -Otherwise, it cases problems on cbuild endianness != ctarget endianness
> -setups because /sbin/ldconfig expects elf header in the wrong endianness.
> ----
> - src/lxc/Makefile.am | 2 +-
> - 1 files changed, 1 insertions(+), 1 deletions(-)
> -
> -diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> -index 1c26952..3b84c1a 100644
> ---- a/src/lxc/Makefile.am
> -+++ b/src/lxc/Makefile.am
> -@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
> -
> - install-exec-local: install-soPROGRAMS
> - mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> -- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> - cd $(DESTDIR)$(libdir); \
> -+ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
> - ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
> -
> - uninstall-local:
> ---
> -1.7.3.4
> -
> diff --git a/recipes-tools/lxc/remove_vlan_hwaddr.patch b/recipes-tools/lxc/remove_vlan_hwaddr.patch
> deleted file mode 100644
> index d3883bd..0000000
> --- a/recipes-tools/lxc/remove_vlan_hwaddr.patch
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
> -index 4404439..231d618 100644
> ---- a/doc/examples/lxc-vlan.conf.in
> -+++ b/doc/examples/lxc-vlan.conf.in
> -@@ -4,6 +4,5 @@ lxc.network.type = vlan
> - lxc.network.vlan.id = 1234
> - lxc.network.flags = up
> - lxc.network.link = eth0
> --lxc.network.hwaddr = 4a:49:43:49:79:bd
> - lxc.network.ipv4 = 1.2.3.4/24
> - lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-04 16:17 ` McClintock Matthew-B29882
@ 2012-12-04 16:22 ` Otavio Salvador
2012-12-04 16:43 ` Bruce Ashfield
2012-12-28 7:50 ` Liu Ting-B28495
1 sibling, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2012-12-04 16:22 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: meta-freescale, Yoder Stuart-B08248
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
On Tue, Dec 4, 2012 at 2:17 PM, McClintock Matthew-B29882 <
B29882@freescale.com> wrote:
> On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> > From: Ting Liu <b28495@freescale.com>
>
> Just a comment here, we should probably move lxc to the new
> metal-virtualization layer soon.
>
I second that :-D
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
[-- Attachment #2: Type: text/html, Size: 1168 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-04 16:22 ` Otavio Salvador
@ 2012-12-04 16:43 ` Bruce Ashfield
0 siblings, 0 replies; 18+ messages in thread
From: Bruce Ashfield @ 2012-12-04 16:43 UTC (permalink / raw)
To: Otavio Salvador
Cc: McClintock Matthew-B29882, meta-freescale, Yoder Stuart-B08248
[-- Attachment #1: Type: text/plain, Size: 954 bytes --]
On Tue, Dec 4, 2012 at 11:22 AM, Otavio Salvador <otavio@ossystems.com.br>wrote:
>
>
>
> On Tue, Dec 4, 2012 at 2:17 PM, McClintock Matthew-B29882 <
> B29882@freescale.com> wrote:
>
>> On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
>> > From: Ting Liu <b28495@freescale.com>
>>
>> Just a comment here, we should probably move lxc to the new
>> metal-virtualization layer soon.
>>
>
> I second that :-D
>
Thirded!
Bruce
>
> --
> Otavio Salvador O.S. Systems
> E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
> Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
[-- Attachment #2: Type: text/html, Size: 2385 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list
2012-12-04 8:22 [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list b28495
` (3 preceding siblings ...)
2012-12-04 8:22 ` [PATCH 5/5] lxc: move patches to default search path b28495
@ 2012-12-04 19:06 ` McClintock Matthew-B29882
4 siblings, 0 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2012-12-04 19:06 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> From: Zhenhua Luo <b19537@freescale.com>
Applied to master for testing.
-M
> Signed-off-by: Zhenhua Luo <b19537@freescale.com>
> ---
> conf/distro/fsl.conf | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/conf/distro/fsl.conf b/conf/distro/fsl.conf
> index 8f45d1a..e29cc54 100644
> --- a/conf/distro/fsl.conf
> +++ b/conf/distro/fsl.conf
> @@ -57,6 +57,7 @@ SANITY_TESTED_DISTROS ?= " \
> Ubuntu 10.04.4 LTS \n \
> Ubuntu 11.10 \n \
> Ubuntu 12.04 LTS \n \
> + Ubuntu 12.04.1 LTS \n \
> Fedora release 13 (Goddard) \n \
> Fedora release 15 (Lovelock) \n \
> Fedora release 16 (Verne) \n \
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register
2012-12-04 8:22 ` [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register b28495
@ 2012-12-04 19:06 ` McClintock Matthew-B29882
0 siblings, 0 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2012-12-04 19:06 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> The module does not exist any more. Its content (warnings/register.pm)
> has been moved to the main perl package. Introduced by commit:
> (poky: 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b)
> * File warnings/register.pm has been moved to package perl
> Fix:
> |error: Failed dependencies:
> |perl-module-warnings-register is needed by lxc-0.8.0+rc1-r6.ppce500mc
> |ERROR: Function failed: do_rootfs
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> Signed-off-by: Chunrong Guo <b40290@freescale.com>
Applied to master for testing
-M
> ---
> recipes-tools/lxc/lxc_0.8.0-rc1.bb | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
> index 5100937..ee6b09e 100644
> --- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb
> +++ b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
> @@ -3,7 +3,7 @@ SECTION = "console/utils"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
> PRIORITY = "optional"
> -PR = "r6"
> +PR = "r7"
> DEPENDS = "libxml2 libcap virtual/kernel"
> RDEPENDS_${PN} = " \
> rsync \
> @@ -12,7 +12,6 @@ RDEPENDS_${PN} = " \
> perl-module-strict \
> perl-module-getopt-long \
> perl-module-vars \
> - perl-module-warnings-register \
> perl-module-exporter \
> perl-module-constant \
> perl-module-overload \
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/5] using nativesdk as a prefix, not a suffix
2012-12-04 8:22 ` [PATCH 3/5] using nativesdk as a prefix, not a suffix b28495
2012-12-04 11:22 ` Otavio Salvador
@ 2012-12-04 19:07 ` McClintock Matthew-B29882
1 sibling, 0 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2012-12-04 19:07 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
Applied to master for testing
-M
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> images/fsl-toolchain.bb | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/images/fsl-toolchain.bb b/images/fsl-toolchain.bb
> index 7f51cdc..468db2b 100644
> --- a/images/fsl-toolchain.bb
> +++ b/images/fsl-toolchain.bb
> @@ -12,5 +12,5 @@ TOOLCHAIN_TARGET_TASK += " \
> "
>
> TOOLCHAIN_HOST_TASK += " \
> - dtc-nativesdk \
> + nativesdk-dtc \
> "
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 4/5] add centos 6.3 in the supported Linux distros list
2012-12-04 8:22 ` [PATCH 4/5] add centos 6.3 in the supported Linux distros list b28495
@ 2012-12-04 19:08 ` McClintock Matthew-B29882
0 siblings, 0 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2012-12-04 19:08 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
Applied to master for testing.
-M
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> conf/distro/fsl.conf | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/conf/distro/fsl.conf b/conf/distro/fsl.conf
> index e29cc54..a18c8cc 100644
> --- a/conf/distro/fsl.conf
> +++ b/conf/distro/fsl.conf
> @@ -67,6 +67,7 @@ SANITY_TESTED_DISTROS ?= " \
> CentOS release 5.7 (Final) \n \
> CentOS release 5.8 (Final) \n \
> CentOS release 6.2 (Final) \n \
> + CentOS release 6.3 (Final) \n \
> Debian GNU/Linux 6.0.4 (squeeze) \n \
> openSUSE 11.4 \n \
> openSUSE 12.1 \n \
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-04 8:22 ` [PATCH 5/5] lxc: move patches to default search path b28495
2012-12-04 11:25 ` Otavio Salvador
2012-12-04 16:17 ` McClintock Matthew-B29882
@ 2012-12-04 19:08 ` McClintock Matthew-B29882
2 siblings, 0 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2012-12-04 19:08 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
Applied to master for texting, next time please use -M to make patches
-M
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> recipes-tools/lxc/busybox_remove_dhcp.patch | 12 -----
> recipes-tools/lxc/files/busybox_remove_dhcp.patch | 12 +++++
> recipes-tools/lxc/files/libmounts.patch | 48 +++++++++++++++++++++
> recipes-tools/lxc/files/noldconfig.patch | 29 ++++++++++++
> recipes-tools/lxc/files/remove_vlan_hwaddr.patch | 11 +++++
> recipes-tools/lxc/libmounts.patch | 48 ---------------------
> recipes-tools/lxc/noldconfig.patch | 29 ------------
> recipes-tools/lxc/remove_vlan_hwaddr.patch | 11 -----
> 8 files changed, 100 insertions(+), 100 deletions(-)
> delete mode 100644 recipes-tools/lxc/busybox_remove_dhcp.patch
> create mode 100644 recipes-tools/lxc/files/busybox_remove_dhcp.patch
> create mode 100644 recipes-tools/lxc/files/libmounts.patch
> create mode 100644 recipes-tools/lxc/files/noldconfig.patch
> create mode 100644 recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> delete mode 100644 recipes-tools/lxc/libmounts.patch
> delete mode 100644 recipes-tools/lxc/noldconfig.patch
> delete mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch
>
> diff --git a/recipes-tools/lxc/busybox_remove_dhcp.patch b/recipes-tools/lxc/busybox_remove_dhcp.patch
> deleted file mode 100644
> index d28fda8..0000000
> --- a/recipes-tools/lxc/busybox_remove_dhcp.patch
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> -index a94eaa3..29b87ce 100644
> ---- a/templates/lxc-busybox.in
> -+++ b/templates/lxc-busybox.in
> -@@ -80,7 +80,6 @@ EOF
> - #!/bin/sh
> - /bin/syslogd
> - /bin/mount -a
> --/bin/udhcpc
> - EOF
> -
> - # executable
> diff --git a/recipes-tools/lxc/files/busybox_remove_dhcp.patch b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> new file mode 100644
> index 0000000..d28fda8
> --- /dev/null
> +++ b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> @@ -0,0 +1,12 @@
> +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> +index a94eaa3..29b87ce 100644
> +--- a/templates/lxc-busybox.in
> ++++ b/templates/lxc-busybox.in
> +@@ -80,7 +80,6 @@ EOF
> + #!/bin/sh
> + /bin/syslogd
> + /bin/mount -a
> +-/bin/udhcpc
> + EOF
> +
> + # executable
> diff --git a/recipes-tools/lxc/files/libmounts.patch b/recipes-tools/lxc/files/libmounts.patch
> new file mode 100644
> index 0000000..7e092f1
> --- /dev/null
> +++ b/recipes-tools/lxc/files/libmounts.patch
> @@ -0,0 +1,48 @@
> +From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00 2001
> +From: Stuart Yoder <stuart.yoder@freescale.com>
> +Date: Wed, 12 Sep 2012 11:05:07 -0500
> +Subject: [PATCH] create lib mounts only if the host directories exist
> +
> +Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> +---
> + templates/lxc-busybox.in | 24 +++++++++++-------------
> + 1 file changed, 11 insertions(+), 13 deletions(-)
> +
> +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> +index 720ceef..f6cb1ba 100644
> +--- a/templates/lxc-busybox.in
> ++++ b/templates/lxc-busybox.in
> +@@ -235,19 +235,17 @@ lxc.pts = 1
> + lxc.rootfs = $rootfs
> + EOF
> +
> +-if [ -d "$rootfs/lib" ]; then
> +-cat <<EOF >> $path/config
> +-lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
> +-lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0
> +-EOF
> +-fi
> +-
> +-if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then
> +-cat <<EOF >> $path/config
> +-lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
> +-lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0
> +-EOF
> +-fi
> ++ libdirs="\
> ++ /lib \
> ++ /usr/lib \
> ++ /lib64 \
> ++ /usr/lib64"
> ++
> ++ for dir in $libdirs; do
> ++ if [ -d $dir ]; then
> ++ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0 0" >> $path/config
> ++ fi
> ++ done
> + }
> +
> + usage()
> +--
> +1.7.9.7
> +
> diff --git a/recipes-tools/lxc/files/noldconfig.patch b/recipes-tools/lxc/files/noldconfig.patch
> new file mode 100644
> index 0000000..5edff46
> --- /dev/null
> +++ b/recipes-tools/lxc/files/noldconfig.patch
> @@ -0,0 +1,29 @@
> +From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001
> +From: Andrey Mazo <ahippo@yandex.ru>
> +Date: Fri, 18 May 2012 21:11:22 +0400
> +Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
> +
> +Make required symlinks manually.
> +Otherwise, it cases problems on cbuild endianness != ctarget endianness
> +setups because /sbin/ldconfig expects elf header in the wrong endianness.
> +---
> + src/lxc/Makefile.am | 2 +-
> + 1 files changed, 1 insertions(+), 1 deletions(-)
> +
> +diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> +index 1c26952..3b84c1a 100644
> +--- a/src/lxc/Makefile.am
> ++++ b/src/lxc/Makefile.am
> +@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
> +
> + install-exec-local: install-soPROGRAMS
> + mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> +- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> + cd $(DESTDIR)$(libdir); \
> ++ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
> + ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
> +
> + uninstall-local:
> +--
> +1.7.3.4
> +
> diff --git a/recipes-tools/lxc/files/remove_vlan_hwaddr.patch b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> new file mode 100644
> index 0000000..d3883bd
> --- /dev/null
> +++ b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> @@ -0,0 +1,11 @@
> +diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
> +index 4404439..231d618 100644
> +--- a/doc/examples/lxc-vlan.conf.in
> ++++ b/doc/examples/lxc-vlan.conf.in
> +@@ -4,6 +4,5 @@ lxc.network.type = vlan
> + lxc.network.vlan.id = 1234
> + lxc.network.flags = up
> + lxc.network.link = eth0
> +-lxc.network.hwaddr = 4a:49:43:49:79:bd
> + lxc.network.ipv4 = 1.2.3.4/24
> + lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
> diff --git a/recipes-tools/lxc/libmounts.patch b/recipes-tools/lxc/libmounts.patch
> deleted file mode 100644
> index 7e092f1..0000000
> --- a/recipes-tools/lxc/libmounts.patch
> +++ /dev/null
> @@ -1,48 +0,0 @@
> -From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00 2001
> -From: Stuart Yoder <stuart.yoder@freescale.com>
> -Date: Wed, 12 Sep 2012 11:05:07 -0500
> -Subject: [PATCH] create lib mounts only if the host directories exist
> -
> -Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> ----
> - templates/lxc-busybox.in | 24 +++++++++++-------------
> - 1 file changed, 11 insertions(+), 13 deletions(-)
> -
> -diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> -index 720ceef..f6cb1ba 100644
> ---- a/templates/lxc-busybox.in
> -+++ b/templates/lxc-busybox.in
> -@@ -235,19 +235,17 @@ lxc.pts = 1
> - lxc.rootfs = $rootfs
> - EOF
> -
> --if [ -d "$rootfs/lib" ]; then
> --cat <<EOF >> $path/config
> --lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
> --lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0
> --EOF
> --fi
> --
> --if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then
> --cat <<EOF >> $path/config
> --lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
> --lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0
> --EOF
> --fi
> -+ libdirs="\
> -+ /lib \
> -+ /usr/lib \
> -+ /lib64 \
> -+ /usr/lib64"
> -+
> -+ for dir in $libdirs; do
> -+ if [ -d $dir ]; then
> -+ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0 0" >> $path/config
> -+ fi
> -+ done
> - }
> -
> - usage()
> ---
> -1.7.9.7
> -
> diff --git a/recipes-tools/lxc/noldconfig.patch b/recipes-tools/lxc/noldconfig.patch
> deleted file mode 100644
> index 5edff46..0000000
> --- a/recipes-tools/lxc/noldconfig.patch
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001
> -From: Andrey Mazo <ahippo@yandex.ru>
> -Date: Fri, 18 May 2012 21:11:22 +0400
> -Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
> -
> -Make required symlinks manually.
> -Otherwise, it cases problems on cbuild endianness != ctarget endianness
> -setups because /sbin/ldconfig expects elf header in the wrong endianness.
> ----
> - src/lxc/Makefile.am | 2 +-
> - 1 files changed, 1 insertions(+), 1 deletions(-)
> -
> -diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> -index 1c26952..3b84c1a 100644
> ---- a/src/lxc/Makefile.am
> -+++ b/src/lxc/Makefile.am
> -@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
> -
> - install-exec-local: install-soPROGRAMS
> - mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> -- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> - cd $(DESTDIR)$(libdir); \
> -+ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
> - ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
> -
> - uninstall-local:
> ---
> -1.7.3.4
> -
> diff --git a/recipes-tools/lxc/remove_vlan_hwaddr.patch b/recipes-tools/lxc/remove_vlan_hwaddr.patch
> deleted file mode 100644
> index d3883bd..0000000
> --- a/recipes-tools/lxc/remove_vlan_hwaddr.patch
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
> -index 4404439..231d618 100644
> ---- a/doc/examples/lxc-vlan.conf.in
> -+++ b/doc/examples/lxc-vlan.conf.in
> -@@ -4,6 +4,5 @@ lxc.network.type = vlan
> - lxc.network.vlan.id = 1234
> - lxc.network.flags = up
> - lxc.network.link = eth0
> --lxc.network.hwaddr = 4a:49:43:49:79:bd
> - lxc.network.ipv4 = 1.2.3.4/24
> - lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-04 16:17 ` McClintock Matthew-B29882
2012-12-04 16:22 ` Otavio Salvador
@ 2012-12-28 7:50 ` Liu Ting-B28495
2012-12-28 17:27 ` Otavio Salvador
1 sibling, 1 reply; 18+ messages in thread
From: Liu Ting-B28495 @ 2012-12-28 7:50 UTC (permalink / raw)
To: McClintock Matthew-B29882, Yoder Stuart-B08248, Luo Zhenhua-B19537
Cc: meta-freescale
Moved to meta-virtualization:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=7a62620ea09f01c1f2a730cbb1264202276f2b87
-Ting
> -----Original Message-----
> From: McClintock Matthew-B29882
> Sent: Wednesday, December 05, 2012 12:18 AM
> To: Liu Ting-B28495; Yoder Stuart-B08248
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] [PATCH 5/5] lxc: move patches to default
> search path
>
> On Tue, Dec 4, 2012 at 2:22 AM, <b28495@freescale.com> wrote:
> > From: Ting Liu <b28495@freescale.com>
>
> Just a comment here, we should probably move lxc to the new metal-
> virtualization layer soon.
>
> -M
>
> > Signed-off-by: Ting Liu <b28495@freescale.com>
> > ---
> > recipes-tools/lxc/busybox_remove_dhcp.patch | 12 -----
> > recipes-tools/lxc/files/busybox_remove_dhcp.patch | 12 +++++
> > recipes-tools/lxc/files/libmounts.patch | 48
> +++++++++++++++++++++
> > recipes-tools/lxc/files/noldconfig.patch | 29 ++++++++++++
> > recipes-tools/lxc/files/remove_vlan_hwaddr.patch | 11 +++++
> > recipes-tools/lxc/libmounts.patch | 48 -------------
> --------
> > recipes-tools/lxc/noldconfig.patch | 29 ------------
> > recipes-tools/lxc/remove_vlan_hwaddr.patch | 11 -----
> > 8 files changed, 100 insertions(+), 100 deletions(-) delete mode
> > 100644 recipes-tools/lxc/busybox_remove_dhcp.patch
> > create mode 100644 recipes-tools/lxc/files/busybox_remove_dhcp.patch
> > create mode 100644 recipes-tools/lxc/files/libmounts.patch
> > create mode 100644 recipes-tools/lxc/files/noldconfig.patch
> > create mode 100644 recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> > delete mode 100644 recipes-tools/lxc/libmounts.patch delete mode
> > 100644 recipes-tools/lxc/noldconfig.patch
> > delete mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch
> >
> > diff --git a/recipes-tools/lxc/busybox_remove_dhcp.patch
> > b/recipes-tools/lxc/busybox_remove_dhcp.patch
> > deleted file mode 100644
> > index d28fda8..0000000
> > --- a/recipes-tools/lxc/busybox_remove_dhcp.patch
> > +++ /dev/null
> > @@ -1,12 +0,0 @@
> > -diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> > -index a94eaa3..29b87ce 100644
> > ---- a/templates/lxc-busybox.in
> > -+++ b/templates/lxc-busybox.in
> > -@@ -80,7 +80,6 @@ EOF
> > - #!/bin/sh
> > - /bin/syslogd
> > - /bin/mount -a
> > --/bin/udhcpc
> > - EOF
> > -
> > - # executable
> > diff --git a/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> > b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> > new file mode 100644
> > index 0000000..d28fda8
> > --- /dev/null
> > +++ b/recipes-tools/lxc/files/busybox_remove_dhcp.patch
> > @@ -0,0 +1,12 @@
> > +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> > +index a94eaa3..29b87ce 100644
> > +--- a/templates/lxc-busybox.in
> > ++++ b/templates/lxc-busybox.in
> > +@@ -80,7 +80,6 @@ EOF
> > + #!/bin/sh
> > + /bin/syslogd
> > + /bin/mount -a
> > +-/bin/udhcpc
> > + EOF
> > +
> > + # executable
> > diff --git a/recipes-tools/lxc/files/libmounts.patch
> > b/recipes-tools/lxc/files/libmounts.patch
> > new file mode 100644
> > index 0000000..7e092f1
> > --- /dev/null
> > +++ b/recipes-tools/lxc/files/libmounts.patch
> > @@ -0,0 +1,48 @@
> > +From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00
> > +2001
> > +From: Stuart Yoder <stuart.yoder@freescale.com>
> > +Date: Wed, 12 Sep 2012 11:05:07 -0500
> > +Subject: [PATCH] create lib mounts only if the host directories exist
> > +
> > +Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> > +---
> > + templates/lxc-busybox.in | 24 +++++++++++-------------
> > + 1 file changed, 11 insertions(+), 13 deletions(-)
> > +
> > +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> > +index 720ceef..f6cb1ba 100644
> > +--- a/templates/lxc-busybox.in
> > ++++ b/templates/lxc-busybox.in
> > +@@ -235,19 +235,17 @@ lxc.pts = 1
> > + lxc.rootfs = $rootfs
> > + EOF
> > +
> > +-if [ -d "$rootfs/lib" ]; then
> > +-cat <<EOF >> $path/config
> > +-lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
> > +-lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0 -EOF -fi
> > +-
> > +-if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then -cat <<EOF >>
> > +$path/config
> > +-lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
> > +-lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0 -EOF
> > +-fi
> > ++ libdirs="\
> > ++ /lib \
> > ++ /usr/lib \
> > ++ /lib64 \
> > ++ /usr/lib64"
> > ++
> > ++ for dir in $libdirs; do
> > ++ if [ -d $dir ]; then
> > ++ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0
> 0" >> $path/config
> > ++ fi
> > ++ done
> > + }
> > +
> > + usage()
> > +--
> > +1.7.9.7
> > +
> > diff --git a/recipes-tools/lxc/files/noldconfig.patch
> > b/recipes-tools/lxc/files/noldconfig.patch
> > new file mode 100644
> > index 0000000..5edff46
> > --- /dev/null
> > +++ b/recipes-tools/lxc/files/noldconfig.patch
> > @@ -0,0 +1,29 @@
> > +From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00
> > +2001
> > +From: Andrey Mazo <ahippo@yandex.ru>
> > +Date: Fri, 18 May 2012 21:11:22 +0400
> > +Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
> > +
> > +Make required symlinks manually.
> > +Otherwise, it cases problems on cbuild endianness != ctarget
> > +endianness setups because /sbin/ldconfig expects elf header in the
> wrong endianness.
> > +---
> > + src/lxc/Makefile.am | 2 +-
> > + 1 files changed, 1 insertions(+), 1 deletions(-)
> > +
> > +diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index
> > +1c26952..3b84c1a 100644
> > +--- a/src/lxc/Makefile.am
> > ++++ b/src/lxc/Makefile.am
> > +@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
> > +
> > + install-exec-local: install-soPROGRAMS
> > + mv $(DESTDIR)$(libdir)/liblxc.so
> $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> > +- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> > + cd $(DESTDIR)$(libdir); \
> > ++ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst .,
> > ++ ,$(VERSION))); \
> > + ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION)))
> > + liblxc.so
> > +
> > + uninstall-local:
> > +--
> > +1.7.3.4
> > +
> > diff --git a/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> > b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> > new file mode 100644
> > index 0000000..d3883bd
> > --- /dev/null
> > +++ b/recipes-tools/lxc/files/remove_vlan_hwaddr.patch
> > @@ -0,0 +1,11 @@
> > +diff --git a/doc/examples/lxc-vlan.conf.in
> > +b/doc/examples/lxc-vlan.conf.in index 4404439..231d618 100644
> > +--- a/doc/examples/lxc-vlan.conf.in
> > ++++ b/doc/examples/lxc-vlan.conf.in
> > +@@ -4,6 +4,5 @@ lxc.network.type = vlan lxc.network.vlan.id = 1234
> > +lxc.network.flags = up lxc.network.link = eth0 -lxc.network.hwaddr =
> > +4a:49:43:49:79:bd
> > + lxc.network.ipv4 = 1.2.3.4/24
> > + lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
> > diff --git a/recipes-tools/lxc/libmounts.patch
> > b/recipes-tools/lxc/libmounts.patch
> > deleted file mode 100644
> > index 7e092f1..0000000
> > --- a/recipes-tools/lxc/libmounts.patch
> > +++ /dev/null
> > @@ -1,48 +0,0 @@
> > -From dfef62f0334c65397254215f809a8f25364ea6ef Mon Sep 17 00:00:00
> > 2001
> > -From: Stuart Yoder <stuart.yoder@freescale.com>
> > -Date: Wed, 12 Sep 2012 11:05:07 -0500
> > -Subject: [PATCH] create lib mounts only if the host directories exist
> > -
> > -Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
> > ----
> > - templates/lxc-busybox.in | 24 +++++++++++-------------
> > - 1 file changed, 11 insertions(+), 13 deletions(-)
> > -
> > -diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> > -index 720ceef..f6cb1ba 100644
> > ---- a/templates/lxc-busybox.in
> > -+++ b/templates/lxc-busybox.in
> > -@@ -235,19 +235,17 @@ lxc.pts = 1
> > - lxc.rootfs = $rootfs
> > - EOF
> > -
> > --if [ -d "$rootfs/lib" ]; then
> > --cat <<EOF >> $path/config
> > --lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
> > --lxc.mount.entry=/usr/lib $rootfs/usr/lib none ro,bind 0 0 --EOF --fi
> > --
> > --if [ -d "/lib64" ] && [ -d "$rootfs/lib64" ]; then --cat <<EOF >>
> > $path/config
> > --lxc.mount.entry=/lib64 $rootfs/lib64 none ro,bind 0 0
> > --lxc.mount.entry=/usr/lib64 $rootfs/usr/lib64 none ro,bind 0 0 --EOF
> > --fi
> > -+ libdirs="\
> > -+ /lib \
> > -+ /usr/lib \
> > -+ /lib64 \
> > -+ /usr/lib64"
> > -+
> > -+ for dir in $libdirs; do
> > -+ if [ -d $dir ]; then
> > -+ echo "lxc.mount.entry=$dir $rootfs$dir none ro,bind 0
> 0" >> $path/config
> > -+ fi
> > -+ done
> > - }
> > -
> > - usage()
> > ---
> > -1.7.9.7
> > -
> > diff --git a/recipes-tools/lxc/noldconfig.patch
> > b/recipes-tools/lxc/noldconfig.patch
> > deleted file mode 100644
> > index 5edff46..0000000
> > --- a/recipes-tools/lxc/noldconfig.patch
> > +++ /dev/null
> > @@ -1,29 +0,0 @@
> > -From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00
> > 2001
> > -From: Andrey Mazo <ahippo@yandex.ru>
> > -Date: Fri, 18 May 2012 21:11:22 +0400
> > -Subject: [PATCH] Avoid ldconfig due to cross-compilation problems.
> > -
> > -Make required symlinks manually.
> > -Otherwise, it cases problems on cbuild endianness != ctarget
> > endianness -setups because /sbin/ldconfig expects elf header in the
> wrong endianness.
> > ----
> > - src/lxc/Makefile.am | 2 +-
> > - 1 files changed, 1 insertions(+), 1 deletions(-)
> > -
> > -diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am -index
> > 1c26952..3b84c1a 100644
> > ---- a/src/lxc/Makefile.am
> > -+++ b/src/lxc/Makefile.am
> > -@@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c
> > -
> > - install-exec-local: install-soPROGRAMS
> > - mv $(DESTDIR)$(libdir)/liblxc.so
> $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> > -- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
> > - cd $(DESTDIR)$(libdir); \
> > -+ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst .,
> > -+ ,$(VERSION))); \
> > - ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
> > -
> > - uninstall-local:
> > ---
> > -1.7.3.4
> > -
> > diff --git a/recipes-tools/lxc/remove_vlan_hwaddr.patch
> > b/recipes-tools/lxc/remove_vlan_hwaddr.patch
> > deleted file mode 100644
> > index d3883bd..0000000
> > --- a/recipes-tools/lxc/remove_vlan_hwaddr.patch
> > +++ /dev/null
> > @@ -1,11 +0,0 @@
> > -diff --git a/doc/examples/lxc-vlan.conf.in
> > b/doc/examples/lxc-vlan.conf.in -index 4404439..231d618 100644
> > ---- a/doc/examples/lxc-vlan.conf.in
> > -+++ b/doc/examples/lxc-vlan.conf.in
> > -@@ -4,6 +4,5 @@ lxc.network.type = vlan
> > - lxc.network.vlan.id = 1234
> > - lxc.network.flags = up
> > - lxc.network.link = eth0
> > --lxc.network.hwaddr = 4a:49:43:49:79:bd
> > - lxc.network.ipv4 = 1.2.3.4/24
> > - lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
> > --
> > 1.7.3.4
> >
> >
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-28 7:50 ` Liu Ting-B28495
@ 2012-12-28 17:27 ` Otavio Salvador
2013-01-04 20:35 ` McClintock Matthew-B29882
0 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2012-12-28 17:27 UTC (permalink / raw)
To: Liu Ting-B28495
Cc: McClintock Matthew-B29882, Yoder Stuart-B08248, meta-freescale
On Fri, Dec 28, 2012 at 5:50 AM, Liu Ting-B28495 <B28495@freescale.com> wrote:
> Moved to meta-virtualization:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=7a62620ea09f01c1f2a730cbb1264202276f2b87
Great! so a new patch removing it from meta-fsl-ppc completely could be done :)
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/5] lxc: move patches to default search path
2012-12-28 17:27 ` Otavio Salvador
@ 2013-01-04 20:35 ` McClintock Matthew-B29882
0 siblings, 0 replies; 18+ messages in thread
From: McClintock Matthew-B29882 @ 2013-01-04 20:35 UTC (permalink / raw)
To: Otavio Salvador
Cc: McClintock Matthew-B29882, Yoder Stuart-B08248, meta-freescale
On Fri, Dec 28, 2012 at 11:27 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Fri, Dec 28, 2012 at 5:50 AM, Liu Ting-B28495 <B28495@freescale.com> wrote:
>> Moved to meta-virtualization:
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=7a62620ea09f01c1f2a730cbb1264202276f2b87
>
> Great! so a new patch removing it from meta-fsl-ppc completely could be done :)
I've pushed a patch to master-next to do this.
-M
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2013-01-04 20:35 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 8:22 [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list b28495
2012-12-04 8:22 ` [PATCH 2/5] lxc: remove rdepend perl-module-warnings-register b28495
2012-12-04 19:06 ` McClintock Matthew-B29882
2012-12-04 8:22 ` [PATCH 3/5] using nativesdk as a prefix, not a suffix b28495
2012-12-04 11:22 ` Otavio Salvador
2012-12-04 19:07 ` McClintock Matthew-B29882
2012-12-04 8:22 ` [PATCH 4/5] add centos 6.3 in the supported Linux distros list b28495
2012-12-04 19:08 ` McClintock Matthew-B29882
2012-12-04 8:22 ` [PATCH 5/5] lxc: move patches to default search path b28495
2012-12-04 11:25 ` Otavio Salvador
2012-12-04 16:17 ` McClintock Matthew-B29882
2012-12-04 16:22 ` Otavio Salvador
2012-12-04 16:43 ` Bruce Ashfield
2012-12-28 7:50 ` Liu Ting-B28495
2012-12-28 17:27 ` Otavio Salvador
2013-01-04 20:35 ` McClintock Matthew-B29882
2012-12-04 19:08 ` McClintock Matthew-B29882
2012-12-04 19:06 ` [PATCH 1/5] add Ubuntu 12.04.1 LTS in the supported Linux distros list McClintock Matthew-B29882
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.