Commit 9964cd54 authored by Daniele Cocca's avatar Daniele Cocca

Adding a 'dirty' hack to burg-bzr. This should make so that burg-mkconfig...

Adding a 'dirty' hack to burg-bzr. This should make so that burg-mkconfig doesn't add any floppy disk in the - this should protect us from the installation hang on machines where there is no floppy drive, but BIOS support is turned on. Moreover, it will not remove floppy support from BURG itself, enabling users to re-add (fd0) to the if needed.
parent fc68335e
......@@ -6,7 +6,7 @@
pkgdesc="A brand-new boot loader based on GRUB."
......@@ -51,6 +51,8 @@ build() {
# some random patches to facilitate automatic creation of grub.cfg
patch -Np1 -i ${srcdir}/arch-burg-detection-folding.patch
cd "${srcdir}/${_bzrmod}"
# disable floppy probing in grub-mkdevicemap
sed -i 's|int floppy_disks = 1;|int floppy_disks = 0;|' ${srcdir}/${_bzrmod}/util/grub-mkdevicemap.c
## Archlinux changed default /usr/bin/python to 3.1.2, need to use /usr/bin/python2 instead
sed -i 's|python|python2|' ${srcdir}/${_bzrmod}/
./ || return 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment