tools/livecd-iso-to-disk.sh | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 2ddb25964e181b033022c77bdd90f00cf2e9a3f7 Author: Bruno Wolff III <[email protected]> Date: Sat Sep 11 20:45:16 2010 -0500 Allow use of stage2 for repos to help with netinst ISOs. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 872ebee..1347aa5 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -701,6 +701,13 @@ if [ "$isotype" = "netinst" ]; then sed -i -e "s;stage2=\S*;stage2=hd:$USBLABEL:/images/install.img;g" $BOOTCONFIG $BOOTCONFIG_EFI fi +# Use repo if the .iso has the repository on it, otherwise use stage2 which +# will default to using the network mirror +if [ -e "$CDMNT/.discinfo" ]; then + METHODSTR=repo +else + METHODSTR=stage2 +fi if [ "$overlaysizemb" -gt 0 ]; then echo "Initializing persistent overlay file" -- livecd mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/livecd
