[OE-core] aufs missing in kernel 4.4
Hongxu Jia
hongxu.jia at windriver.com
Thu Mar 31 10:07:31 UTC 2016
Hi Bruce,
In kernel 4.1, it supports aufs:
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.1/tree/fs/aufs?h=standard/base
But it does not exist in kernel 4.4:
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.4/tree/fs?h=standard/base
It caused ISO's rootfs is readonly.
In meta/recipes-core/initrdscripts/files/init-live.sh:
-----------------
174 elif grep -q -w "aufs" /proc/filesystems; then
175 union_fs_type="aufs"
[snip]
204 "aufs")
205 mkdir -p /rootfs.ro /rootfs.rw
206 if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
207 rm -rf /rootfs.ro /rootfs.rw
208 fatal "Could not move rootfs mount point"
209 else
210 mount -t tmpfs -o rw,noatime,mode=755 tmpfs /rootfs.rw
211 mount -t aufs -o "dirs=/rootfs.rw=rw:/rootfs.ro=ro"
aufs $ROOT_MOUNT
212 mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
213 mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
214 mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
215 fi
216 ;;
-----------------
Would you please update kernel 4.4 to support aufs?
//Hongxu
More information about the Openembedded-core
mailing list