diff --git a/config-pvops b/config-pvops index 566f0a8..eb570d4 100644 --- a/config-pvops +++ b/config-pvops @@ -2292,23 +2292,22 @@ CONFIG_HOSTAP_PCI=m CONFIG_HOSTAP_CS=m CONFIG_IPW2100=m CONFIG_IPW2100_MONITOR=y -CONFIG_IPW2100_DEBUG=y +# CONFIG_IPW2100_DEBUG is not set CONFIG_IPW2200=m CONFIG_IPW2200_MONITOR=y CONFIG_IPW2200_RADIOTAP=y CONFIG_IPW2200_PROMISCUOUS=y CONFIG_IPW2200_QOS=y -CONFIG_IPW2200_DEBUG=y +# CONFIG_IPW2200_DEBUG is not set CONFIG_LIBIPW=m -CONFIG_LIBIPW_DEBUG=y +# CONFIG_LIBIPW_DEBUG is not set CONFIG_IWLWIFI=m # # Debugging Options # -CONFIG_IWLWIFI_DEBUG=y +# CONFIG_IWLWIFI_DEBUG is not set CONFIG_IWLWIFI_DEBUGFS=y -# CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE is not set # CONFIG_IWLWIFI_DEVICE_TRACING is not set CONFIG_IWLWIFI_DEVICE_SVTOOL=y CONFIG_IWLWIFI_LEGACY=m diff --git a/kernel.spec b/kernel.spec index 4e4c806..425e3b2 100644 --- a/kernel.spec +++ b/kernel.spec @@ -19,7 +19,7 @@ %define build_src_dir %my_builddir/linux-%version %define src_install_dir /usr/src/kernels/%kernelrelease %define kernel_build_dir %my_builddir/linux-obj -%define vm_install_dir /var/lib/qubes/vm-kernels/%version +%define vm_install_dir /var/lib/qubes/vm-kernels/%version-%rel %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes}) @@ -225,7 +225,9 @@ rm -f %buildroot/lib/modules/%kernelrelease/build/scripts/*/*.o cp -a scripts/* %buildroot/lib/modules/%kernelrelease/build/scripts/ cp -a include/* %buildroot/lib/modules/%kernelrelease/build/include -cp -a --parents arch/x86/include/generated %buildroot/lib/modules/%kernelrelease/build/ +if [ "%{build_flavor}" != "xenlinux" ]; then + cp -a --parents arch/x86/include/generated %buildroot/lib/modules/%kernelrelease/build/ +fi # Make sure the Makefile and version.h have a matching timestamp so that # external modules can be built diff --git a/vm-initramfs/pre-pivot/50_mount_modules.sh b/vm-initramfs/lib/dracut/hooks/pre-pivot/50_mount_modules.sh similarity index 100% rename from vm-initramfs/pre-pivot/50_mount_modules.sh rename to vm-initramfs/lib/dracut/hooks/pre-pivot/50_mount_modules.sh diff --git a/vm-initramfs/pre-udev/90_qubes_cow_setup.sh b/vm-initramfs/lib/dracut/hooks/pre-udev/90_qubes_cow_setup.sh similarity index 98% rename from vm-initramfs/pre-udev/90_qubes_cow_setup.sh rename to vm-initramfs/lib/dracut/hooks/pre-udev/90_qubes_cow_setup.sh index 117d257..fa1616f 100755 --- a/vm-initramfs/pre-udev/90_qubes_cow_setup.sh +++ b/vm-initramfs/lib/dracut/hooks/pre-udev/90_qubes_cow_setup.sh @@ -20,7 +20,7 @@ if [ `blockdev --getro /dev/xvda` = 1 ] ; then while ! [ -e /dev/xvdc ]; do sleep 0.1; done while ! [ -e /dev/xvdc2 ]; do sleep 0.1; done - echo "0 `blockdev --getsz /dev/xvda` snapshot /dev/xvda /dev/xvdc2 P 16" | \ + echo "0 `blockdev --getsz /dev/xvda` snapshot /dev/xvda /dev/xvdc2 N 16" | \ dmsetup create dmroot || { echo "Qubes: FATAL: cannot create dmroot!"; } echo Qubes: done. else diff --git a/vm-initramfs/pre-pivot b/vm-initramfs/pre-pivot new file mode 120000 index 0000000..8460cde --- /dev/null +++ b/vm-initramfs/pre-pivot @@ -0,0 +1 @@ +lib/dracut/hooks/pre-pivot \ No newline at end of file diff --git a/vm-initramfs/pre-udev b/vm-initramfs/pre-udev new file mode 120000 index 0000000..f8c9b04 --- /dev/null +++ b/vm-initramfs/pre-udev @@ -0,0 +1 @@ +lib/dracut/hooks/pre-udev \ No newline at end of file