Assume your deployment is under /netbox:
Add to configuration/configuration.py
BASE_PATH = environ.get('BASE_PATH', '')Add to env/netbox.env
Assume your deployment is under /netbox:
Add to configuration/configuration.py
BASE_PATH = environ.get('BASE_PATH', '')Add to env/netbox.env
| export CCACHE_DIR="/var/cache/pbuilder/ccache" | |
| export PATH="/usr/lib/ccache:${PATH}" | |
| EXTRAPACKAGES="ccache" | |
| BINDMOUNTS="${CCACHE_DIR}" |
THIS PATCH IS NOT TESTED AND COMES WITH ABSOLUTE NO WARRANTY. USE AT YOUR OWN RISK!
You can use it to install OOT i915 module on Linux 6.6 (e.g. TrueNAS SCALE 24.04).
Most modifications are very dirty fixes to make it compiile.
The following change, especially, is to fix the interaction between KMD and UMD (Intel Media Driver). Otherwise the initialization procedure in userland library iHD_drv_video.so would encounter an error on an ioctl call here.
DISCLAIMER: This change might lead to problems such as GPU hangup, memory leak in kernel or at worst, kernel panic. I owe no responsibility in case of any incidents.
| #!/usr/bin/env python3 | |
| import sys | |
| import click | |
| import pathlib | |
| import shutil | |
| @click.command() | |
| @click.option('-d', '--delim', default=' - ', help='Delimiter used in the LFS object list') | |
| @click.option('-l', '--level', default=2, type=click.IntRange(0, 31), help='Number of levels in the LFS object tree') |
| --- build-common.sh 2021-10-18 11:12:29.000000000 +0800 | |
| +++ ../gcc-arm-none-eabi-10.3-2021.10/build-common.sh 2021-12-29 21:25:38.581385064 +0800 | |
| @@ -240,9 +240,9 @@ | |
| BUILDDIR_NATIVE=$ROOT/build-native | |
| BUILDDIR_MINGW=$ROOT/build-mingw | |
| INSTALLDIR_NATIVE=$ROOT/install-native | |
| -INSTALLDIR_NATIVE_DOC=$ROOT/install-native/share/doc/gcc-arm-none-eabi | |
| +INSTALLDIR_NATIVE_DOC=$ROOT/install-native/share/doc/gcc-armeb-none-eabi | |
| INSTALLDIR_MINGW=$ROOT/install-mingw | |
| -INSTALLDIR_MINGW_DOC=$ROOT/install-mingw/share/doc/gcc-arm-none-eabi |
| update_compile_order -fileset sources_1 | |
| reset_run impl_1 | |
| reset_run synth_1 | |
| launch_runs -jobs 2 impl_1 -to_step write_bitstream | |
| wait_on_run impl_1 | |
| exit |
| \documentclass[zihao=-4,oneside,UTF8]{ctexbook} | |
| \usepackage{titlesec,fancyhdr,xltxtra,hyperxmp} | |
| \usepackage[xetex,a4paper,centering,scale=0.8]{geometry} | |
| \input{config.tex} | |
| \xeCJKsetup{CheckSingle} | |
| \pagestyle{fancy} | |
| \setmainfont{\bookmainfont} |
I hereby claim:
To claim this, I am signing this object:
| This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
| Token for proof: | |
| [Verifying my OpenPGP key: openpgp4fpr:f8583efaa9a91f3aa34b3c92ce11a7b07b3ab946] |