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
192192 mkdir -p $GRUB_DIR/fonts
193193 cp -f $GRUB_DATADIR/unicode.pf2 $GRUB_DIR/fonts
194194
195+ modprobe -q loop
196+
195197 # Create EFI vfat image.
196198 dd if=/dev/zero of=$GRUB_DIR/efiboot.img bs=1024 count=4096 >>$LOGFILE 2>&1
197199 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
213215
214216 generate_squashfs() {
215217 # Find out required size for the rootfs and create an ext3fs image off it.
216− modprobe -q loop
217218 ROOTFS_SIZE=$(du -sk "$ROOTFS"|awk '{print $1}')
218219 mkdir -p "$BUILDDIR/tmp/LiveOS"
219220 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