1077 Commits (f6255116e616f1d8d53b8e4f21a97fba7fa26bbf)

Author SHA1 Message Date
Kevin Kofler 5e14080891 displaymanager: Remove lightdm gdmflexiserver hack.
Remove the hack that symlinks /usr/lib/lightdm/lightdm/gdmflexiserver as
/usr/bin/gdmflexiserver.

Upstream LightDM removed their gdmflexiserver implementation in 1.9.4 in
2013:
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/1841

In addition, LightDM was already adding the path containing its
gdmflexiserver implementation to PATH, so there was no use symlinking it
into /usr/bin, potentially overwriting the original version from GDM.
This must have been a workaround for an ancient LightDM version that
didn't even do that.

And finally, the hardcoded /usr/lib/lightdm/lightdm/gdmflexiserver path
was wrong on Fedora to begin with (we had used
/usr/libexec/lightdm/gdmflexiserver, but now the file is completely gone
because upstream removed it).
10 years ago
Kevin Kofler e78418b693 displaymanager: Don't error if a DM is not installed.
If a display manager is in the list, but not installed, do not return an
error message, but only print a debugging message and proceed.

This allows distributions that support multiple display managers to list
them all, independently of what the concrete live image will be using.
10 years ago
Kevin Kofler 2783f98615 displaymanager: Add my copyright to main.py.
I have already written a bunch of code in there.
10 years ago
Kevin Kofler a525de8f11 displaymanager: Fix typos in displaymanager.conf. 10 years ago
Kevin Kofler 210685a15d mount: Fix /run mount.
It turns out that I had messed this up. Issue #173 was addressed anyway
by the followup fix to unpackfs to only exclude the directories that are
actually mounted (which does work), but with this fix, /run is now
handled as intended.

PS: Should the mount job not check the return value of
libcalamares.utils.mount instead of failing silently?
10 years ago
Manjaro Linux eee54241d1 [umount] use lazy switch
in some rare cases you can't unmount your mountpoints. As it is the last step we can use lazy switch to force unmounting.
10 years ago
Manjaro Linux 0a6053dd82 Fix syntax error
This fixes e65d9c4f. Setting a variable can't end with :
This also fixes the issue with referenced before assignment
10 years ago
Daniel Hillenbrand 722e87fd00 packages: add --noconfirm arg for pacman, also remove unneeded deps 10 years ago
Daniel Hillenbrand 22a9fd86df localecfg: only restore locale.gen.bak if available 10 years ago
Kevin Kofler 6f78ecab3b displaymanager: Fix the default_desktop_environment option.
Do not use a YAML list when only a single entry actually works. (It was
just silently using the last one.)

Create the default_desktop_environment DesktopEnvironment tuple. Before,
the setting was silently ignored altogether.
10 years ago
Kevin Kofler e65d9c4f4d Revert "Fix autologin-routine"
This reverts commit 9c799b32e9.

This was already right before. default_desktop_environment.desktop_file is not a
variable, it's a field of a variable. This commit is not valid Python:
"SyntaxError: invalid syntax".
10 years ago
Manjaro Linux 9c799b32e9 Fix autologin-routine
default_desktop_environment.desktop_file needs to been passed actually.
10 years ago
Kevin Kofler 36488583f7 unpackfs: Add a trailing '/' to the excludes. 10 years ago
Kevin Kofler f0203a072c unpackfs: Automatically detect the exclude list from the mounts.
See issue #173.
10 years ago
Manjaro Linux 6a70029198 Fix commit d5d74fbdcd
We need to pass default_desktop_environment if we won't use automatic desktop detection.
10 years ago
Kevin Kofler 96d863b22b mount: Mount /run as a tmpfs in the rootMountPoint.
In particular, this also ensures that the directory gets created on the
target system so things can be mounted into it.

Fixes #173.
10 years ago
Teo Mrnjavac 6e98f63bf3 Merge pull request #171 from calamares/machineid-module
Add a machineid module.
10 years ago
Teo Mrnjavac e85b2d164f Hook up ClearMountsJob in PartitionCoreModule. 10 years ago
Teo Mrnjavac 1de7b55c3b ClearMountsJob: umount all partitions before making changes to a device.
Fixes #169
10 years ago
Manjaro Linux ddc7a6057d Update displaymanager.conf
Add an example to force Plasma5 desktop (commented out)
10 years ago
Manjaro Linux d5d74fbdcd Add option to force desktop environment
This adds the function to force a desktop environment. We might think to add it also to global storage.
10 years ago
Manjaro Linux b4b409243f [displaymanager] make openbox session have "less priority".
Fixes settings Session= when both lxqt and openbox are installed, it will first find lxqt an use put lxqt.desktop
This fixes also #170
10 years ago
Kevin Kofler 587e76aa56 machineid: Add modules.desc. 10 years ago
Kevin Kofler 5f99d51f80 machineid: Add missing import. 10 years ago
Kevin Kofler 0b0868822d Add a machineid module.
The module creates /etc/machine-id and/or /var/lib/dbus/machine-id. By
default, it is enabled and creates both files, making the latter a
symlink to the former.
10 years ago
Kevin Kofler 8591dcf731 unpackfs: Make rsync preserve everything, exclude special paths.
Add the following flags to rsync:
* `-H, --hard-links            preserve hard links`
* `-A, --acls                  preserve ACLs (implies --perms)`
* `-X, --xattrs                preserve extended attributes`
(i.e., the preservation options not already implied by -a).

Also exclude the special paths that do not make sense to rsync, because
reading the extended attributes from those can cause errors, at least
with SELinux enabled.

