#!/bin/sh # part of the gn*nix conspiracy http://gnnix.org # Copyright (C) Linus Sphinx 2004 # func to make the distro system gnxgrub() { gnxunwrap $GRUB cd /usr/src/$GRUB gnxpatch grub-0.94-graphics aclocal autoheader autoconf automake gnxfilelist start $GRUB gnxconfigure --prefix=${PREFIX} --disable-fat --disable-ffs --disable-vstafs gnxmake -C stage2 STAGE2_CFLAGS=-O2 \ pre_stage2_exec-builtins.o pre_stage2_exec-serial.o gnxmake gnxmake install mv /usr/share/grub/i386-pc/stage{1,2} /boot/grub mv /usr/share/grub/i386-pc/e2fs_stage1_5 /boot/grub mv /usr/share/grub/i386-pc/jfs_stage1_5 /boot/grub mv /usr/share/grub/i386-pc/xfs_stage1_5 /boot/grub gnxfilelist finish $GRUB } #eof