Skip to content

Commit

Permalink
Merge pull request #1403 from blitz/nixos-fixes
Browse files Browse the repository at this point in the history
NixOS Fixes
  • Loading branch information
joe-lawrence authored Aug 21, 2024
2 parents ec726af + 828b557 commit 269a061
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kpatch-build/kpatch-build
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,10 @@ verify_patch_files
apply_patches
remove_patches

# cp preserves mode and the files might have been read-only. This would
# interfere with cleanup later, so ensure the $TEMPDIR is read/write.
cp -LR "$DATADIR/patch" "$TEMPDIR" || die
chmod -R u+rw "$TEMPDIR" || die

if [[ "$ARCH" = "ppc64le" ]]; then
ARCH_KCFLAGS="-mcmodel=large -fplugin=$PLUGINDIR/ppc64le-plugin.so"
Expand Down

0 comments on commit 269a061

Please sign in to comment.