1
0
mirror of https://github.com/ceph/ceph synced 2025-03-21 01:38:15 +00:00

debian: fix kernel module in source package

This commit is contained in:
Sage Weil 2008-10-16 13:53:56 -07:00
parent 97de3cd44b
commit e9cd36644f
4 changed files with 4 additions and 7 deletions

2
.gitignore vendored
View File

@ -7,7 +7,7 @@ web/*.html
gmon.out
core.*
vgcore.*
Makefile
src/Makefile
Makefile.in
aclocal.m4
autom4te.cache

3
debian/rules vendored
View File

@ -15,8 +15,7 @@ common-install-arch::
mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/usr/share/doc/ceph
cp debian/README.ceph $(DEB_DH_INSTALL_SOURCEDIR)/usr/share/doc/ceph/
mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph
(cd src/kernel ; tar -cf - * ) | ( cd $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph ; tar -xf - )
cp src/include/ceph_fs.h $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/ceph_fs.h
(cd src/kernel ; tar -hcf - * ) | ( cd $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph ; tar -xf - )
mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian
-cp debian/* $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian
mv $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian/rules.modules.in $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian/rules

View File

@ -23,7 +23,7 @@ PWD := $(shell pwd)
default: all
all: ceph_fs.h
all:
$(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_FS=m modules
modules_install:
@ -32,7 +32,4 @@ modules_install:
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
ceph_fs.h:
ln -s ../include/ceph_fs.h ceph_fs.h
endif

1
src/kernel/ceph_fs.h Symbolic link
View File

@ -0,0 +1 @@
../include/ceph_fs.h