Bug 12430 - linux-yocto_4.9 (pyro): aufs fails to build
Summary: linux-yocto_4.9 (pyro): aufs fails to build
Status: RESOLVED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: linux-yocto (show other bugs)
Version: 2.3.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3.4
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-12-18 19:52 UTC by Mikko Ylinen
Modified: 2018-02-28 01:56 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Ylinen 2017-12-18 19:52:32 UTC
The version of aufs4-standalone in both linux-yocto 4.9 (pyro) and yocto-kernel-cache (yocto-4.9) fail to build (to be honest, I've not tried the latter but the code is the same):

CONFIG_AUFS_XATTR triggers failures due to missing *xattr inode_operations. Furthermore, the kernel's inode_operations (* rename) entry adds new parameter for the callback function is missing.
Comment 1 Bruce Ashfield 2017-12-21 15:46:01 UTC
I have patches for this locally. Will queue them shortly.
Comment 2 Bruce Ashfield 2017-12-24 04:55:41 UTC
root@qemux86-64:~# uname -a
Linux qemux86-64 4.9.71-rt18-yocto-preempt-rt #1 SMP PREEMPT RT Sat Dec 23 23:46:40 EST 2017 x86_64 GNU/Linux
root@qemux86-64:~# zcat /proc/config.gz  | grep -i aufs
CONFIG_AUFS_FS=y
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
# CONFIG_AUFS_HNOTIFY is not set
# CONFIG_AUFS_EXPORT is not set
# CONFIG_AUFS_XATTR is not set
# CONFIG_AUFS_FHSM is not set
# CONFIG_AUFS_RDU is not set
# CONFIG_AUFS_DIRREN is not set
# CONFIG_AUFS_SHWH is not set
# CONFIG_AUFS_BR_RAMFS is not set
# CONFIG_AUFS_BR_FUSE is not set
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set
root@qemux86-64:~#