#!/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 gnxpatch grub-0.93-gcc33-1 cd /usr/src/$GRUB patch -p0 < /parts/patches/grub-0.93+cvs20030224-2.diff gnxfilelist start $GRUB gnxconfigure --prefix=${PREFIX} --disable-fat --disable-ffs --disable-vstafs gnxmake CFLAGS=-O2 gnxmake check 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