{template,netvm}.spec: use own vm_kernels_{appvm, netvm} directory
This commit is contained in:
parent
44e55a5558
commit
ae750a4faa
@ -5,6 +5,8 @@
|
||||
|
||||
%{!?version: %define version %(cat version_netvm)}
|
||||
|
||||
%define _binaries_in_noarch_packages_terminate_build 0
|
||||
|
||||
Name: qubes-servicevm-%{netvm_name}
|
||||
Version: %{version}
|
||||
Release: 1
|
||||
@ -40,8 +42,8 @@ sed -e s/%NETVMNAME%/%{netvm_name}/ < vm_conf_files/netvm.conf >\
|
||||
$RPM_BUILD_ROOT/%{dest_dir}/%{netvm_name}.conf
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{dest_dir}/kernels
|
||||
cp vm_kernels/vmlinuz $RPM_BUILD_ROOT/%{dest_dir}/kernels/vmlinuz
|
||||
cp vm_kernels/initramfs $RPM_BUILD_ROOT/%{dest_dir}/kernels/initramfs
|
||||
cp vm_kernels_netvm/vmlinuz $RPM_BUILD_ROOT/%{dest_dir}/kernels/vmlinuz
|
||||
cp vm_kernels_netvm/initramfs $RPM_BUILD_ROOT/%{dest_dir}/kernels/initramfs
|
||||
|
||||
cp vm_initramfs_patches/qubes_cow_setup.sh $RPM_BUILD_ROOT/%{dest_dir}/kernels/qubes_cow_setup.sh
|
||||
|
||||
|
@ -44,8 +44,8 @@ sed -e s/%TEMPLATENAME%/%{template_name}/ < vm_conf_files/templatevm.conf >\
|
||||
$RPM_BUILD_ROOT/%{dest_dir}/%{template_name}.conf
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{dest_dir}/kernels
|
||||
cp vm_kernels/vmlinuz $RPM_BUILD_ROOT/%{dest_dir}/kernels/vmlinuz
|
||||
cp vm_kernels/initramfs $RPM_BUILD_ROOT/%{dest_dir}/kernels/initramfs
|
||||
cp vm_kernels_appvm/vmlinuz $RPM_BUILD_ROOT/%{dest_dir}/kernels/vmlinuz
|
||||
cp vm_kernels_appvm/initramfs $RPM_BUILD_ROOT/%{dest_dir}/kernels/initramfs
|
||||
|
||||
cp vm_initramfs_patches/qubes_cow_setup.sh $RPM_BUILD_ROOT/%{dest_dir}/kernels/qubes_cow_setup.sh
|
||||
|
||||
|
1
vm_kernels_appvm
Symbolic link
1
vm_kernels_appvm
Symbolic link
@ -0,0 +1 @@
|
||||
vm_kernels_appvm_x64/
|
1
vm_kernels_netvm
Symbolic link
1
vm_kernels_netvm
Symbolic link
@ -0,0 +1 @@
|
||||
vm_kernels_netvm_x64/
|
Loading…
Reference in New Issue
Block a user