wok rev 8143

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.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jan 25 00:03:50 2011 +0000 (2011-01-25)
parents 2cee8d83dffe
children 2220c576fa76
files aufs/receipt linux-module-headers/receipt
line diff
     1.1 --- a/aufs/receipt	Mon Jan 24 23:26:55 2011 +0000
     1.2 +++ b/aufs/receipt	Tue Jan 25 00:03:50 2011 +0000
     1.3 @@ -47,6 +47,9 @@
     1.4  
     1.5  	#patch -Np1 -i ../stuff/aufs2-module-2.6.36.patch
     1.6  	#make KDIR=/usr/src/linux clean
     1.7 +	# build, sed fixes are from gentoo portage build
     1.8 +	sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
     1.9 +	sed -i "s:__user::g" include/linux/aufs_type.h
    1.10  	make -j 1 KDIR=/usr/src/linux
    1.11  }
    1.12  
    1.13 @@ -59,6 +62,8 @@
    1.14  	lzma e $src/fs/aufs/aufs.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.15  	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.16  	chown 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.17 +	install -D -m 644 $src/include/linux/aufs_type.h $fs/usr/include/linux/aufs_type.h 
    1.18 +
    1.19  }
    1.20  
    1.21  post_install()
     2.1 --- a/linux-module-headers/receipt	Mon Jan 24 23:26:55 2011 +0000
     2.2 +++ b/linux-module-headers/receipt	Tue Jan 25 00:03:50 2011 +0000
     2.3 @@ -107,9 +107,6 @@
     2.4  	mkdir -p $fs/$path/fs/xfs
     2.5  	mkdir -p $fs/$path/mm
     2.6  	cp -a $src/fs/xfs/xfs_sb.h $fs/$path/fs/xfs/xfs_sb.h
     2.7 -
     2.8 -	# needed for aufs-utils
     2.9 -	cp -a $AUFSDIR/include/linux/aufs_type.h $fs/$path/include/linux/aufs_type.h
    2.10  	
    2.11  	# add headers vor virtualbox
    2.12  	# in reference to: