forked from images/live-iso-gnome
Update build.sh
This commit is contained in:
parent
cf16e258cb
commit
9cbb1debe0
7
build.sh
7
build.sh
@ -60,10 +60,9 @@ mksquashfs \
|
|||||||
# Generate bootable EFI Image from refind
|
# Generate bootable EFI Image from refind
|
||||||
|
|
||||||
# Copy kernel to refind
|
# Copy kernel to refind
|
||||||
cp "$ROOTFS_PATH/boot"/vmlinuz-$ISO_KERNEL \
|
mkdir -p ./data/refind/EFI
|
||||||
"./data/refind/EFI/vmlinuz" && \
|
cp -vf "$ROOTFS_PATH/boot"/vmlinuz-"$ISO_KERNEL"* "./data/refind/EFI/vmlinuz"
|
||||||
cp "$ROOTFS_PATH/boot"/initrd.img-$ISO_KERNEL \
|
cp -vf "$ROOTFS_PATH/boot"/initrd.img-"$ISO_KERNEL"* "./data/refind/EFI/initrd"
|
||||||
"./data/refind/EFI/initrd"
|
|
||||||
|
|
||||||
dd if=/dev/zero of="$LIVE_BOOT_PATH/efiboot.img" bs=1 count=$(du -s -B1 ./data/refind | cut -f1)
|
dd if=/dev/zero of="$LIVE_BOOT_PATH/efiboot.img" bs=1 count=$(du -s -B1 ./data/refind | cut -f1)
|
||||||
mkfs.vfat -F 32 "$LIVE_BOOT_PATH/efiboot.img"
|
mkfs.vfat -F 32 "$LIVE_BOOT_PATH/efiboot.img"
|
||||||
|
Loading…
Reference in New Issue
Block a user