Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
unetbootin
unetbootin-suse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unetbootin-suse.patch of Package unetbootin
Index: unetbootin/distrolst.cpp =================================================================== --- unetbootin.orig/distrolst.cpp +++ unetbootin/distrolst.cpp @@ -758,23 +758,36 @@ if (nameDistro == "openSUSE") { cpuarch = "i386"; } + + QString leapversion; + if(relname != "tumbleweed") + { + leapversion = relname.split("_").last(); + } if (islivecd) { - downloadfile(QString("http://download.opensuse.org/distribution/%1/iso/cd/openSUSE-%1-GM-GNOME-Live-%2.iso").arg(relname, cpuarch), isotmpf); + if (relname == "tumbleweed") + { + downloadfile(QString("https://download.opensuse.org/tumbleweed/iso/openSUSE-tumbleweed-DVD-%1-Current.iso").arg(cpuarch), isotmpf); + } + else + { + downloadfile(QString("https://download.opensuse.org/distribution/leap/%1/iso/openSUSE-Leap-DVD-x86_64-Current.iso").arg(leapversion), isotmpf); + } extractiso(isotmpf); } else { - if (relname == "factory") + if (relname == "tumbleweed") { - downloadfile(QString("http://download.opensuse.org/factory/repo/oss/boot/%1/loader/linux").arg(cpuarch), QString("%1ubnkern").arg(targetPath)); - downloadfile(QString("http://download.opensuse.org/factory/repo/oss/boot/%1/loader/initrd").arg(cpuarch), QString("%1ubninit").arg(targetPath)); - postinstmsg = unetbootin::tr("\n*IMPORTANT* After rebooting, ignore any error messages and select back if prompted for a CD, then go to the main menu, select the 'Start Installation' option, choose 'Network' as the source, choose 'HTTP' as the protocol, enter 'download.opensuse.org' when prompted for a server, and enter '/factory/repo/oss' when asked for the folder."); + downloadfile(QString("https://download.opensuse.org/tumbleweed/repo/oss/boot/%1/loader/linux").arg(cpuarch), QString("%1ubnkern").arg(targetPath)); + downloadfile(QString("https://download.opensuse.org/tumbleweed/repo/oss/boot/%1/loader/initrd").arg(cpuarch), QString("%1ubninit").arg(targetPath)); + postinstmsg = unetbootin::tr("\n*IMPORTANT* After rebooting, ignore any error messages and select back if prompted for a CD, then go to the main menu, select the 'Start Installation' option, choose 'Network' as the source, choose 'HTTP' as the protocol, enter 'download.opensuse.org' when prompted for a server, and enter '/tumbleweed/repo/oss' when asked for the folder."); } else { - downloadfile(QString("http://download.opensuse.org/distribution/%1/repo/oss/boot/%2/loader/linux").arg(relname, cpuarch), QString("%1ubnkern").arg(targetPath)); - downloadfile(QString("http://download.opensuse.org/distribution/%1/repo/oss/boot/%2/loader/initrd").arg(relname, cpuarch), QString("%1ubninit").arg(targetPath)); + downloadfile(QString("https://download.opensuse.org/distribution/leap/%1/repo/oss/boot/x86_64/loader/linux").arg(leapversion), QString("%1ubnkern").arg(targetPath)); + downloadfile(QString("https://download.opensuse.org/distribution/leap/%1/repo/oss/boot/x86_64/loader/initrd").arg(leapversion), QString("%1ubninit").arg(targetPath)); postinstmsg = unetbootin::tr("\n*IMPORTANT* After rebooting, ignore any error messages and select back if prompted for a CD, then go to the main menu, select the 'Start Installation' option, choose 'Network' as the source, choose 'HTTP' as the protocol, enter 'download.opensuse.org' when prompted for a server, and enter '/distribution/%1/repo/oss' when asked for the folder.").arg(relname); } kernelOpts = "splash=silent showopts"; Index: unetbootin/distrover.cpp =================================================================== --- unetbootin.orig/distrover.cpp +++ unetbootin/distrover.cpp @@ -173,11 +173,11 @@ unetbootin::tr("<b>Homepage:</b> <a href "<b>Description:</b> The Offline NT Password and Registry Editor can reset Windows passwords and edit the registry on Windows 2000-Vista.<br/>" "<b>Install Notes:</b> NTPasswd is booted and run in live mode; no installation is required to use it.") << "2008.05.26" << "2011.05.11")); - distroselect->addItem("openSUSE", (QStringList() << "11.1" << + distroselect->addItem("openSUSE", (QStringList() << "Leap_15.2" << unetbootin::tr("<b>Homepage:</b> <a href=\"https://www.opensuse.org/\">https://www.opensuse.org</a><br/>" - "<b>Description:</b> openSUSE is a user-friendly Novell sponsored distribution.<br/>" + "<b>Description:</b> The openSUSE project is a community program sponsored by SUSE Linux and other companies.<br/>" "<b>Install Notes:</b> The default version allows for both installation over the internet (FTP), or offline installation using pre-downloaded installation ISO files.") << - "11.1" << "11.1_x64" << "Factory" << "Factory_x64")); + "Leap_15.2" << "Leap_15.3" << "Tumbleweed" << "Tumbleweed_x64")); distroselect->addItem("Ophcrack", (QStringList() << "XP-LiveCD-2.0" << unetbootin::tr("<b>Homepage:</b> <a href=\"http://ophcrack.sourceforge.net/\">http://ophcrack.sourceforge.net</a><br/>" "<b>Description:</b> Ophcrack can crack Windows passwords.<br/>"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor