Package Details: openbsd-rescueboot 5.6-1

Git Clone URL: (read-only, click to copy)
Package Base: openbsd-rescueboot
Description: Script to add OpenBSD iso images to the grub2 boot menu
Upstream URL:
Keywords: openbsd
Licenses: GPL
Submitter: thiagowfx
Maintainer: None
Last Packager: thiagowfx
Votes: 0
Popularity: 0.000000
First Submitted: 2015-04-21 19:27
Last Updated: 2015-06-14 05:39

Latest Comments

thiagowfx commented on 2018-07-26 00:10

Would you mind updating it yourself? I can add you as a co-maintainer.

Ptero-4 commented on 2018-07-25 19:51

Can be used with 6.3. This is the updated PKGBUILD

Maintainer: Thiago Perrotta <perrotta at="" br="" dot="" poli="" thiago="" ufrj=""></perrotta>
Originally based on the grml-rescueboot PKGBUILD


this should be the wanted OpenBSD version

pkgver=6.3 pkgrel=1 pkgdesc="Script to add OpenBSD iso images to the grub2 boot menu" url="" arch=('any') license=('GPL') depends=('grub') source=("${pkgver}/amd64/cd${pkgver/./}.iso" "openbsd-rescueboot" "42_openbsd") md5sums=('9feef43fbb2dbdfa0aa01131e024dc79' 'e2e7fc488506dff30b82ecc75a8f78ee' '9d63b37935946bf4074b83cfaf83c41c') sha256sums=('7b3feffcc9ade0dcaba3c5996c1eb797928cd76cecfa4c54bf8297b191bd461f' '318ade6bf826c05142815dc2a22be75d2d37404aaaa465d91dbf11d2d36ae53b' 'fa57e40f9a1cacc915004b3dc3bb000294934f17a4396a2837ad2d971674a5ec') noextract=("cd${pkgver/./}.iso")

prepare() { cd "${srcdir}/"

# adjust path of grub-mkconfig_lib
sed -i 's/${libdir}\/grub/${prefix}\/share\/grub/g' 42_openbsd

# adjust version
sed -i "s/<version_string>/${pkgver}/g" 42_openbsd


package() { cd "${srcdir}/"

install -Dm755 42_openbsd ${pkgdir}/etc/grub.d/42_openbsd
install -Dm644 ${pkgname} ${pkgdir}/etc/default/${pkgname}

install -Dm644 "cd${pkgver/./}.iso" "${pkgdir}/boot/openbsd/cd${pkgver/./}.iso"