Construa o kernel do linux 4.15.0-22 scripts / Makefile.clean [closed]

0

Eu quero compilar o linux-source-4.15.0-22 no xenial (16.04-4). Quando eu uso o seguinte comando, recebi um erro.

make clean distclean && make mrproper && make-kpkg clean
cp /boot/config-4.15.0-22-generic .config
make-kpkg --initrd kernel_source -j8

O erro é:

tar: crypto.master: Cannot stat: No such file or directory

Algumas linhas depois que o seguinte erro é anunciado:

scripts/Makefile.clean:15: crypto/Makefile: No such file or directory
make[3]: *** No rule to make target 'cryptMakefile'. Stop
Makefile:1347: recipe for target '_clean_crepto' failed
make[2]: *** [_clean_crypto] Error2
make[2]: Laving directory '/home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17'
.
.
.

Por favor, ajude-me a compilar isso.

Mais informações:

    install -p -o root -g root -m 644 ./debian/pkg/source/copyright '/home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/share/doc/linux-source-4.15.17/copyright'
echo "This was producted by kernel-package version 13.018." > \ 
    /home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/share/doc/linux-source-4-15.17/Buildinfo
r cf - $(echo * | sed -e 's/ debian//g' -e 's/\,deb//g' ) |  \
    (cd /home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17; umask 000; tar xspf - )
tar: crypto.master: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous error
(cd /home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17/include; rm -f asm ; )
install -p -o root -g root -m 644 debian/changelog /home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17/Debian.src.changelog
(cd /home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17; 
    \
    /usr/bin/make ARCH=x86_64 distclean)
make[2]: Entring directory '/home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17'
  CLEAN   .
  CLEAN   arch/x86/purgatory
scripts/Makefile.clean:15: crypto/Makefile: No such file or directory
make[3]: *** No rule to make target 'cryptMakefile'. Stop
Makefile:1347: recipe for target '_clean_crepto' failed
make[2]: *** [_clean_crypto] Error2
make[2]: Laving directory '/home/hassan/linux-source-4.15.0/debian/linux-source-4.15.17/usr/src/linux-source-4.15.17'
debian/ruleset/targets/source.mk:35: recipe for target 'debian/stamp/install/linux-source-4.15.17' failed
make[1]: *** [debian/stamp/install/linux-source-4.15.17] Error 2
make[1]: Laving directory '/home/hassan/linux-source-4.15.0'
debian/ruleset/local.mk:96: recipe for target 'kernel_source' failed
make: *** [kernel_source] Error 
    
por Pouralijan 11.06.2018 / 13:52

1 resposta

0

Eu encontrei uma maneira, crie o link crypto.master a partir da criptografia e crie novamente.

make clean distclean && make mrproper && make-kpkg clean
ln -s crypto crypto.master
cp /boot/config-4.15.0-22-generic .config
make-kpkg --initrd kernel_source -j8
    
por Pouralijan 13.06.2018 / 14:15