This fixes installation of Fedora systems with SELinux enabled.
10 years ago
Teo Mrnjavac 0c3f88077d More debug output in CreatePartitionTableJob 10 years ago
Rohan Garg ac5cecee19 Clean up unused packages after installation
Fixes #166.
10 years ago
Teo Mrnjavac 5b864c5dc3 Make networkmanager service example optional. 10 years ago
Teo Mrnjavac 5bb7755925 Remove unnecessary debug output. 10 years ago
Teo Mrnjavac 52a1a28696 Fix focus handling in Keyboard page. 10 years ago
Teo Mrnjavac 5fdca37db5 Focus fix in Locale page. 10 years ago
Teo Mrnjavac 472590669f Adding stuff to GlobalStorage works much better it is actually executed. 10 years ago
Teo Mrnjavac 0738af04ca Reimplement onActivate in UsersViewStep for focus handling. 10 years ago
Teo Mrnjavac e258f0b5a9 Use onActivate instead of focusInEvent for page focus control. 10 years ago
demmm 86c49fbc89 Use correct entry from global_storage 10 years ago
Teo Mrnjavac 925632800b Debug output for lcLocale 10 years ago
Kevin Kofler b79618aa15 locale: Move the string processing out of the loop. 10 years ago
Teo Mrnjavac 88dfd7fa10 Fix system locale string + allow 3 letter language codes. 10 years ago
Kevin Kofler e7d0f205a4 locale: Support distributions without locale-gen.
If /etc/locale.gen (or the configured localeGenPath) does not exist,
assume that all the supported languages are already built into the
locale archive, and retrieve the list from "locale -a".

The list will then contain lines with only the locale rather than
locale + space + encoding, but that should not affect any of the rest of
the code. UTF-8 locales will still contain the string "UTF-8" (as part
of the ".UTF-8" suffix), we will not write a locale.gen file if we don't
have locale-gen, and everything else just strips away the encoding.
10 years ago
Kevin Kofler 440b38addf locale: Optimize guessLCLocale by moving function calls out of loops. 10 years ago
Kevin Kofler bcbe5103b9 locale: Don't assume 2-letter language codes.
Some languages have 3-letter codes. So instead of splitting the output
of QLocale::name, use QLocale::language and the static
QLocale::languageToString.
10 years ago
Teo Mrnjavac d2288d0961 Write lc locale setting from GlobalStorage. 10 years ago
Teo Mrnjavac 6049267cf6 Load lcLocale value into GlobalStorage. Also allow localeGenPath setting
in locale.conf.
10 years ago
Teo Mrnjavac 2ca58c6f91 Massive cleanup in LocalePage. Add LCLocale setting, with autodetect. 10 years ago
Teo Mrnjavac 100f08518b Build LCLocale dialog. 10 years ago
Teo Mrnjavac ddfb8dfbc5 Add relevant strings. 10 years ago
Teo Mrnjavac 6cb072acc4 New LC LOCALE picker dialog. 10 years ago
Teo Mrnjavac f72f1ae5ca README.md for branding. 10 years ago
Teo Mrnjavac da0afd6e55 Better error reporting in CreatePartitionTableJob.cpp 10 years ago
Teo Mrnjavac 0d64c849fd Unbreak build. Sorry. 10 years ago
Teo Mrnjavac 0d89ba761a Uic in GreetingPage. 10 years ago
Teo Mrnjavac 01c3244396 Merge pull request #155 from calamares/fix-issue-128
grubcfg: Create /etc/default/grub if missing.
10 years ago
Kevin Kofler ab4d31f1a6 bootloader: Allow overriding the bootloaderEntryName setting.
Allow setting bootloaderEntryName in bootloader.conf. If not specified
there, the setting will be taken from branding.desc.
10 years ago
Kevin Kofler 462819060b branding: Add a dedicated bootloaderEntryName setting.
Use it in the bootloader and grubcfg modules instead of
shortProductName.
10 years ago
Kevin Kofler 4df754ef29 Move detect_firmware_type to the prepare module.
This avoids the duplication between the bootloader and grub modules.
10 years ago
Kevin Kofler 930a49677a grub/test.yaml: Define the shortProductName. 10 years ago
Kevin Kofler 132628c175 grub: Add EFI support.
Fixes #110.

This is based on Daniel Hillenbrand's submissions, but it makes the same
adjustments already done in the bootloader module that's already merged:

* Put detect_firmware_type into the grub module itself until a better
  place is found.

* Get the distribution name from the branding configuration and use the
  file_name_sanitizer on it.

* Get the grub-install executable name from the module configuration.

It also fixes a Python syntax error in the original submission.
10 years ago
Teo Mrnjavac fb37a0bf2f Fix focus in UsersPage. 10 years ago
Kevin Kofler 00604a8bca PythonHelper: Add support for bool.
Convert Python bool type from/to C++/QVariant bool (QVariant::Bool) in
PythonHelper::variantToPyObject and PythonHelper::variantFromPyObject.

This fixes the "override" option and any booleans in the "defaults" list
in grubcfg.conf.
10 years ago
Kevin Kofler 1499963920 grubcfg: Create /etc/default/grub if missing.
Also adds a grubcfg.conf with the following settings:

* overwrite: If set to true, always creates /etc/default/grub from
  scratch even if the file already existed. If set to false, edits the
  existing file instead. The default is "false".

* defaults: Default entries to write to /etc/default/grub if it does not
  exist yet or if we are overwriting it. Note that in addition,
  GRUB_CMDLINE_LINUX_DEFAULT and GRUB_DISTRIBUTOR will always be
  written, with automatically detected values. The default in the code
  is empty. The shipped grubcfg.conf currently reproduces the default
  settings from the Fedora installer Anaconda.

Fixes #128.
10 years ago
Kevin Kofler d5b95d79e5 grubcfg: Handle the case where expected lines are missing.
Check whether we actually had a GRUB_CMDLINE_LINUX_DEFAULT and a
GRUB_DISTRIBUTOR line, add any of them if it was missing.
10 years ago
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
Kevin Kofler 75921ec125 bootloader/test.yaml: Define the shortProductName. 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
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
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 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
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
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
demmm 53da965bb1 make gummiboot kernel/distro agnostic
add hibernate option to .conf
create a fallback entry in gummiboot menu
re-add firmware to globalstorage, simplifies this module, will be needed to add more OS to gummi
10 years ago
Kevin Kofler 4f9f7d7858 keyboard: Write the keyboard model and layout settings to the root mount point.
This is implemented as a new SetKeyboardLayout job that does the work.

Portions of the code are adapted from systemd-localed's source code,
which is under a compatible license (LGPLv2.1+, can be converted to our
GPLv3+ license). I ported it from C to to C++/Qt and made some minor
tweaks to the mapping logic (from X11 to vconsole layouts) though.

Fixes #31.

