mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Disabling PIE during ixgbevf compilation for AWS +
enhanced network instances Stretch upwards. * For GCC >=6 in Debian PIE (Position Independent Executable) has being activated it is causing enhanced network driver for AWS images to fail at compilation time due to incompatibility with PIE options for the kernel * To learn what PIE is read docs at https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options
This commit is contained in:
parent
d99f345fa9
commit
0d95674c36
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class InstallEnhancedNetworking(Task):
|
|||
with open(os.path.join(module_path, 'dkms.conf'), 'w') as dkms_conf:
|
||||
dkms_conf.write("""PACKAGE_NAME="ixgbevf"
|
||||
PACKAGE_VERSION="%s"
|
||||
CLEAN="cd src/; make clean"
|
||||
CLEAN="cd src/; sed -i '1s/^/EXTRA_CFLAGS := -fno-pie/' Makefile && make clean"
|
||||
MAKE="cd src/; make BUILD_KERNEL=${kernelver}"
|
||||
BUILT_MODULE_LOCATION[0]="src/"
|
||||
BUILT_MODULE_NAME[0]="ixgbevf"
|
||||
|
|
Loading…
Add table
Reference in a new issue