Skip to contentSkip to conversation

poky.conf: add largefile support into DISTRO_FEATURES

PATCH Applied Dexuan Cui 2 participants 3 messages Jul 1, 2011

lore
Share & tools
lore

Dexuan Cui

author
#0 lore raw

cover poky.conf: add largefile support into DISTRO_FEATURES

Dexuan Cui (1):
poky.conf: add largefile support into DISTRO_FEATURES

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dcui/mkswap
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/mkswap

 meta-yocto/conf/distro/poky-lsb.conf |    2 +-
 meta-yocto/conf/distro/poky.conf     |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6
author
#1 lore raw

PATCH 1/1 poky.conf: add largefile support into DISTRO_FEATURES

[YOCTO #1205 ]

The commit ab1171b(busybox: backport distro-features handling from oe master) actully makes busybox's largefile support disabled. So busybox's mkswap complains "lseek: Value too large for defined data type" when we install BSP image into the target device.

So we have to enable largefile support, and bump PR of busybox(in a later commit).

Note: poky-lsb.conf enables "largefile" and includes poky.conf, so we can move "largefile" from poky-lsb.conf into poky.conf.

---
 meta-yocto/conf/distro/poky-lsb.conf |    2 +-
 meta-yocto/conf/distro/poky.conf     |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
meta-yocto/conf/distro/poky-lsb.conf +1 -1
index 49d12da..355161b 100644
@@ -3,7 +3,7 @@ require conf/distro/poky.conf
 DISTRO = "poky-lsb"
 DISTROOVERRIDES = "poky:linuxstdbase"
 
-DISTRO_FEATURES_append = " pam largefile"
+DISTRO_FEATURES_append = " pam"
 PREFERRED_PROVIDER_virtual/libx11 = "libx11"
 
 
meta-yocto/conf/distro/poky.conf +2 -0
index 6724229..1ae94a0 100644
@@ -10,6 +10,8 @@ TARGET_VENDOR = "-poky"
 
 LOCALCONF_VERSION = "1"
 
+DISTRO_FEATURES_append = " largefile"
+
 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 
Signature · 1 line
1.7.6