Portál AbcLinuxu, 4. května 2025 01:29
lsb_release -r Release: 16.04 uname -r 4.15.0-55-genericPouštím příkazy (konfiguraci jsem zatím neměnil)
apt-get source linux-image-unsigned-$(uname -r) cd linux-hwe-4.15.0/ chmod a+x debian/rules chmod a+x debian/scripts/* chmod a+x debian/scripts/misc/* LANG=C fakeroot debian/rules clean LANG=C fakeroot debian/rules editconfigs LANG=C fakeroot debian/rules binaryKompilace mi skončí chybou
Build a temporary "installed headers" directory. install -d /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/____________________________dkms /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/____________________________dkms/headers /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/____________________________dkms/build /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/____________________________dkms/source cp -rp "/home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/linux-headers-4.15.0-142-generic/usr/src/linux-headers-4.15.0-142-generic" "/home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/linux-headers-4.15.0-142/usr/src/linux-headers-4.15.0-142" "/home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/____________________________dkms/headers" CROSS_COMPILE= /bin/bash -e debian/scripts/dkms-build /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/____________________________dkms 4.15.0-142-generic ' /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/scripts/sign-file sha512 /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/certs/signing_key.pem /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/build/build-generic/certs/signing_key.x509' linux-modules-4.15.0-142-generic /home/sto/tmp/kernel2/linux-hwe-4.15.0/debian/linux-modules-4.15.0-142-generic/lib/modules/4.15.0-142-generic/kernel "" spl pool/universe/s/spl-linux/spl-dkms_0.7.5-1ubuntu2.2_all.deb II: dkms-build downloading spl (spl-dkms_0.7.5-1ubuntu2.2_all.deb) II: fetching https://launchpad.net/ubuntu/+archive/primary/+files/spl-dkms_0.7.5-1ubuntu2.2_all.deb II: fixing https://launchpadlibrarian.net/487675006/spl-dkms_0.7.5-1ubuntu2.2_all.deb II: following http://launchpadlibrarian.net/487675006/spl-dkms_0.7.5-1ubuntu2.2_all.deb curl: (22) The requested URL returned error: 503 Service Unavailable dpkg-deb: error: 'spl-dkms_0.7.5-1ubuntu2.2_all.deb' is not a debian format archive debian/rules.d/2-binary-arch.mk:124: recipe for target 'install-generic' failed make: *** [install-generic] Error 2Má někdo nápad co s tím?
Řešení dotazu:
curl: (22) The requested URL returned error: 503 Service UnavailableZ nejakeho duvodu to od tebe neni videt.
Web Page Blocked URL: launchpadlibrarian.net/487675006/spl-dkms_0.7.5-1ubuntu2.2_all.deb Category: high-risk
Web Page Blocked [...] Category: high-riskco pouzivas za OS/Prohlizec ke stazeni? neblokuje to nejakej (ne)inteligentni antivirak ve Windows? nebo mas neaktualizovanej prohlizec v tom 16.04?
apt-get source linux-image-unsigned-$(uname -r) apt-get build-dep linux-image-unsigned-$(uname -r) apt-get install devscripts build-essential cd linux-hwe-4.15.0/ # uděláš si modifikace (parametry pro kompilaci, nebo opatchuješ, co já vím) a pak provedeš úpravu changelogu dch -i # následně build debuild -us -uc -saTento postup jsem používal u jiných balíčků, kernel jsem nezkoušel rekompilovat. Tak snad to bude stejný.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.