Compare commits
No commits in common. "7cc969938ecce080cbbd4426412e8173b7652c3e" and "7b8f19446631eb091fad5a8ed40a67ecd83e9320" have entirely different histories.
7cc969938e
...
7b8f194466
24
dist/archlinux/PKGBUILD
vendored
Normal file
24
dist/archlinux/PKGBUILD
vendored
Normal 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"
|
||||||
|
}
|
@ -34,6 +34,7 @@ initsecureboot(){
|
|||||||
}
|
}
|
||||||
initbootargs(){
|
initbootargs(){
|
||||||
bootargs="-boot menu=on,strict=on,reboot-timeout=1000 "
|
bootargs="-boot menu=on,strict=on,reboot-timeout=1000 "
|
||||||
|
bootargs+="-no-hpet "
|
||||||
bootargs+="-rtc base=${qemurtcbase} "
|
bootargs+="-rtc base=${qemurtcbase} "
|
||||||
bootargs+="-cpu host "
|
bootargs+="-cpu host "
|
||||||
bootargs+="-smp cores=${qemucpucores} "
|
bootargs+="-smp cores=${qemucpucores} "
|
||||||
|
Loading…
Reference in New Issue
Block a user