patching file drivers/power/__init__.py
Hunk #1 FAILED at 353.
Hunk #2 FAILED at 371.
2 out of 2 hunks FAILED -- saving rejects to file drivers/power/__init__.py.rej
patching file drivers/power/wakeonlan.py
can't find file to patch at input line 85
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nrup /usr/lib/python3/dist-packages/provisioningserver/power/schema.py provisioningserver/power/schema.py
|--- /usr/lib/python3/dist-packages/provisioningserver/power/schema.py 2016-12-21 12:56:19.000000000 +0000
|+++ provisioningserver/power/schema.py 2017-04-02 19:01:59.001823063 +0000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
Sadly it dont work at 2.2.1 :(. It say:
$ sudo patch -p1 -d /usr/lib/ python3/ dist-packages/ provisioningser ver/ < maas-wakeonlan.diff
patching file drivers/ power/_ _init__ .py power/_ _init__ .py.rej power/wakeonlan .py ------- ------- ----- python3/ dist-packages/ provisioningser ver/power/ schema. py provisioningser ver/power/ schema. py python3/ dist-packages/ provisioningser ver/power/ schema. py 2016-12-21 12:56:19.000000000 +0000 ver/power/ schema. py 2017-04-02 19:01:59.001823063 +0000 ------- ------- -----
Hunk #1 FAILED at 353.
Hunk #2 FAILED at 371.
2 out of 2 hunks FAILED -- saving rejects to file drivers/
patching file drivers/
can't find file to patch at input line 85
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
-------
|diff -Nrup /usr/lib/
|--- /usr/lib/
|+++ provisioningser
-------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
I supose that it's schema.py don't apeare...