[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 1/2] Copy all the Grub2 Modules!
From: "Moritz Grosch (LittleFox)" <littlefox@xxxxxxxx>
The old module-list seems to be outdated and didn't work.
Harddisks aren't expensive anymore, so copy everything.
---
build/scripts/image_hd_grub2 | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
diff --git a/build/scripts/image_hd_grub2 b/build/scripts/image_hd_grub2
index cddc78b..3295bca 100755
--- a/build/scripts/image_hd_grub2
+++ b/build/scripts/image_hd_grub2
@@ -111,23 +111,28 @@ fi
convert_menu_lst $MOUNT/boot/grub/grub.cfg
+
+
# Grub kopieren
if [ $NEW -ne 0 ]; then
- xargs -isrc cp src $MOUNT/boot/grub <<-EOF
- $LOST_GRUB2_MODULESDIR/boot.mod
- $LOST_GRUB2_MODULESDIR/cat.mod
- $LOST_GRUB2_MODULESDIR/configfile.mod
- $LOST_GRUB2_MODULESDIR/crypto.mod
- $LOST_GRUB2_MODULESDIR/extcmd.mod
- $LOST_GRUB2_MODULESDIR/gzio.mod
- $LOST_GRUB2_MODULESDIR/ls.mod
- $LOST_GRUB2_MODULESDIR/mmap.mod
- $LOST_GRUB2_MODULESDIR/multiboot.mod
- $LOST_GRUB2_MODULESDIR/normal.mod
- $LOST_GRUB2_MODULESDIR/relocator.mod
- $LOST_GRUB2_MODULESDIR/terminal.mod
- $LOST_GRUB2_MODULESDIR/video.mod
-EOF
+
+cp $LOST_GRUB2_MODULESDIR/* $MOUNT/boot/grub/
+
+# xargs -isrc cp src $MOUNT/boot/grub <<-EOF
+# $LOST_GRUB2_MODULESDIR/boot.mod
+# $LOST_GRUB2_MODULESDIR/cat.mod
+# $LOST_GRUB2_MODULESDIR/configfile.mod
+# $LOST_GRUB2_MODULESDIR/crypto.mod
+# $LOST_GRUB2_MODULESDIR/extcmd.mod
+# $LOST_GRUB2_MODULESDIR/gzio.mod
+# $LOST_GRUB2_MODULESDIR/ls.mod
+# $LOST_GRUB2_MODULESDIR/mmap.mod
+# $LOST_GRUB2_MODULESDIR/multiboot.mod
+# $LOST_GRUB2_MODULESDIR/normal.mod
+# $LOST_GRUB2_MODULESDIR/relocator.mod
+# $LOST_GRUB2_MODULESDIR/terminal.mod
+# $LOST_GRUB2_MODULESDIR/video.mod
+#EOF
fi
# Partition unmounten und loopback-Device freigeben
--
1.7.10.4