Tested on a Fedora Remix (Kannolo 21) with the default module settings
(finds the converted X11 keymaps for the virtual console) and with
convertedKeymapPath: "" (does the legacy keymap conversion as expected).
10 years ago
Rohan Garg 2b26be4162 Fix copyright holder 10 years ago
Rohan Garg ce96b13c0d Add a initramfs module that updates the initramfs post install 10 years ago
Teo Mrnjavac dec452f9b5 Make LocalePage retranslatable. 10 years ago
Teo Mrnjavac 2617ef369e Use retranslate pattern in GreetingPage. 10 years ago
Teo Mrnjavac 9e9a922498 Language selector + focus fix in GreetingPage. 10 years ago
Teo Mrnjavac 78075d7412 Use the new CalamaresUtils::installTranslator. 10 years ago
Teo Mrnjavac 058be8beb2 Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
10 years ago
Teo Mrnjavac 8b343ace4a QTranslator switching in CalamaresUtils. 10 years ago
Teo Mrnjavac fc4ce3d23b Make progress view unfocusable. 10 years ago
Teo Mrnjavac 0849a5983c Actually build translations qrc. 10 years ago
Rohan Garg d3d9ea130c Fix build, last merge was a bit broken 10 years ago
Teo Mrnjavac 294d6a34ca Merge pull request #142 from shadeslayer/github_master
Make sure we also write to the /etc/hosts file
10 years ago
Rohan Garg 7a2fe5e647 Make sure we also write to the /etc/hosts file 10 years ago
Manjaro Linux 36e8ed5f46 adjust LXDE startup scripts
- add LXQT support
- add LXDE 0.5 changes in Archlinux
10 years ago
Teo Mrnjavac 7c89613332 Merge pull request #140 from kkofler/detect-sddm-session-type
displaymanager: Detect SDDM session type
10 years ago
Kevin Kofler 8512e43405 displaymanager: Set Session= for sddm autologin.
Detect the correct value using find_desktop_environment.
10 years ago
Kevin Kofler 467d78dde6 displaymanager: Use a regex to match User= in sddm.conf.
This ensures we really only match the User= line and not the
RememberLastUser= one.
10 years ago
Kevin Kofler e365864c05 displaymanager: Detect the KDE Plasma (5 and 4) and GNOME desktop environments.
Add them to the front of the list of desktop environments because users
are more likely to expect those as the default if they have them
installed.
10 years ago
Kevin Kofler 4990b8e3f8 displaymanager: Refactor the desktop environment detection to eliminate the copy&paste.
This also fixes some issues with the previous code:

* The code for LightDM only supported Xfce.

* The case where multiple desktop environments are installed was not
  handled in a good way.

* We now also check that the xsession definition actually exists. This
  allows handling the case where upstream changed the xsession
  definition's name without renaming the invoked binary.
