Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BZ#1787329 - make sure the filename is fdi.iso
In the CPIO archive so users don't need to modify the kernel command
line `root=live:/fdi.iso` after extracting.
  • Loading branch information
lzap committed Jan 6, 2020
1 parent 8f2c2a2 commit e4eaff5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aux/livecd-iso-to-pxeboot
Expand Up @@ -95,10 +95,9 @@ mkdir tftpboot
# initrd image. The Linux kernel will do the right thing,
# aggregating both cpio archives (initrd + ISO) into a single
# filesystem.
NEWISO=$STRIPPEDISO/`basename "$ISO"`
NEWISO=$STRIPPEDISO/fdi.iso
mkisofs --quiet -J -joliet-long -r -T -o $NEWISO --root LiveOS $CDMNT/LiveOS/squashfs.img
ISOBASENAME=`basename "$NEWISO"`
ISODIRNAME=`dirname "$NEWISO"`
( cd "$STRIPPEDISO" && echo "$ISOBASENAME" | cpio -H newc --quiet -L -o ) |
gzip -9 |
cat $CDMNT/isolinux/$INITRD - > tftpboot/$INITRD
Expand Down

0 comments on commit e4eaff5

Please sign in to comment.