vm: get rid of "2" from qvm-* names (#340)
This commit is contained in:
parent
2d97c3399e
commit
d9cd2467b0
@ -4,7 +4,7 @@ Type=Service
|
|||||||
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory,all/allfiles
|
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory,all/allfiles
|
||||||
|
|
||||||
[Desktop Action QvmCopy]
|
[Desktop Action QvmCopy]
|
||||||
Exec=/usr/lib/qubes/qvm-copy-to-vm2.kde %U
|
Exec=/usr/lib/qubes/qvm-copy-to-vm.kde %U
|
||||||
Icon=kget
|
Icon=kget
|
||||||
Name=Send To VM
|
Name=Send To VM
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ Type=Service
|
|||||||
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/allfiles
|
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/allfiles
|
||||||
|
|
||||||
[Desktop Action QvmDvm]
|
[Desktop Action QvmDvm]
|
||||||
Exec=/usr/bin/qvm-open-in-dvm2 %U
|
Exec=/usr/bin/qvm-open-in-dvm %U
|
||||||
Icon=kget
|
Icon=kget
|
||||||
Name=Open In DisposableVM
|
Name=Open In DisposableVM
|
||||||
|
|
||||||
|
@ -59,8 +59,8 @@ start()
|
|||||||
if ! [ -f /home/user/.gnome2/nautilus-scripts/.scripts_created ] ; then
|
if ! [ -f /home/user/.gnome2/nautilus-scripts/.scripts_created ] ; then
|
||||||
echo "Creating symlinks for nautilus actions..."
|
echo "Creating symlinks for nautilus actions..."
|
||||||
su user -c 'mkdir -p /home/user/.gnome2/nautilus-scripts'
|
su user -c 'mkdir -p /home/user/.gnome2/nautilus-scripts'
|
||||||
su user -c 'ln -s /usr/lib/qubes/qvm-copy-to-vm2.gnome /home/user/.gnome2/nautilus-scripts/"Copy to other AppVM"'
|
su user -c 'ln -s /usr/lib/qubes/qvm-copy-to-vm.gnome /home/user/.gnome2/nautilus-scripts/"Copy to other AppVM"'
|
||||||
su user -c 'ln -s /usr/bin/qvm-open-in-dvm2 /home/user/.gnome2/nautilus-scripts/"Open in DisposableVM"'
|
su user -c 'ln -s /usr/bin/qvm-open-in-dvm /home/user/.gnome2/nautilus-scripts/"Open in DisposableVM"'
|
||||||
su user -c 'touch /home/user/.gnome2/nautilus-scripts/.scripts_created'
|
su user -c 'touch /home/user/.gnome2/nautilus-scripts/.scripts_created'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -56,8 +56,10 @@ fi
|
|||||||
adduser --create-home user
|
adduser --create-home user
|
||||||
su user -c 'mkdir -p /home/user/.local/share'
|
su user -c 'mkdir -p /home/user/.local/share'
|
||||||
su user -c 'mkdir -p /home/user/.gnome2/nautilus-scripts'
|
su user -c 'mkdir -p /home/user/.gnome2/nautilus-scripts'
|
||||||
su user -c 'ln -s /usr/lib/qubes/qvm-copy-to-vm2.gnome /home/user/.gnome2/nautilus-scripts/"Copy to other AppVM"'
|
su user -c 'ln -s /usr/lib/qubes/qvm-copy-to-vm.gnome /home/user/.gnome2/nautilus-scripts/"Copy to other AppVM"'
|
||||||
su user -c 'ln -s /usr/bin/qvm-open-in-dvm2 /home/user/.gnome2/nautilus-scripts/"Open in DisposableVM"'
|
su user -c 'ln -s /usr/bin/qvm-open-in-dvm /home/user/.gnome2/nautilus-scripts/"Open in DisposableVM"'
|
||||||
|
su user -c 'touch /home/user/.gnome2/nautilus-scripts/.scripts_created'
|
||||||
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
||||||
|
|
||||||
@ -74,14 +76,14 @@ mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
|||||||
cp qubes_core_appvm $RPM_BUILD_ROOT/etc/init.d/
|
cp qubes_core_appvm $RPM_BUILD_ROOT/etc/init.d/
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||||
cp qubes_timestamp qvm-open-in-dvm2 $RPM_BUILD_ROOT/usr/bin
|
cp qubes_timestamp qvm-open-in-dvm $RPM_BUILD_ROOT/usr/bin
|
||||||
cp qvm-open-in-vm $RPM_BUILD_ROOT/usr/bin
|
cp qvm-open-in-vm $RPM_BUILD_ROOT/usr/bin
|
||||||
cp qvm-copy-to-vm $RPM_BUILD_ROOT/usr/bin
|
cp qvm-copy-to-vm $RPM_BUILD_ROOT/usr/bin
|
||||||
cp qvm-run $RPM_BUILD_ROOT/usr/bin
|
cp qvm-run $RPM_BUILD_ROOT/usr/bin
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
cp wrap_in_html_if_url.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
cp wrap_in_html_if_url.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
cp qvm-copy-to-vm2.kde $RPM_BUILD_ROOT/usr/lib/qubes
|
cp qvm-copy-to-vm.kde $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
cp qvm-copy-to-vm2.gnome $RPM_BUILD_ROOT/usr/lib/qubes
|
cp qvm-copy-to-vm.gnome $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
cp ../qrexec/qrexec_agent $RPM_BUILD_ROOT/usr/lib/qubes
|
cp ../qrexec/qrexec_agent $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
cp ../qrexec/qrexec_client_vm $RPM_BUILD_ROOT/usr/lib/qubes
|
cp ../qrexec/qrexec_client_vm $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
cp ../qrexec/qubes_rpc_multiplexer $RPM_BUILD_ROOT/usr/lib/qubes
|
cp ../qrexec/qubes_rpc_multiplexer $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
@ -143,9 +145,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/etc/init.d/qubes_core_appvm
|
/etc/init.d/qubes_core_appvm
|
||||||
/usr/bin/qvm-copy-to-vm
|
/usr/bin/qvm-copy-to-vm
|
||||||
/usr/lib/qubes/qvm-copy-to-vm2.kde
|
/usr/lib/qubes/qvm-copy-to-vm.kde
|
||||||
/usr/lib/qubes/qvm-copy-to-vm2.gnome
|
/usr/lib/qubes/qvm-copy-to-vm.gnome
|
||||||
/usr/bin/qvm-open-in-dvm2
|
/usr/bin/qvm-open-in-dvm
|
||||||
/usr/bin/qvm-open-in-vm
|
/usr/bin/qvm-open-in-vm
|
||||||
/usr/bin/qvm-run
|
/usr/bin/qvm-run
|
||||||
/usr/lib/qubes/meminfo-writer
|
/usr/lib/qubes/meminfo-writer
|
||||||
|
Loading…
Reference in New Issue
Block a user