So, jetzt bin ich -dank euch- einen Schritt weiter. Mit apt-get update ist der Patch-Befehl nun bekannt.
Hab das jetzt ausgeführt und bekomme folgende Meldung:
Hab die .diff Files unter usr/smarthome/Patches liegen.
Den zweiten Befehl muß ich dann im Verzeichnis usr/smarthome/plugins/visu ausführen. Dort liegt zumindest eine smartvisu.py.
Ist das so korrekt?
Hab das jetzt ausgeführt und bekomme folgende Meldung:
login as: admin
admin@192.168.178.103's password:
Linux smarthome.local 3.10.18+ #596 PREEMPT Fri Nov 15 13:57:24 GMT 2013 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Dec 28 21:01:52 2013 from bit-te-laptop.fritz.box
admin@smarthome:/usr/smarthome$ cd bin
admin@smarthome:/usr/smarthome/bin$ ls -l
total 24
-rwxr-xr-x 1 admin admin 23076 Nov 16 14:42 smarthome.py
admin@smarthome:/usr/smarthome/bin$ patch -p0 < /usr/smarthome/Patches/smarthome.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/plugins/visu/smartvisu.py b/plugins/visu/smartvisu.py
|index 940cb6d..2940332 100755
|--- a/plugins/visu/smartvisu.py
|
b/plugins/visu/smartvisu.py
--------------------------
File to patch: smartvisu.py
smartvisu.py: No such file or directory
Skip this patch? [y] n
File to patch: smarthome.py
patching file smarthome.py
Hunk #1 FAILED at 44.
Hunk #2 FAILED at 88.
2 out of 2 hunks FAILED -- saving rejects to file smarthome.py.rej
admin@smarthome:/usr/smarthome/bin$
admin@192.168.178.103's password:
Linux smarthome.local 3.10.18+ #596 PREEMPT Fri Nov 15 13:57:24 GMT 2013 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Dec 28 21:01:52 2013 from bit-te-laptop.fritz.box
admin@smarthome:/usr/smarthome$ cd bin
admin@smarthome:/usr/smarthome/bin$ ls -l
total 24
-rwxr-xr-x 1 admin admin 23076 Nov 16 14:42 smarthome.py
admin@smarthome:/usr/smarthome/bin$ patch -p0 < /usr/smarthome/Patches/smarthome.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/plugins/visu/smartvisu.py b/plugins/visu/smartvisu.py
|index 940cb6d..2940332 100755
|--- a/plugins/visu/smartvisu.py
|

--------------------------
File to patch: smartvisu.py
smartvisu.py: No such file or directory
Skip this patch? [y] n
File to patch: smarthome.py
patching file smarthome.py
Hunk #1 FAILED at 44.
Hunk #2 FAILED at 88.
2 out of 2 hunks FAILED -- saving rejects to file smarthome.py.rej
admin@smarthome:/usr/smarthome/bin$
Den zweiten Befehl muß ich dann im Verzeichnis usr/smarthome/plugins/visu ausführen. Dort liegt zumindest eine smartvisu.py.
Ist das so korrekt?
Kommentar