Skip to content

Instantly share code, notes, and snippets.

View paboldin's full-sized avatar

Pavel Boldin paboldin

  • CloudLinux
  • Ukraine
View GitHub Profile
@paboldin
paboldin / qemu-s390x-debian-rules.patch
Last active May 14, 2020 13:17
qemu-system-s390x emulator on Ubuntu how-to
--- qemu-2.5+dfsg/debian/rules 2016-04-19 18:48:46.000000000 +0300
+++ qemu-2.5+dfsg.new/debian/rules 2017-07-25 23:38:18.882758751 +0300
@@ -132,9 +132,13 @@ ifeq ($(enable_linux_user),enable)
$(MAKE) -C user-static-build V=${V} $(foreach t,${user_targets},subdir-${t}-linux-user)
endif
-ifneq ($(filter $(DEB_HOST_ARCH),s390 s390x),)
- $(MAKE) -C qemu-build/pc-bios/s390-ccw V=${V}
-endif
+#ifneq ($(filter $(DEB_HOST_ARCH),s390 s390x),)
@paboldin
paboldin / git-commit-indent.pre-commit
Created October 13, 2016 07:10
[DRAFT] Indent-checking `git commit` hook
#!/bin/sh
# git config hooks.indent "indent -linux -li0"
# NOTE: this code is horrible, you have been warned
indent_cmd="$(git config hooks.indent)"
if test -z "$indent_cmd"; then
exit 0
fi
set -e