Ubuntu-Kernel kompilieren schlägt fehl
Christoph Bier
christoph.bier at web.de
Mit Dez 17 17:42:33 GMT 2008
Hallo,
ich muss einen eigenen Ubuntu-Kernel kompilieren, da ich den Kernel
patchen muss, um auf meinem ThinkPad das »Active Protection System«
nutzen zu können. Dazu würde ich gerne den Debian-Way gehen -- das
wäre das erste Mal für mich, früher habe ich Kernel immer einfach so
kompiliert und installiert. Deshalb orientiere ich mich an:
https://help.ubuntu.com/community/Kernel/Compile#AltBuildMethod.
Allerdings scheitere ich:
root at skull-tp:/usr/src/linux-source-2.6.27# fakeroot make-kpkg
--initrd --append-to-version=-aps-patch kernel-image kernel-headers
[...]
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
====== making target CONFIG-common [new prereqs: testdir]======
====== making target debian/stamp-conf [new prereqs: ]======
The changelog says we are creating 2.6.27.2-aps-patch.
However, I thought the version is ..-aps-patch
exit 3
make: *** [debian/stamp-conf] Fehler 3
Da ich von Problemen mit Ubuntus Standard-Shell Dash gelesen habe,
hatte ich auch schon Bash zur Standard-Shell gemacht:
root at skull-tp:/usr/src/linux-source-2.6.27# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2008-12-07 11:37 /bin/sh -> bash
Hat jemand eine Idee, was das schief läuft? Das Gleiche ist mir
letzte Woche schon passiert, als ich aus einem anderen Grund einen
Vanilla-Kernel kompilieren wollte.
Grüße
Christoph
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)