makedist-recordvm: added .xinitrc and .xvidcaprc in recordvm home (/var/makedist/recordvm)

This commit is contained in:
Silvan Calarco 2012-11-29 12:37:37 +01:00
parent 3f64d62ed3
commit 1b6cd6f39a
2 changed files with 18 additions and 0 deletions

View File

@ -17,6 +17,9 @@ datadir := $(prefix)/share
sysconfdir := /etc sysconfdir := /etc
sbindir := $(prefix)/sbin sbindir := $(prefix)/sbin
localedir := $(datadir)/locale/ localedir := $(datadir)/locale/
localstatedir := /var
makediststatedir := $(localstatedir)/makedist
recordvmstatedir := $(makediststatedir)/recordvm
INSTALL = /usr/bin/install INSTALL = /usr/bin/install
INSTALL_PROGRAM = ${INSTALL} -m 755 INSTALL_PROGRAM = ${INSTALL} -m 755
@ -73,6 +76,9 @@ install: install-locales
cp -a config/makedist $(DESTDIR)$(sysconfdir)/sysconfig/makedist;\ cp -a config/makedist $(DESTDIR)$(sysconfdir)/sysconfig/makedist;\
install -d $(DESTDIR)$(sysconfdir)/cron.daily;\ install -d $(DESTDIR)$(sysconfdir)/cron.daily;\
cp -a config/20-makedist-autobuild $(DESTDIR)$(sysconfdir)/cron.daily/20-makedist-autobuild;\ cp -a config/20-makedist-autobuild $(DESTDIR)$(sysconfdir)/cron.daily/20-makedist-autobuild;\
install -d $(DESTDIR)$($recordvmstatedir);\
cp -a var/recordvm-xinitrc $(DESTDIR)$(recordvmstatedir)/.xinitrc;\
cp -a var/recordvm-xvidcaprc $(DESTDIR)$(recordvmstatedir)/.xvidcaprc;\
install -d $(DESTDIR)$(sbindir);\ install -d $(DESTDIR)$(sbindir);\
cp -a bin/makedist-recordvm $(DESTDIR)$(sbindir)/makedist-recordvm cp -a bin/makedist-recordvm $(DESTDIR)$(sbindir)/makedist-recordvm
cp -a bin/makedist-newrelease $(DESTDIR)$(sbindir)/makedist-newrelease cp -a bin/makedist-newrelease $(DESTDIR)$(sbindir)/makedist-newrelease

12
var/recordvm-xinitrc Normal file
View File

@ -0,0 +1,12 @@
echo "Calling qemu-system-x86_64"
qemu-system-x86_64 \
-enable-kvm \
-rtc base=localtime \
-usb -m 1024 \
-soundhw hda \
-vga vmware \
-cdrom ~/recordvm.iso \
-name qemu-recordvm,process=qemu-recordvm
# -bt hci,host \
#echo "Calling: VBOX_USER_HOME=/var/makedist/recordvm/VirtualBox /opt/VirtualBox/VBoxSDL --startvm openmamba-recordvm --fixedmode 1024 768 32 --nograbonclick --nohostkey --vram 7"
#VBOX_USER_HOME=/var/makedist/recordvm/VirtualBox /opt/VirtualBox/VBoxSDL --startvm openmamba-recordvm --fixedmode 1024 768 32 --nograbonclick --nohostkey --vram 7