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:
parent
97de3cd44b
commit
e9cd36644f
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,7 +7,7 @@ web/*.html
|
||||
gmon.out
|
||||
core.*
|
||||
vgcore.*
|
||||
Makefile
|
||||
src/Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -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
|
||||
|
@ -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
1
src/kernel/ceph_fs.h
Symbolic link
@ -0,0 +1 @@
|
||||
../include/ceph_fs.h
|
Loading…
Reference in New Issue
Block a user