diff options
Diffstat (limited to 'extra/grub')
-rw-r--r-- | extra/grub/.footprint | 37 | ||||
-rw-r--r-- | extra/grub/.md5sum | 13 | ||||
-rwxr-xr-x | extra/grub/Pkgfile | 53 |
3 files changed, 103 insertions, 0 deletions
diff --git a/extra/grub/.footprint b/extra/grub/.footprint new file mode 100644 index 000000000..25bcfdf85 --- /dev/null +++ b/extra/grub/.footprint @@ -0,0 +1,37 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mbchk +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/grub/ +drwxr-xr-x root/root usr/lib/grub/i386-pc/ +-rw-r--r-- root/root usr/lib/grub/i386-pc/e2fs_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/fat_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/ffs_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/iso9660_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/jfs_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/minix_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/reiserfs_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/stage1 +-rw-r--r-- root/root usr/lib/grub/i386-pc/stage2 +-rw-r--r-- root/root usr/lib/grub/i386-pc/stage2_eltorito +-rw-r--r-- root/root usr/lib/grub/i386-pc/ufs2_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/vstafs_stage1_5 +-rw-r--r-- root/root usr/lib/grub/i386-pc/xfs_stage1_5 +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/grub +-rwxr-xr-x root/root usr/sbin/grub-install +-rwxr-xr-x root/root usr/sbin/grub-md5-crypt +-rwxr-xr-x root/root usr/sbin/grub-set-default +-rwxr-xr-x root/root usr/sbin/grub-terminfo +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/info/ +-rw-r--r-- root/root usr/share/info/grub.info.gz +-rw-r--r-- root/root usr/share/info/multiboot.info.gz +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/mbchk.1.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/grub-install.8.gz +-rw-r--r-- root/root usr/share/man/man8/grub-md5-crypt.8.gz +-rw-r--r-- root/root usr/share/man/man8/grub-terminfo.8.gz +-rw-r--r-- root/root usr/share/man/man8/grub.8.gz diff --git a/extra/grub/.md5sum b/extra/grub/.md5sum new file mode 100644 index 000000000..6b38ad049 --- /dev/null +++ b/extra/grub/.md5sum @@ -0,0 +1,13 @@ +f44bc6572e7af2e488e46d9b174caa4d bad-assert-sideeffect +6ebd162bfe44a8bd5b404ae85a3175e6 chainloader-devicefix +39e0f9a05b7e04aceb24fc7bc4893e3d ext4.patch +2482bef9c1866b4045767a56268ba673 grub-0.97-256byte_inode-1.patch +40ddcc8caaef7e86b9dcb5c3799e0808 grub-0.97-devicemap.diff +bf1594e82940e25d089feca74c6f1879 grub-0.97-disk_geometry-1.patch +a9e2f5a2e49fec19b638c5acdf651ec7 grub-0.97-path-patch +cd3f3eb54446be6003156158d51f4884 grub-0.97.tar.gz +bc609feede67ffcf3f4f9d00fa2995df grub-R +6547de447a98c12ff245f175f23a01a7 grub-a20.patch +e48ca6cdec7811a6d4566c0c1b0d7883 grub-gfxmenu-v8.diff +37558faaba7e32929f767ef64f4248ac reiser-unpack +b8b550b08b9e9eafd7031a1849fb7d02 use_ferror.diff diff --git a/extra/grub/Pkgfile b/extra/grub/Pkgfile new file mode 100755 index 000000000..81206c66d --- /dev/null +++ b/extra/grub/Pkgfile @@ -0,0 +1,53 @@ +# Description: GRand Unified Bootloader, le programme de chargement du noyau en mémoire vive +# URL: http://www.gnu.org/software/grub/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=grub +version=0.97 +release=5 +source=(ftp://alpha.gnu.org/gnu/$name/$name-$version.tar.gz\ + http://www.linuxfromscratch.org/patches/lfs/development/grub-0.97-disk_geometry-1.patch \ + http://www.linuxfromscratch.org/patches/lfs/development/grub-0.97-256byte_inode-1.patch \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/use_ferror.diff \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/$name-$version-path-patch + http://kiao.no-ip.info/NuTyX/files/patchs/grub/grub-R \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/bad-assert-sideeffect \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/chainloader-devicefix \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/$name-$version-devicemap.diff \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/reiser-unpack \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/grub-gfxmenu-v8.diff \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/grub-a20.patch \ + http://kiao.no-ip.info/NuTyX/files/patchs/grub/ext4.patch ) +build() { + cd $name-$version + patch -Np1 -i ../$name-$version-path-patch + patch -Np0 -i ../use_ferror.diff + patch -Np1 -i ../grub-R + patch -Np1 -i ../bad-assert-sideeffect + patch -Np0 -i ../grub-gfxmenu-v8.diff + patch -Np1 -i ../reiser-unpack + patch -Np1 -i ../grub-a20.patch + patch -Np1 -i ../$name-$version-disk_geometry-1.patch + patch -Np1 -i ../$name-$version-256byte_inode-1.patch + + patch -Np1 -i ../ext4.patch + unset CXXFLAGS + unset CFLAGS + if [ "`uname -m`" == "x86_64" ]; then + echo "Ce paquet doit être builder dans i686" + echo 'Ajouter CFLAGS="-static" avant ./configure' + echo 'CFLAGS="-static" ./configure --prefix=/usr' + exit 1 + fi + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install + install -d $PKG/usr/share + if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir + fi +} |