10 years ago
Kevin Kofler 5a4ae7f62c displaymanager: Run "sddm --example-config > /etc/sddm.conf" in a shell.
Otherwise, the output redirection cannot work (and the argument was also
misinterpreted as part of the command name).
10 years ago
Teo Mrnjavac 1df44eddba Fix displaymanager sddm config call. 10 years ago
demmm 3828eb6d2a add the define 10 years ago
demmm a186c7e44b Missing define, check_chroot_call replaced
not really needed here, subprocess.call well tested
10 years ago
Teo Mrnjavac 486f160ca9 Merge pull request #134 from calamares/sddm
Generate sddm.conf if not present.
10 years ago
demmm 49bdb25f30 remove erronous line line, wrongly left in 10 years ago
Teo Mrnjavac fef448833e And some more debug output readability improvements. 10 years ago
Teo Mrnjavac f2f73b2e87 More meaningful debug output. 10 years ago
Teo Mrnjavac a51251fdc6 Expose list of build-time available translation languages. 10 years ago
Teo Mrnjavac aaa696f543 Even less debug noise. 10 years ago
Teo Mrnjavac 5b01925d99 Remove debug noise. 10 years ago
Teo Mrnjavac 8026a287d3 Shut up Qt lupdate warnings. 10 years ago
Teo Mrnjavac 10ca85338d Yet another Qt 5.4 fix. 10 years ago
Teo Mrnjavac 519ba038cf Fix build on Qt 5.4, again. 10 years ago
Teo Mrnjavac 633c8512c2 Try to make compile on Qt 5.4 10 years ago
demmm 8cefd1dcb8 remove indent 10 years ago
demmm e26335d2da proper check for existing sddm.conf
second set of if/else is obsolete with this, sddm.conf always exists at this point
10 years ago
Teo Mrnjavac a97297a3fe Attempt to fix #125 10 years ago
demmm 231c93a513 missed colon 10 years ago
demmm f26406daa4 actually create a sddm.conf 10 years ago
Rohan Garg 6a9c9cbaae Fix typo 10 years ago
Teo Mrnjavac 8b0ad2f675 Merge pull request #129 from shadeslayer/master
Add support to set the hostname
10 years ago
Rohan Garg fdd84d1f99 Don't crash when packageOperations is empty 10 years ago
demmm 972fe23131 create sddm.conf if not present 10 years ago
Rohan Garg a0a3b4dc49 Style fixes
Run calamaresstyle over new classes
10 years ago
Teo Mrnjavac ee2ed0921e Allow mounting a Fedora image.
Fixes #127
10 years ago
Rohan Garg 4a4dc74f5c Drop useless line 10 years ago
Rohan Garg b587a0ff00 Add support to set the hostname 10 years ago
demmm c84a98c23c set option to select higlighted text color
keep it independent from background color, should make it easier to add a color section option to branding
10 years ago
Rohan Garg 8a623cc118 Fix function call 10 years ago
Teo Mrnjavac 97867af2aa Autopep8 pass on bootloader module. 10 years ago
Teo Mrnjavac 8f250311e8 Allow links in Greeting page. 10 years ago
Teo Mrnjavac c2d6237d31 Merge pull request #119 from calamares/efi
adding new bootloader job
10 years ago
Rohan Garg 34befb9cb8 Refactor CPU detection code to be more reliable
Instead of parsing hwinfo output, which might or might be present
on systems, just parse the /proc/cpuinfo file, it's much more
reliable.
10 years ago
Rohan Garg b8b2c2b735 Properly break lines in Python 10 years ago
Teo Mrnjavac 2e2bd78deb Use Branding in partition viewmodule. 10 years ago
Teo Mrnjavac 4c51d320f6 Use branding in Prepare viewmodule. 10 years ago
Teo Mrnjavac 8e38a03cca Branding in greeting module. 10 years ago
Teo Mrnjavac 90e10f63fa Use Branding in main window. 10 years ago
Teo Mrnjavac 7594c85f2e Add ImageRegistry support to Branding. 10 years ago
Teo Mrnjavac 5e8ab97de4 Actually load branding data from default component. 10 years ago
Rohan Garg 6513c6400e Handle line breaks properly 10 years ago
Teo Mrnjavac fc60bcb313 Update partitionmanager submodule. 10 years ago
demmm 58bc7c86c1 remove globalstorage entry for efi 10 years ago
Rohan Garg f9bd0dfcfc Make sure the hwinfo executable exists before calling it 10 years ago
Rohan Garg eed387f7a4 Make sure to check things exist before actually modifying them
This fixes crashes when a system does not have squashfs-tools or
a grub dir does not exist.
10 years ago
Teo Mrnjavac 9c10b49802 Check if the filesystem to be resized actually supports grow/shrink. 10 years ago
demmm 7a310ef27b rename grub to bootloader calls 10 years ago
demmm c1a1399958 adding new bootloader job
options are to use grub for BIOS, gummiboot for efi
set extra mountpoint when efi is found
10 years ago
Teo Mrnjavac a58857baa6 Hook up the branding component code path in CalamaresApplication. 10 years ago
Teo Mrnjavac 2182918476 Groundwork for branding loader/manager. 10 years ago
Teo Mrnjavac 97cf2a796c Load branding component name from Settings. 10 years ago
Teo Mrnjavac f952b44922 Works better when you actually add it to CMakeLists.txt. 10 years ago
Teo Mrnjavac 8618d85b8f Dummy default branding component. 10 years ago
Teo Mrnjavac 006f0e3eef Make sure the window doesn't grow out of QScreen bounds. 10 years ago
Teo Mrnjavac 9e84581354 Only add wheel to sudoers if a wheel group is defined in conf. 10 years ago
Teo Mrnjavac ad68ce0187 Make default groups, users group and autologin group configurable. 10 years ago
Teo Mrnjavac 0d1fb79ec8 New config file for users module. 10 years ago
Teo Mrnjavac ce407a5ec4 Use good old C++ template instead of auto parameter which needs C++1y. 10 years ago
Teo Mrnjavac 961eadada4 New UI and logic for Alongside autopartitioning+install. 10 years ago
Teo Mrnjavac 08a2ab94e7 Use PMUtils::findPartitionByPath in PVS + fix back button in Alongside. 10 years ago
Teo Mrnjavac 2347ead200 Remove bad debug feature. 10 years ago
Teo Mrnjavac 6d60ca5e63 Fix item order in ChoicePage 10 years ago
Teo Mrnjavac 6bd5736d35 Add findPartitionByPath to PMUtils 10 years ago
Teo Mrnjavac 51d12b2b35 The vfat driver apparently supports FAT16 too, be consistent. 10 years ago
Teo Mrnjavac 482b2c0da2 Fix fstype names for mount -t syntax. 10 years ago
Teo Mrnjavac e7995ad540 Improve Osprober logic to immediately check if entries are resizable. 10 years ago
Teo Mrnjavac 9ebc881223 Prevent segfault on exit when module not found. 10 years ago
Teo Mrnjavac 045d9cdf8c Fix layout in partitioning choice page. 10 years ago
Teo Mrnjavac faa39e1746 Enable resize+alongside radiobutton if osprober reports multiple lines. 10 years ago
Teo Mrnjavac 0801756cd1 Stub for Alongside page, and logic to detect if alongside is possible. 10 years ago
Teo Mrnjavac dbd6573ed4 Write required disk space into GlobalStorage. 10 years ago
Teo Mrnjavac c070b1c836 Const correctness. 10 years ago
Teo Mrnjavac c6eb0721d9 Check for root mount point before going ahead. 10 years ago
Teo Mrnjavac aeb20761cc Add preview and partitioning operations to Erase+Autopartition code path 10 years ago
Teo Mrnjavac 8a50685c75 Add clearJobs to PCM 10 years ago
Teo Mrnjavac b7f2d5d9d3 Fix page flow issue in partition module. 10 years ago
Teo Mrnjavac a943d55063 Size policy on erase page. 10 years ago
Teo Mrnjavac fdaea27475 Attempt at a window size fix. 10 years ago
Teo Mrnjavac ef703b0859 Add page for erase+install operation. 10 years ago
Teo Mrnjavac dab5a05116 Add isDirty check to PartitionCoreModule 10 years ago
Teo Mrnjavac 4cadbf9b98 Expose icon and tooltip in DeviceModel. 10 years ago
Teo Mrnjavac a98a4bb614 Add ChoicePage to partition module + OS detection with os-prober. 10 years ago
Teo Mrnjavac 73246b47c6 Prefer nullptr over 0. 10 years ago
Teo Mrnjavac d39e77f7e8 New PrettyRadioButton, an alternative to QRadioButton with rich text. 10 years ago
Teo Mrnjavac 4d9f887c58 Make the prepare viewmodule use WaitingWidget 10 years ago
Teo Mrnjavac 8651b33843 Make the locale viewmodule use WaitingWidget. 10 years ago
Teo Mrnjavac 13ccede630 Add new icons to CalamaresUtilsGui 10 years ago
Teo Mrnjavac 41cb09ea01 Add ClickableLabel, a QLabel which emits the clicked signal. 10 years ago
Teo Mrnjavac 382317dcaf Added WaitingWidget to libcalamaresui, wrapper for QtWaitingSpinner 10 years ago
Teo Mrnjavac b14a715300 Add icons to qrc. 10 years ago
Teo Mrnjavac 33569085b7 Merge pull request #116 from plfiorini/packages
Add packages job
10 years ago
Pier Luigi Fiorini 5624132172 Add packages job
This job can be used to install and remove packages.
10 years ago
Teo Mrnjavac 14130ae9c0 Only allow a ViewStep to change next button status if it's active now. 10 years ago
demmm 631649ea69 1.0 Gb RAM should be a good default 11 years ago
Teo Mrnjavac a9aa3e9aa6 Show an error or warning if there are unsatisfied requirements. 11 years ago
Teo Mrnjavac 2182fd2f0c Add info and fail icons to libcalamaresui. 11 years ago
Teo Mrnjavac 5434a04ebc Block the install process if an entry is required but unsatisfied. 11 years ago
Teo Mrnjavac 87711c89fc Use common icons in users viewmodule. 11 years ago
Teo Mrnjavac d97bb47f09 Add proper QResrouce system to libcalamaresui, finish up prepare checks
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
11 years ago
Teo Mrnjavac 0404413b05 Store active user in GlobalStorage as username. 11 years ago
Teo Mrnjavac 3bef0b835a Check for mains power in prepare viewmodule. 11 years ago
Teo Mrnjavac 26419f2c8a Check for internet connection in prepare viewmodule. 11 years ago
Teo Mrnjavac b32bbf2b9a Add check for enough RAM to prepare viewmodule. 11 years ago
Teo Mrnjavac 03800e2966 Newline at end of file. 11 years ago
Teo Mrnjavac 9563b2efc7 WIP: new prepare viewmodule, with free space check using libparted. 11 years ago
Teo Mrnjavac 1bb6603998 Move spinner widget to libcalamaresui. 11 years ago
Teo Mrnjavac cbfad6f637 Merge pull request #100 from calamares/initcpiocfg
New initcpiocfg module, ported from Thus.
11 years ago
Teo Mrnjavac c70071406f Merge pull request #99 from calamares/grubcfg
New grubcfg module, ported from Thus.
11 years ago
Pier Luigi Fiorini 2133880fdb dracut: Don't read settings
This module doesn't have settings yet so this call fails.
11 years ago
Pier Luigi Fiorini b40f3bf4bb Initialize globalstorage before loading custom configuration 11 years ago
Teo Mrnjavac b51cfd6a45 Merge pull request #106 from plfiorini/settingsconf
Try to find settings.conf from SYSCONFDIR
11 years ago
Pier Luigi Fiorini f0921a41b2 Try to find settings.conf from SYSCONFDIR
Honor SYSCONFDIR as specified by CMake arguments instead of
using a hard-coded path.

