[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 2/2] Removed commented code and copy only modules
From: "Moritz Grosch (LittleFox)" <littlefox@xxxxxxxx>
---
build/scripts/image_hd_grub2 | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/build/scripts/image_hd_grub2 b/build/scripts/image_hd_grub2
index 3295bca..3d33611 100755
--- a/build/scripts/image_hd_grub2
+++ b/build/scripts/image_hd_grub2
@@ -115,24 +115,7 @@ convert_menu_lst $MOUNT/boot/grub/grub.cfg
# Grub kopieren
if [ $NEW -ne 0 ]; then
-
-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
+cp $LOST_GRUB2_MODULESDIR/*.mod $MOUNT/boot/grub/
fi
# Partition unmounten und loopback-Device freigeben
--
1.7.10.4