Skip to content

Commit

Permalink
added NetbootCD and support for the new syslinux initrd optionn
Browse files Browse the repository at this point in the history
  • Loading branch information
gkovacs committed Oct 2, 2011
1 parent c9cb938 commit c9076f4
Show file tree
Hide file tree
Showing 54 changed files with 3,390 additions and 2,852 deletions.
122 changes: 71 additions & 51 deletions po/unetbootin.pot

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/unetbootin/distrolst.cpp
Expand Up @@ -698,6 +698,12 @@ if (nameDistro == "MEPIS")
extractiso(isotmpf);
}

if (nameDistro == "NetbootCD")
{
downloadfile("http://download.tuxfamily.org/netbootcd/NetbootCD-current.iso", isotmpf);
extractiso(isotmpf);
}

if (nameDistro == "NetBSD")
{
if (isarch64)
Expand Down
5 changes: 5 additions & 0 deletions src/unetbootin/distrover.cpp
Expand Up @@ -155,6 +155,11 @@ unetbootin::tr("<b>Homepage:</b> <a href=\"http://www.mepis.org/\">http://www.me
"<b>Description:</b> MEPIS is a Debian-based distribution. SimplyMEPIS is a user-friendly version based on KDE, while AntiX is a lightweight version for older computers.<br/>"
"<b>Install Notes:</b> MEPIS supports booting in Live mode, from which the installer can optionally be launched.") <<
"SimplyMEPIS" << "SimplyMEPIS_x64" << "AntiX"));
distroselect->addItem("NetbootCD", (QStringList() << "Latest" <<
unetbootin::tr("<b>Homepage:</b> <a href=\"http://netbootcd.tuxfamily.org/\">http://netbootcd.tuxfamily.org</a><br/>"
"<b>Description:</b> NetbootCD is a small boot CD that downloads and boots network-based installers for other distributions.<br/>"
"<b>Install Notes:</b> NetbootCD boots and runs in live mode.") <<
"Latest"));
distroselect->addItem("NetBSD", (QStringList() << "4.0" <<
unetbootin::tr("<b>Homepage:</b> <a href=\"http://www.netbsd.org/\">http://www.netbsd.org</a><br/>"
"<b>Description:</b> NetBSD is a Unix-like operating system which focuses on portability.<br/>"
Expand Down
9 changes: 8 additions & 1 deletion src/unetbootin/unetbootin.cpp
Expand Up @@ -989,7 +989,7 @@ bool unetbootin::checkifoutofspace(QString destindir)
QString unetbootin::locatekernel(QString archivefile, QPair<QStringList, QList<quint64> > archivefileconts)
{
pdesc1->setText(tr("Locating kernel file in %1").arg(archivefile));
QStringList kernelnames = QStringList() << "vmlinuz" << "vmlinux" << "bzImage" << "kernel" << "sabayon" << "gentoo" << "linux26" << "linux24" << "bsd" << "unix" << "linux" << "rescue" << "xpud";
QStringList kernelnames = QStringList() << "vmlinuz" << "vmlinux" << "bzImage" << "kernel" << "sabayon" << "gentoo" << "linux26" << "linux24" << "bsd" << "unix" << "linux" << "rescue" << "xpud" << "bzI" << "kexec";
QStringList tnarchivefileconts;
QStringList narchivefileconts;
QString curarcitm;
Expand Down Expand Up @@ -2186,6 +2186,13 @@ QPair<QPair<QStringList, QStringList>, QPair<QStringList, QStringList> > unetboo
kernelpassed = true;
continue;
}
if (cfgfileCL.contains(QRegExp("^initrd\\s{1,}\\S{1,}", Qt::CaseInsensitive)))
{
if (kernelandinitrd.second[curindex] == initrdLoc) {
kernelandinitrd.second[curindex] = getFirstTextBlock(QString(cfgfileCL).remove(QRegExp("^initrd", Qt::CaseInsensitive)).trimmed());
}
continue;
}
}
return qMakePair(kernelandinitrd, titleandparams);
}
Expand Down
122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_am.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ar.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ast.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_be.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_bg.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_bn.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ca.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_cs.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_da.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_de.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_el.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_eo.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_es.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_et.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_eu.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_fi.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_fo.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_fr.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_gl.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_he.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_hr.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_hu.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_id.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_it.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ja.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_lt.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_lv.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ml.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ms.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_nan.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_nb.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_nl.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_nn.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_pl.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_pt.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_pt_BR.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ro.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ru.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_sk.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_sl.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_sr.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_sv.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_sw.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_tr.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_uk.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_ur.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_vi.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_zh_CN.ts

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions src/unetbootin/unetbootin_zh_TW.ts

Large diffs are not rendered by default.

0 comments on commit c9076f4

Please sign in to comment.