Since GNUInstallDirs set CMAKE_INSTALL_FULL_SYSCONFDIR to
CMAKE_INSTALL_PREFIX/etc we need to change the default ourselves.
11 years ago
Daniel Hillenbrand 38f32bfd56 locale: make sure /etc/localtime doesn't exist
If /etc/localtime exists in source image, creating a new symlink will fail
and prevent the installer from doing it's job.
11 years ago
Daniel Hillenbrand c97251d741 unpackfs: check for supported filesystems
Use /proc/filesystems to check if the system
supportes the given source filesystem.
11 years ago
Daniel Hillenbrand 148a29d506 unpackfs: code dedup 11 years ago
Philip 9de863a1af New initcpiocfg module, ported from Thus. 11 years ago
Philip 82237d1bd1 grubcfg: group variables 11 years ago
Philip 0c4e8863cf grubcfg: set swap_uuid variable 11 years ago
Philip 5b336fc3c5 New grubcfg module, ported from Thus. 11 years ago
Teo Mrnjavac 35f0dfc76d List all files recursively. 11 years ago
Teo Mrnjavac 8ce769184e Check for fs name validity. 11 years ago
Philip 37426b9f7a Replace unsquashfs with unpackfs
Conflicts:
	src/modules/unsquashfs/unsquashfs.conf
