Skip to content

Commit

Permalink
package/paxtest: update the patches to be applied with fuzz 0
Browse files Browse the repository at this point in the history
Commit 8f88a64 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, paxtest fails to build with output:

    Applying 0001-genpaxtest-move-log-location.patch using patch:
    patching file genpaxtest
    Hunk #1 FAILED at 35.
    1 out of 1 hunk FAILED -- saving rejects to file genpaxtest.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
passgat authored and tpetazzoni committed Jul 9, 2024
1 parent 99ec566 commit a7e270b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package/paxtest/0001-genpaxtest-move-log-location.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Move log location to /var/log instead of local directory.
(For read-only filesystems)

Signed-off-by: David Graziano <[email protected]>
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <[email protected]>
---
genpaxtest | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Expand All @@ -16,15 +18,14 @@ index 5a22e15..d62b15e 100644
--- a/genpaxtest
+++ b/genpaxtest
@@ -35,7 +35,7 @@
exit 1
exit 1
fi

-LOG=\$HOME/paxtest.log
+LOG=/var/log/paxtest.log
[ -n "\$1" ] && LOG=\$1
touch "\$LOG"
if [ ! -e "\$LOG" ]; then

--
1.9.1

0 comments on commit a7e270b

Please sign in to comment.