History

mklive: load loop kmod in the grub stage instead.

Juan RP committed 12 years ago

Commit 340c8101 parent 3b660f91 file · +2 −1Browse files

Unified · Split

mklive.sh.in+2−1
@@ -192,6 +192,8 @@ generate_grub_efi_boot() { · 191 unmodified lines
192 mkdir -p $GRUB_DIR/fonts192 mkdir -p $GRUB_DIR/fonts
193 cp -f $GRUB_DATADIR/unicode.pf2 $GRUB_DIR/fonts193 cp -f $GRUB_DATADIR/unicode.pf2 $GRUB_DIR/fonts
194 194
195 modprobe -q loop
196
195 # Create EFI vfat image.197 # Create EFI vfat image.
196 dd if=/dev/zero of=$GRUB_DIR/efiboot.img bs=1024 count=4096 >>$LOGFILE 2>&1198 dd if=/dev/zero of=$GRUB_DIR/efiboot.img bs=1024 count=4096 >>$LOGFILE 2>&1
197 mkfs.vfat -F12 -S 512 -n "grub_uefi" "$GRUB_DIR/efiboot.img" >>$LOGFILE 2>&1199 mkfs.vfat -F12 -S 512 -n "grub_uefi" "$GRUB_DIR/efiboot.img" >>$LOGFILE 2>&1
@@ -213,7 +215,6 @@ generate_grub_efi_boot() { · 15 unmodified lines
213 215
214generate_squashfs() {216generate_squashfs() {
215 # Find out required size for the rootfs and create an ext3fs image off it.217 # Find out required size for the rootfs and create an ext3fs image off it.
216 modprobe -q loop
217 ROOTFS_SIZE=$(du -sk "$ROOTFS"|awk '{print $1}')218 ROOTFS_SIZE=$(du -sk "$ROOTFS"|awk '{print $1}')
218 mkdir -p "$BUILDDIR/tmp/LiveOS"219 mkdir -p "$BUILDDIR/tmp/LiveOS"
219 dd if=/dev/zero of="$BUILDDIR/tmp/LiveOS/ext3fs.img" \220 dd if=/dev/zero of="$BUILDDIR/tmp/LiveOS/ext3fs.img" \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t