11 years ago
Teo Mrnjavac ea32ba6a83 Compare with None 11 years ago
Teo Mrnjavac ec7edc4b83 Improve diacritics transliteration. 11 years ago
Philip ba1006a965 Fix autologin in displaymanager module 11 years ago
Teo Mrnjavac 52656190af Documentation. 11 years ago
Teo Mrnjavac fea3b68d61 s/AutoUser/User/ 11 years ago
Teo Mrnjavac bdc3185dbe Let's assume for now that the ISO must ship a sddm.conf. 11 years ago
Teo Mrnjavac fd4c93c485 Create sddm.conf if it doesn't exist. 11 years ago
Teo Mrnjavac d6d40d44ee PEP8 displaymanager. 11 years ago
Teo Mrnjavac d93b8b9d44 New displaymanager module, based on Thus. 11 years ago
Teo Mrnjavac 9ba06a4cfb Merge pull request #91 from calamares/services-module
New services module, inspired by Thus.
11 years ago
Teo Mrnjavac a23d7890c0 Merge pull request #92 from calamares/networkcfg-module
New networkcfg module, based on Thus.
11 years ago
Teo Mrnjavac da368c49e6 Merge pull request #93 from calamares/hwclock-module
New hwclock module, ported from Thus.
11 years ago
Teo Mrnjavac ee4a0f1cba Add support for full name, and user/host autocompletion and validation. 11 years ago
Teo Mrnjavac 6295f48ab7 Add removeDiacritics function to CalamaresUtils. 11 years ago
Teo Mrnjavac f21da0035d Refactor layouts in users page, add full name. 11 years ago
Teo Mrnjavac 7a3ce363b3 Add option to run process jobmodules in chroot. 11 years ago
Teo Mrnjavac 24f13d3ad1 New hwclock module, ported from Thus. 11 years ago
Teo Mrnjavac 1b54ec1039 New networkcfg module, based on Thus. 11 years ago
Teo Mrnjavac c6c5c6ebde New services module, inspired by Thus. 11 years ago
Aurélien Gâteau 75129131bb More todos 11 years ago
Aurélien Gâteau 97980f5fad Make PartitionSizeController handle cloning the partition for PartResizerWidget 11 years ago
Aurélien Gâteau df89a391c4 Do not try to dereference m_viewStep if it's invalid 11 years ago
Aurélien Gâteau 738427130b Update partitionmanager submodule: Fix devices without partition table not being listed 11 years ago
Aurélien Gâteau ddd8d7063c Doc++ 11 years ago
Teo Mrnjavac eb6b8ac613 Add check_chroot_output to Python interface. 11 years ago
Teo Mrnjavac f90bf469dd Add chrootOutput/check_chroot_output to libcalamares utils API. 11 years ago
Aurélien Gâteau 648befb9bb Add README.md 11 years ago
Aurélien Gâteau 044bd46ca3 Add missing license headers 11 years ago
Aurélien Gâteau 119a04ba3c Rename jobtests to partitionjobtests 11 years ago
Aurélien Gâteau 693e9229c8 Dispatch files in core/ gui/ and jobs/ dirs 11 years ago
Aurélien Gâteau 8e2b4050e7 clean ups 11 years ago
Aurélien Gâteau 315c0f0fc5 doc++ 11 years ago
Aurélien Gâteau 7978a8b279 Remove Context class 11 years ago
Aurélien Gâteau ec1836d802 dead code-- 11 years ago
Aurélien Gâteau ddb6813d26 Update partitionmanager submodule: merged origin/master into calamares 11 years ago
Aurélien Gâteau 62470ac4cf Update partitionmanager submodule: remove stray kcolorscheme.h include 11 years ago
Teo Mrnjavac f5b4de67c4 Properly load module config files with an explicit config path. 11 years ago
Teo Mrnjavac 70691068cb Fix sudoers setup in users module. 11 years ago
Aurélien Gâteau 1c9265cd21 Merge branch 'wip/resize-partition' 11 years ago
Aurélien Gâteau 9b30e27f5e update partitionmanager submodule: Nicer rendering of PartResizerWidget 11 years ago
Aurélien Gâteau 310fdc56d9 Set proper colors in PartResizeWidget 11 years ago
Aurélien Gâteau 055904b20a Coding style 11 years ago
Aurélien Gâteau 86481461fd Move color handling to a separate namespace 11 years ago
Aurélien Gâteau cf4416a171 Keep partition color if space is inserted/removed before it 11 years ago
Aurélien Gâteau 06e30b8290 Remove PartitionSizeWidget 11 years ago
Aurélien Gâteau 5c9c414988 Use PartResizerWidget in CreatePartitionDialog 11 years ago
Aurélien Gâteau 38c685dc10 Move code cloning the partition for PartResizerWidget to PMUtils 11 years ago
Aurélien Gâteau c109059eb7 Fix crash if widgets are deleted before new ones are set 11 years ago
Aurélien Gâteau 55f4231c92 EditExistingPartitionDialog: Visual resizing of partitions 11 years ago
Teo Mrnjavac 78a3f1ce57 Merge pull request #81 from calamares/config
Configuration refactor
11 years ago
Teo Mrnjavac 5400afa540 Fix settings.conf loading. 11 years ago
Teo Mrnjavac 014469c849 Improve logging in Module.cpp 11 years ago
Aurélien Gâteau c3efa65668 Make sure all PM filesystem classes are initialized early enough
If FileSystemFactory::init() is not called early enough, we won't get
access to some information such as the number of used sectors.
11 years ago
Teo Mrnjavac 88d5a301c9 Update Calamares modules documentation. 11 years ago
Teo Mrnjavac 83ad1fae0e Debug output in keyboard viewmodule. 11 years ago
Aurélien Gâteau b5c3928609 unsquashfs: Do not ignore rsync failures 11 years ago
Aurélien Gâteau b246a95606 Coding style 11 years ago
Aurélien Gâteau 493e368bf0 update partitionmanager submodule: Build PartResizerWidget 11 years ago
Teo Mrnjavac e9ef90990b Correctly load globalstorage fake. 11 years ago
Teo Mrnjavac 5c8fa759b0 Update testmodule.py for new config structure. 11 years ago
Teo Mrnjavac 8f10c21e5b Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
11 years ago
Teo Mrnjavac 75e9fd6aa3 Dracut module. 11 years ago
Aurélien Gâteau 415ad2c506 Fix empty error message 11 years ago
Aurélien Gâteau a267ef856e Check file system after the resize, like PM does 11 years ago
Aurélien Gâteau f5ccc616b9 Check file system before resizing: necessary for testResizePartition:shrink to pass 11 years ago
Aurélien Gâteau d48644a49c Improve prettyName of all jobs, log them in execJobList() 11 years ago
Aurélien Gâteau e2fe559f9d testResizePartition: more reliability tests
- use bigger partition sizes
- write a file before resizing, test it is the same after resizing
11 years ago
Aurélien Gâteau dac23c90a1 Implement MoveFileSystemJob: all testResizePartition tests pass 11 years ago
Aurélien Gâteau 4716b1c9b4 Coding style 11 years ago
Aurélien Gâteau 3db6d607ca move MoveFileSystemJob to its own file
It's going to be bigger than the others.
11 years ago
Aurélien Gâteau 249a28910a Make it possible to update message and details fields of a JobResult 11 years ago
Aurélien Gâteau 1314bf944f Update partitionmanager submodule: Include CopySourceDevice and CopyTargetDevice 11 years ago
Aurélien Gâteau f007810118 Implement SetPartGeometryJob and ResizeFileSystemJob
Now testResizePartition:grow and testResizePartition:shrink pass
11 years ago
Aurélien Gâteau 60a224e5cd 3MB is too small for ext4: set a bigger new size for shrink 11 years ago
Aurélien Gâteau 9dac375a31 Don't forget to queue the job! 11 years ago
Aurélien Gâteau 09c3240364 Scaffolding and tests for ResizePartitionJob 11 years ago
Aurélien Gâteau fc3f3eaa3a Update partitionmanager submodule: Make it possible to set partition sectors from the outside world 11 years ago
Teo Mrnjavac 84ec430729 Add some Python API docs. 11 years ago
Aurélien Gâteau e6c80ed5bd Coding style 11 years ago
Teo Mrnjavac 1d6c41e94d A timezone is a file, not a directory. 11 years ago
Aurélien Gâteau 9ce55bfb83 Introduce PartitionSizeWidget to reduce duplication between dialogs 11 years ago
Aurélien Gâteau e482481262 updatePartitionToCreate: avoid crash
Create the new partition before deleting the old one: otherwise the
m_partition member of dlg is dangling at the time we call createPartition()
11 years ago
Aurélien Gâteau 3d40527d29 Make it possible to "resize" (aka delete + create for now) existing partitions 11 years ago
Aurélien Gâteau df790986ae initcpio module, very loosely based on the one from the manjaro branch 11 years ago
Aurélien Gâteau 136d83f958 Add some test file for grub module 11 years ago
Aurélien Gâteau 6131ed212a Import check_chroot_call separately 11 years ago
Teo Mrnjavac 01efeda801 Utils, not util. 11 years ago
Teo Mrnjavac c964093d7c Make libcalamares a proper package and utils a proper submodule. 11 years ago
Aurélien Gâteau 43c88567af Use check_chroot_call 11 years ago
Aurélien Gâteau a1b7d3639e Some test data for fstab module 11 years ago
Aurélien Gâteau 2276ce56f4 Fix fat* filesystems translation 11 years ago
Aurélien Gâteau 87367d5abd fstab: Refactor to be able to add ssd-specific options 11 years ago
Teo Mrnjavac c64e229142 By default, chrootCall should never time out. 11 years ago
Teo Mrnjavac 45ac91c784 Add check_chroot_call to libcalamares Python interface. 11 years ago
Aurélien Gâteau 26e5500e33 chrootCall: Log messages on failure, as well as command outputs 11 years ago
Aurélien Gâteau 6376e1daef Start the process before calling waitForStarted() 11 years ago
Aurélien Gâteau 70a13fc588 Make logging more useful
- Do not log progress percent but log job names.
- Log install failures.
11 years ago
Aurélien Gâteau d175d199eb Rough chroot call failure check 11 years ago
Teo Mrnjavac 271b0945c9 Create jobs in locale viewmodule. 11 years ago
Teo Mrnjavac 34c5ac3182 Add SetTimezoneJob to locale viewmodule. 11 years ago
Teo Mrnjavac a311770e2f Use libcalamares.utils.chroot_call in grub jobmodule. 11 years ago
Teo Mrnjavac cc2e49c6ae Store keyboard layout information in GlobalStorage. 11 years ago
Aurélien Gâteau 7680578b61 Simplify unsquash code
- Merged UnpackEntry and UnpackStatusEntry. Created a entry_for_source dict.
- Removed dead code (update_copy_progress)
11 years ago
Aurélien Gâteau edc70c596b unsquashfs: Fix installation dir 11 years ago
Aurélien Gâteau 45101d15b0 Store log in ~/.cache by default 11 years ago
Teo Mrnjavac 57ee5ac26b Add autologinUser to GlobalStorage. 11 years ago
Aurélien Gâteau 1b695b7355 Fix crash when logging at exit time 11 years ago
Aurélien Gâteau 5126458040 Disable "Next" button if isNextEnabled() of first step returns false 11 years ago
Aurélien Gâteau a75b1809d8 Do not make dummypython fail 11 years ago
Aurélien Gâteau 90670f8b46 Improve formatting of error messages 11 years ago
Teo Mrnjavac b111027d57 Add SetPasswordJob in Users module, hook it all up. 11 years ago
Teo Mrnjavac 8e3002bfbb Add FindCrypt in the users module. 11 years ago
Teo Mrnjavac 46f5dab7fd CreateUserJob for Users viewmodule 11 years ago
Teo Mrnjavac fb32432548 UI for users viewmodule. 11 years ago
Aurélien Gâteau c655c99f67 Hide disk which contains /
Fixes #75
11 years ago
Aurélien Gâteau 551a6ff9ba Fix potential memleak 11 years ago
Aurélien Gâteau 9708669ac7 Use libcalamares.utils.mount 11 years ago
Aurélien Gâteau 0946789f9e Move mounting of special partitions from grub to mount 11 years ago
Aurélien Gâteau 8867f6bc67 Fix progress reporting 11 years ago
Aurélien Gâteau f371ffa696 Iterate on values, not on keys 11 years ago
Aurélien Gâteau 7a0fb52c83 Damn, forgot named tuples cannot be updated. Use a class instead 11 years ago
Aurélien Gâteau 9c27add968 Use os.path.join 11 years ago
Aurélien Gâteau 22299dc585 No need for UnpackEntry.source_dir 11 years ago
Aurélien Gâteau 638a5c021c More precise error handling 11 years ago
Aurélien Gâteau adda405f83 Do not use os.path.join with entry["destination"]
if it starts with a "/" then `destination` will be equal to entry["destination"]
11 years ago
Aurélien Gâteau ecb16dcdca Fix line counting 11 years ago
Aurélien Gâteau 47762d3812 No more need for sourceMountPath 11 years ago
Aurélien Gâteau 75a5bdac60 Fix fuzzy edges around keys (and a warning) 11 years ago
Aurélien Gâteau 03c5a38b90 Show a summary of the partition changes on the summary page 11 years ago
Teo Mrnjavac e7e57689d8 Make sure chrootCall with args list actually passes the args as list. 11 years ago
Teo Mrnjavac 122a6036d5 globalStorage ==> globalstorage fix 11 years ago
Teo Mrnjavac 2232c49471 Make dummypython work with current API. 11 years ago
Teo Mrnjavac 0d3a3a0b78 Fix dummypython for recent API change. 11 years ago
Teo Mrnjavac 63534f7154 Add mount and chrootCall utilities to libcalamares + Python wrappers. 11 years ago
Aurélien Gâteau e3a333e6e6 Prettier PartitionPreview 11 years ago
Aurélien Gâteau fe9e52ee0e PartitionModel: Add IsFreeSpaceRole 11 years ago
Aurélien Gâteau 0ea6f1698b First version of PartitionPreview 11 years ago
Aurélien Gâteau 93cb9fd426 New role for PartitionModel: SizeRole 11 years ago
Aurélien Gâteau 5fc07aad7c Expose colors for Qt::DecorationRole 11 years ago
Aurélien Gâteau 5c1336f2d5 Turn PartitionModel into a tree model
Fixes #12
11 years ago
Aurélien Gâteau e3a52745fc Fix assert failure when recreating partition table 11 years ago
Teo Mrnjavac 4b1975d3e2 PEPify unsquashfs 11 years ago
Teo Mrnjavac 2b097e7f3c PEPify umount 11 years ago
Teo Mrnjavac 2ba96d3b6b PEPify mount 11 years ago
Teo Mrnjavac 585dd20a34 Update README.md 11 years ago
Teo Mrnjavac 1c984c7bf9 PEPify grub 11 years ago
Teo Mrnjavac 98b62808de PEPify fstab 11 years ago
Teo Mrnjavac 906560ffee PEPify dummypython 11 years ago
Teo Mrnjavac 637242776c PEPify testmodule.py 11 years ago
Teo Mrnjavac b988c3ad72 PEPify API fakes in testmodule.py 11 years ago
Teo Mrnjavac fb328494b3 Make the libcalamares Python API better for PEP8 11 years ago
Teo Mrnjavac 5369038ed6 Add debug test to dummypython 11 years ago
Teo Mrnjavac 845ae05f7e Added debug( str ) to the Python API. 11 years ago
Aurélien Gâteau d30b6300ab Unbreak locating of config file when run without --config 11 years ago
Aurélien Gâteau 289704ab90 Make it possible to override the config dir from the command line 11 years ago
Teo Mrnjavac cb53cc41cb Remove __init__.py from unsquashfs 11 years ago
Teo Mrnjavac 422e78236b Make fileCopy in unsquashfs a single function 11 years ago
Teo Mrnjavac b48a66a2e5 Improve readability. 11 years ago
Teo Mrnjavac e937782a4e Fix some lousy error handling 11 years ago
Teo Mrnjavac 4fc2efb7fa Correctly report exit status from Python modules. 11 years ago
Teo Mrnjavac 87ee2b8b8c Improve error reporting for Python jobs. 11 years ago
Teo Mrnjavac 25d37b57dd Use named tuples in unsquashfs. 11 years ago
Teo Mrnjavac 1b4e56e97e Better call to rsync in unsquashfs. 11 years ago
Teo Mrnjavac c42d021b61 Unthreadify FileCopy in unsquashfs. 11 years ago
Teo Mrnjavac f44b8eb758 Count the files in the squashfs image without piping to wc -l. 11 years ago
Teo Mrnjavac cb2dcf7860 Use temp dir for mounting squashfs image. 11 years ago
Teo Mrnjavac 60dda7db49 Begin unsquashfs module, port copy operation from Thus. 11 years ago
Aurélien Gâteau 64f8748c49 Spaces fixes 11 years ago
Aurélien Gâteau 0b01c76687 Coding style 11 years ago
Aurélien Gâteau 9e8c02fa33 Basic fstab module
Misses the 'options' finetunes

