diff options
Diffstat (limited to 'i486-stage2/syslinux/DESCR')
-rw-r--r-- | i486-stage2/syslinux/DESCR | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/i486-stage2/syslinux/DESCR b/i486-stage2/syslinux/DESCR new file mode 100644 index 0000000..d03b11d --- /dev/null +++ b/i486-stage2/syslinux/DESCR @@ -0,0 +1,18 @@ +# disable python +sed -i "/makedepends=/s/python2//" PKGBUILD +sed -i "s/make PYTHON=python2/make/" PKGBUILD + +# no documentation +sed -i "/makedepends=/s/asciidoc//" PKGBUILD + +# no upx compression +sed -i "/makedepends=/s/upx//" PKGBUILD + +# build BIOS version only for i486 +sed -i '/_targets/s/efi32//g' PKGBUILD +sed -i '3!N; /prepare()/ a \ sed -i "/all_firmware :=/s/efi32 efi64//g" Makefile' PKGBUILD + +# precompute the menues which are generated with python +sed -i 's@source=(@source=(syslinux-6.03-precomputed-python-menues.patch @' PKGBUILD +sed -i "s@sha1sums=(@sha1sums=('4f92057c1dca02f8b6d4a71170183f89c7d4bd8f' @" PKGBUILD +sed -i '/patch -p1/ a \ patch -Np1 -i "${srcdir}/syslinux-6.03-precomputed-python-menues.patch"' PKGBUILD |