Hi,


I would like to generate the .deb packages for lustre 2.6 for Wheezy client.



I would like to install on my client only the lustre-client-module package.



I followed the recommendation given in this message : 
http://lists.lustre.org/pipermail/lustre-discuss/2014-May/017734.html but 
nothing worked.



Here are exactly the steps I performed :

1.)  Install packages on my Wheezy server aptitude install 
linux-headers-3.2.0-4-all-amd64 libtool automake



2.) Get the lustre sources for release 2.6 git clone -b b2_6 
git://git.whamcloud.com/fs/lustre-release.git

Let say this is stored in the folder /tmp/lustre-release



# content of debian/rules have not been changed as it seems ok # content of 
kdist_config section :

       ./configure --with-linux=$(KSRC) \

                    --disable-server \

                    --disable-quilt  \

                    --disable-dependency-tracking \

                    --disable-doc  \

                    --disable-utils \

                    --disable-snmp \

                    --disable-zerocopy \

                    --disable-tests \

                    --enable-quota



4.) Run the script you provided



At this step, the following deb files have been generated :

linux-patch-lustre_2.6.0.0_all.deb

lustre_2.6.0.0.tar.gz

lustre-dev_2.6.0.0_amd64.deb

lustre-source_2.6.0.0_all.deb

lustre-tests_2.6.0.0_amd64.deb

lustre-utils_2.6.0.0_amd64.deb



5.) Beginning of nightmare

I tried to continue with make-kpkg section :

export MODULE=/tmp/lustre-release

ln -s linux-headers-3.2.0-4-amd64 linux

cd /usr/src/linux

make-kpkg modules_image --append-to-version -lustre-my-build --revision `date 
+"%Y%m%d"`



Results of that :

chmod 0644 debian/control debian/changelog test -d ./debian/stamp || mkdir 
debian/stamp make -f debian/rules debian/stamp/conf/kernel-conf

/bin/sh: 1: [: -lt: unexpected operator

/bin/sh: 1: [: -eq: unexpected operator

/bin/sh: 1: [: -eq: unexpected operator

/bin/sh: 1: [: -lt: unexpected operator

/bin/sh: 1: [: -eq: unexpected operator

/bin/sh: 1: [: -eq: unexpected operator

/bin/sh: 1: [: -gt: unexpected operator

/bin/sh: 1: [: -ge: unexpected operator

/bin/sh: 1: [: -lt: unexpected operator

/bin/sh: 1: [: -eq: unexpected operator

/bin/sh: 1: [: -eq: unexpected operator

make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.2.0-4-amd64 » 
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======

make EXTRAVERSION=-lustre-my-build   ARCH=x86_64 \

                    oldconfig;

make[2]: entrant dans le répertoire « /usr/src/linux-headers-3.2.0-4-amd64 »

/usr/src/linux-headers-3.2.0-4-common/scripts/Makefile.build:44: 
/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile: Aucun fichier ou 
dossier de ce type

make[5]: *** Pas de règle pour fabriquer la cible « 
/usr/src/linux-headers-3.2.0-4-common/scripts/basic/Makefile ». Arrêt.

make[4]: *** [scripts_basic] Erreur 2

make[3]: *** [sub-make] Erreur 2

make[2]: *** [all] Erreur 2

make[2]: quittant le répertoire « /usr/src/linux-headers-3.2.0-4-amd64 »

make[1]: *** [debian/stamp/conf/kernel-conf] Erreur 2

make[1]: quittant le répertoire « /usr/src/linux-headers-3.2.0-4-amd64 »

make: *** [debian/stamp/conf/minimal_debian] Erreur 2 Failed to create a 
./debian directory: Aucun fichier ou dossier de ce type at /usr/bin/make-kpkg 
line 984.



I agreed I'm not used to those kernel or module compilation stuff, that's why I 
must miss something. It should be great if I could have some help.



Regards,



Thierry L.

_______________________________________________
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to