Bug #66
11 years ago
Aurélien Gâteau 2d9142487b FillGlobalStorageJob: Add the partition UUID to global storage 11 years ago
Aurélien Gâteau 62d706543b Do not let the user pick a partition type when creating a partition of a GPT disk
Fixes #27
11 years ago
Teo Mrnjavac beafcd9cc4 Consistency: calamares_main ==> run; global_storage => globalStorage 11 years ago
Aurélien Gâteau fb6d80ccb6 Bring back tree view headers 11 years ago
Aurélien Gâteau bf72672cce Make double-clicking on a partition item in the list trigger edit/create 11 years ago
Aurélien Gâteau cd99f64344 Add mnemonics to UI elements 11 years ago
Aurélien Gâteau c3a91f1c8d Implement Revert
Fixes #14
11 years ago
Aurélien Gâteau 675b07799b Dead code-- 11 years ago
Aurélien Gâteau d476f9cba8 Make sure we show info of the first device in the device combo box 11 years ago
Aurélien Gâteau cb546d02f9 Sort device in DeviceModel by device node 11 years ago
Aurélien Gâteau 20521f278c Update doc 11 years ago
Aurélien Gâteau 0f23b8ad5c Add basic grub module. Not enabled for now because it requires a rootfs to work
Fixes #26
11 years ago
Aurélien Gâteau 545eef5761 Refactor mount module to make its code easier to reuse 11 years ago
Aurélien Gâteau 96ede98f27 Update partitionmanager submodule: fix cmake warning 11 years ago
Aurélien Gâteau 92114576ce Create umount module 11 years ago
Teo Mrnjavac 2a231b3532 Try to avoid passing GlobalStorage to Python by value. 11 years ago
Aurélien Gâteau aef2b7e9e7 We can now test mount with testmodule.py: remove the test main() 11 years ago
Aurélien Gâteau 35d2a10177 Remove \t tab to avoid failure in testmodule.py 11 years ago
Aurélien Gâteau e1877adf9c Make testmodule.py more Pythonic 11 years ago
Aurélien Gâteau f2ab67b28b Create bootLoader.installPath in GlobalStorage 11 years ago
Aurélien Gâteau 06a13637b6 Store current boot loader install path in PartitionCoreModule 11 years ago
Aurélien Gâteau ab4604258c Rework boot loader combo box
List MBR of all devices
Does not loose its selection when updated
11 years ago
Aurélien Gâteau c9c1917997 log-- 11 years ago
Aurélien Gâteau a39384eda7 Simplify 11 years ago
Aurélien Gâteau 484d7c4d15 Update partition path after partition has been created
Fixes #56
11 years ago
Teo Mrnjavac da83ecfb13 libcalamares.job is of type libcalamares.Job 11 years ago
Teo Mrnjavac ef28b7f2c1 Add job.setprogress to testmodule.py. 11 years ago
Teo Mrnjavac 78de11a412 Emit job progress from Python jobs. 11 years ago
Aurélien Gâteau 89fd6a950b Add support for per-job progress 11 years ago
Aurélien Gâteau e9da5cb6cb Change signature of JobQueue::progress, add finished() signal
Now uses a qreal for progress instead of current and total
Also added a finished() signal because determining whether the queue is
finished should not be done by comparing a qreal with 1.0 as this is not
precise.
11 years ago
Teo Mrnjavac 2636a1273f Add job.setprogress to Python API. 11 years ago
Teo Mrnjavac c6c2c67560 Rewrite Python error handling to show meaningful messages. 11 years ago
Aurélien Gâteau 0234415976 Add "mount" module 11 years ago
Aurélien Gâteau c8129898fc Introduce FillGlobalStorageJob 11 years ago
Aurélien Gâteau 7763587c01 Move PartitionIterator to its own file 11 years ago
Teo Mrnjavac ed0fd6d207 Merge pull request #54 from calamares/wip/job-order
Queue module jobs in the order they are listed in the "install" section of settings.conf
11 years ago