893 Commits (20bc34029d0cfb06b426cbfac601203d0e22ba5b)
 

Author SHA1 Message Date
Kevin Kofler f58cca1bb2 grubcfg: Don't error if /etc/default is missing.
It is created later in the function.
10 years ago
Kevin Kofler 5cae4e0632 partition: Don't assume that an unknown OS is Windows 7.
Don't talk about "Windows 7 programs, documents, photos, music, and
other files" when we actually have no idea what the other operating
system is or when there are multiple ones.
10 years ago
Teo Mrnjavac df47842fc7 Merge pull request #152 from calamares/python-branding
Give Python modules access to the branding information.
10 years ago
Calamares CI 9ae368f19d Automatic merge of Transifex translations 10 years ago
Kevin Kofler 75921ec125 bootloader/test.yaml: Define the shortProductName. 10 years ago
Kevin Kofler c27c053482 hacking/GlobalStorage.md: Document the "branding" dictionary. 10 years ago
Calamares CI 124d4c3780 Automatic merge of Transifex translations 10 years ago
Kevin Kofler 48eca95a26 grubcfg: Use shortProductName.
This is particularly useful if the full product name contains
"GNU/Linux" or "Linux", because e.g. "Generic GNU/Linux GNU/Linux" does
not make sense.
10 years ago
Kevin Kofler e420341ba6 bootloader: Use shortProductName.
This is particularly useful if the full product name contains
"GNU/Linux" or "Linux", because e.g. "Generic GNU/Linux GNU/Linux" does
not make sense.
10 years ago
Kevin Kofler 538b457ea8 branding: Add a shortProductName entry.
This is what the bootloader modules really want, and it was also missing
for consistency with the other branding entries.
10 years ago
Kevin Kofler cde7356f0d grubcfg: Quote the GRUB_DISTRIBUTOR value. 10 years ago
Kevin Kofler 76450b44a3 bootloader: Ensure that the file names are valid.
Change any '/' slashes to '-' dashes. Also change spaces to underscores
while we are at it.
10 years ago
Kevin Kofler 8f5b0585cb grubcfg: Get the distribution name from the branding.
Remove the redundant "distributor" setting from grubcfg.conf (and the
entire grubcfg.conf file that has no settings left for now).
10 years ago
Kevin Kofler 3cf5baadc1 bootloader: Get the distribution name from the branding.
Remove the redundant "distribution" setting from bootloader.conf.
10 years ago
Kevin Kofler 98f99fa5bf Introduce and use a Calamares::Branding::setGlobals method.
The method creates a map called "branding" in the global storage, and
inserts an entry for each of the branding strings. This makes the
branding information accessible to the Python modules.

The method is called by CalamaresApplication::initJobQueue.

This is necessary because the Branding class is in libcalamaresui, so
Python modules cannot access it directly.
10 years ago
Calamares CI 39e2170b6d Automatic merge of Transifex translations 10 years ago
Kevin Kofler 6b2ccfb442 settings.conf: Move localecfg job further up.
/etc/locale.conf should always be written before generating the
initramfs, because it will be added to the initramfs. So move the step
up to where the other locale-related jobs run.

Also add commented-out placeholders for the displaymanager and dracut
jobs so people will get the ordering right.
10 years ago
Kevin Kofler 7478c1266b Point the lib/calamares/libcalamares.so symlink to the versioned so.
Point the lib/calamares/libcalamares.so symlink for the Python modules
directly to the versioned lib/libcalamares.so.VERSION library rather
than to the lib/libcalamares.so symlink. This allows distributions to
install the lib/libcalamares.so symlink to a development package and
only ship lib/libcalamares.so.VERSION and lib/calamares/libcalamares.so
in the runtime package. It is also marginally faster (because only one
level of symlinks has to be resolved instead of two).

