# HG changeset patch # User Christopher Rogers # Date 1295913830 0 # Node ID c2cbedd53fdc9f9158e94cf9c4ae4aac1ec93e00 # Parent 2cee8d83dffe3bc99ddfae424b4390dd93a5d7d5 aufs: aufs_type.h file will be install in aufs instead of linux-module-headers. It needed to be in /usr/include/linux folder anyways. diff -r 2cee8d83dffe -r c2cbedd53fdc aufs/receipt --- a/aufs/receipt Mon Jan 24 23:26:55 2011 +0000 +++ b/aufs/receipt Tue Jan 25 00:03:50 2011 +0000 @@ -47,6 +47,9 @@ #patch -Np1 -i ../stuff/aufs2-module-2.6.36.patch #make KDIR=/usr/src/linux clean + # build, sed fixes are from gentoo portage build + sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile + sed -i "s:__user::g" include/linux/aufs_type.h make -j 1 KDIR=/usr/src/linux } @@ -59,6 +62,8 @@ lzma e $src/fs/aufs/aufs.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz chown 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz + install -D -m 644 $src/include/linux/aufs_type.h $fs/usr/include/linux/aufs_type.h + } post_install() diff -r 2cee8d83dffe -r c2cbedd53fdc linux-module-headers/receipt --- a/linux-module-headers/receipt Mon Jan 24 23:26:55 2011 +0000 +++ b/linux-module-headers/receipt Tue Jan 25 00:03:50 2011 +0000 @@ -107,9 +107,6 @@ mkdir -p $fs/$path/fs/xfs mkdir -p $fs/$path/mm cp -a $src/fs/xfs/xfs_sb.h $fs/$path/fs/xfs/xfs_sb.h - - # needed for aufs-utils - cp -a $AUFSDIR/include/linux/aufs_type.h $fs/$path/include/linux/aufs_type.h # add headers vor virtualbox # in reference to: