Browse Source

aufs: fixed to get the aufs_type.h installed when building linux-header package

user/chris/wip/linux37
Christian Wiese 12 years ago
parent
commit
16874ca929
  1. 2
      filesystem/aufs/pkg_linux_post.conf

2
filesystem/aufs/pkg_linux_post.conf

@ -38,6 +38,8 @@ if [ ! -z "$pkg_aufs_source_file" ]; then
cp -rv $pkg_aufs_tempdir/aufs3-standalone/{Documentation,fs} . cp -rv $pkg_aufs_tempdir/aufs3-standalone/{Documentation,fs} .
cp -rv $pkg_aufs_tempdir/aufs3-standalone/include/linux/aufs_type.h include/linux/ cp -rv $pkg_aufs_tempdir/aufs3-standalone/include/linux/aufs_type.h include/linux/
cp -rv $pkg_aufs_tempdir/aufs3-standalone/include/uapi/linux/aufs_type.h include/uapi/linux/ cp -rv $pkg_aufs_tempdir/aufs3-standalone/include/uapi/linux/aufs_type.h include/uapi/linux/
# get header installed when building linux-header package
echo "header-y += aufs_type.h" >> include/uapi/linux/Kbuild
} }
hook_add preconf 5 "pkg_aufs_copy_source_files" hook_add preconf 5 "pkg_aufs_copy_source_files"

Loading…
Cancel
Save