1
0

Compare commits

..

No commits in common. "7cc969938ecce080cbbd4426412e8173b7652c3e" and "7b8f19446631eb091fad5a8ed40a67ecd83e9320" have entirely different histories.

2 changed files with 25 additions and 0 deletions

24
dist/archlinux/PKGBUILD vendored Normal file
View File

@ -0,0 +1,24 @@
# Maintainer: MatMoul <matmoul@gmail.com>
pkgname=bootdisk
pkgver=0.1
pkgrel=1
pkgdesc="Simple command to boot device with QEMU/KVM"
arch=('any')
url="https://github.com/MatMoul/bootdisk"
license=('GPL3')
depends=('qemu' 'edk2-ovmf' 'swtpm')
provides=("bootdisk=${pkgver}")
source=("git://github.com/MatMoul/${pkgname}.git")
#source=("git://github.com/MatMoul/${pkgname}.git#branch=")
md5sums=('SKIP')
build() {
cd ${pkgname}
}
package() {
cd ${pkgname}
install -Dm755 "src/bootdisk" "${pkgdir}/usr/bin/bootdisk"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@ -34,6 +34,7 @@ initsecureboot(){
}
initbootargs(){
bootargs="-boot menu=on,strict=on,reboot-timeout=1000 "
bootargs+="-no-hpet "
bootargs+="-rtc base=${qemurtcbase} "
bootargs+="-cpu host "
bootargs+="-smp cores=${qemucpucores} "