(I know this works because I have been manually fixing up this symlink
in the Fedora specfile so far.)
10 years ago
Calamares CI d5b1b23415 Automatic merge of Transifex translations 10 years ago
Teo Mrnjavac 78de47eb8c Retranslate Users module. 10 years ago
Teo Mrnjavac ecc2d27a18 Merge pull request #151 from calamares/localecfg
adding localecfg
10 years ago
Rohan Garg 60eb9cfae6 Use the correct file to write things into 10 years ago
Teo Mrnjavac 0f9496babe Finish up retranslation in PreparePage. 10 years ago
Teo Mrnjavac 280baf7326 Move PrepareCheckWidget text out of ctor. 10 years ago
Teo Mrnjavac 9b2dfdf1ec Use Retranslator in Prepare module (partial). 10 years ago
demmm faf2e2a775 Add localecfg & bootloader to settings.conf 10 years ago
Calamares CI e5ac1a5c4f Automatic merge of Transifex translations 10 years ago
demmm ff1383d7f5 adding localecfg
locale hardcoded to en_US until local globalstorage is available
run pep8 on bootloader main.py, plain switch from subprocess to chroot_call fails for gummiboot call
10 years ago
Teo Mrnjavac df200f2210 Merge pull request #150 from kkofler/fix-issue-123
grub, bootloader: Make the grub-* and /boot/grub names configurable.
10 years ago
Kevin Kofler 7e1ec78d35 grub, bootloader: Make the grub-* and /boot/grub names configurable.
Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.

Fixes #123.
10 years ago
Rohan Garg d9187c25c7 check_chroot_call does not actually return a error code, use chroot_call
instead.

Thanks to Kevin Kofler for pointing this out.
10 years ago
Rohan Garg 1f6feb9417 Make sure we return a message when dracut or initramfs fail 10 years ago
Teo Mrnjavac 388363c1f2 Merge pull request #148 from calamares/gummibot
make gummiboot kernel/distro agnostic
10 years ago
Calamares CI c102ddb185 Automatic merge of Transifex translations 10 years ago
Teo Mrnjavac faa77d7f5e Use Retranslator in Partitioning module. 10 years ago
Teo Mrnjavac 8575240b95 Capture by-val in Retranslator macro. 10 years ago
Teo Mrnjavac 688cc8f798 Use Retranslator in KeyboardPage. 10 years ago
Rohan Garg fb92697a93 Make sure our return value is correct 10 years ago
Teo Mrnjavac 99114e04d8 Merge pull request #147 from kkofler/fix-issue-31
keyboard: Write the keyboard model and layout settings to the root mount point.
10 years ago
Teo Mrnjavac 1d9535053a Use Retranslator in GreetingPage. 10 years ago
Teo Mrnjavac e5c3888be2 Allow multiple CALAMARES_RETRANSLATE blocks in the same widget. 10 years ago
Teo Mrnjavac 945b59748a Add RETRANSLATE macro to CalamaresUtils::Retranslator. 10 years ago
Kevin Kofler 3e9de2a05a keyboard: Allow absolute paths for the xOrgConfFileName setting.
This should ensure it works on all distributions.
10 years ago
Rohan Garg 2c8aa950a3 Update README.md 10 years ago
Kevin Kofler 86d51b4a9c keyboard: Pass settings directly, not through GlobalStorage.
Pass the settings from keyboard.conf directly to the
SetKeyboardLayoutJob rather than through GlobalStorage.
10 years ago
Kevin Kofler 2fec6e3202 keyboard: kbd-model-map: Add link to the original.
In particular, to the upstream git log for the file.
10 years ago
Kevin Kofler bfdcf0dbc0 keyboard: Coding style fixes. 10 years ago
Teo Mrnjavac 6f3898a73d Use Retranslator in LocalePage. 10 years ago
Teo Mrnjavac 08b90e975b Add retranslator class to CalamaresUtils. 10 years ago
Calamares CI 30f029c184 Automatic merge of Transifex translations 10 years ago