Teo Mrnjavac
c2d6237d31
Merge pull request #119 from calamares/efi
...
adding new bootloader job
2014-10-16 21:08:30 +02:00
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.
2014-10-16 19:34:43 +02:00
Rohan Garg
b8b2c2b735
Properly break lines in Python
2014-10-16 19:00:44 +02:00
Teo Mrnjavac
2e2bd78deb
Use Branding in partition viewmodule.
2014-10-16 17:00:08 +02:00
Teo Mrnjavac
4c51d320f6
Use branding in Prepare viewmodule.
2014-10-16 16:59:29 +02:00
Teo Mrnjavac
8e38a03cca
Branding in greeting module.
2014-10-16 16:58:58 +02:00
Teo Mrnjavac
90e10f63fa
Use Branding in main window.
2014-10-16 16:58:36 +02:00
Teo Mrnjavac
7594c85f2e
Add ImageRegistry support to Branding.
2014-10-16 16:57:52 +02:00
Teo Mrnjavac
5e8ab97de4
Actually load branding data from default component.
2014-10-16 16:15:31 +02:00
Rohan Garg
6513c6400e
Handle line breaks properly
2014-10-15 12:51:43 +02:00
Teo Mrnjavac
fc60bcb313
Update partitionmanager submodule.
2014-10-15 10:29:53 +02:00
demmm
58bc7c86c1
remove globalstorage entry for efi
2014-10-14 10:47:21 -04:00
Rohan Garg
f9bd0dfcfc
Make sure the hwinfo executable exists before calling it
2014-10-14 15:41:20 +02:00
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.
2014-10-14 15:09:38 +02:00
Teo Mrnjavac
9c10b49802
Check if the filesystem to be resized actually supports grow/shrink.
2014-10-14 11:48:19 +02:00
demmm
7a310ef27b
rename grub to bootloader calls
2014-10-12 18:21:28 -04:00
demmm
c1a1399958
adding new bootloader job
...
options are to use grub for BIOS, gummiboot for efi
set extra mountpoint when efi is found
2014-10-12 13:45:02 -04:00
Teo Mrnjavac
a58857baa6
Hook up the branding component code path in CalamaresApplication.
2014-10-10 18:18:59 +02:00
Teo Mrnjavac
2182918476
Groundwork for branding loader/manager.
2014-10-10 18:18:35 +02:00
Teo Mrnjavac
97cf2a796c
Load branding component name from Settings.
2014-10-10 18:13:02 +02:00
Teo Mrnjavac
f952b44922
Works better when you actually add it to CMakeLists.txt.
2014-10-10 18:11:27 +02:00
Teo Mrnjavac
8618d85b8f
Dummy default branding component.
2014-10-10 18:10:50 +02:00
Teo Mrnjavac
006f0e3eef
Make sure the window doesn't grow out of QScreen bounds.
2014-10-09 18:10:11 +02:00
Teo Mrnjavac
9e84581354
Only add wheel to sudoers if a wheel group is defined in conf.
2014-10-08 15:35:27 +02:00
Teo Mrnjavac
ad68ce0187
Make default groups, users group and autologin group configurable.
2014-10-08 15:05:23 +02:00
Teo Mrnjavac
0d1fb79ec8
New config file for users module.
2014-10-08 15:02:27 +02:00
Teo Mrnjavac
ce407a5ec4
Use good old C++ template instead of auto parameter which needs C++1y.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
961eadada4
New UI and logic for Alongside autopartitioning+install.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
08a2ab94e7
Use PMUtils::findPartitionByPath in PVS + fix back button in Alongside.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
2347ead200
Remove bad debug feature.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
6d60ca5e63
Fix item order in ChoicePage
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
6bd5736d35
Add findPartitionByPath to PMUtils
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
51d12b2b35
The vfat driver apparently supports FAT16 too, be consistent.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
482b2c0da2
Fix fstype names for mount -t syntax.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
e7995ad540
Improve Osprober logic to immediately check if entries are resizable.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
9ebc881223
Prevent segfault on exit when module not found.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
045d9cdf8c
Fix layout in partitioning choice page.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
faa39e1746
Enable resize+alongside radiobutton if osprober reports multiple lines.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
0801756cd1
Stub for Alongside page, and logic to detect if alongside is possible.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
dbd6573ed4
Write required disk space into GlobalStorage.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
c070b1c836
Const correctness.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
c6eb0721d9
Check for root mount point before going ahead.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
aeb20761cc
Add preview and partitioning operations to Erase+Autopartition code path
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
8a50685c75
Add clearJobs to PCM
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
b7f2d5d9d3
Fix page flow issue in partition module.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
a943d55063
Size policy on erase page.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
fdaea27475
Attempt at a window size fix.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
ef703b0859
Add page for erase+install operation.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
dab5a05116
Add isDirty check to PartitionCoreModule
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
4cadbf9b98
Expose icon and tooltip in DeviceModel.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
a98a4bb614
Add ChoicePage to partition module + OS detection with os-prober.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
73246b47c6
Prefer nullptr over 0.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
d39e77f7e8
New PrettyRadioButton, an alternative to QRadioButton with rich text.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
4d9f887c58
Make the prepare viewmodule use WaitingWidget
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
8651b33843
Make the locale viewmodule use WaitingWidget.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
13ccede630
Add new icons to CalamaresUtilsGui
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
41cb09ea01
Add ClickableLabel, a QLabel which emits the clicked signal.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
382317dcaf
Added WaitingWidget to libcalamaresui, wrapper for QtWaitingSpinner
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
b14a715300
Add icons to qrc.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
33569085b7
Merge pull request #116 from plfiorini/packages
...
Add packages job
2014-09-22 17:43:21 +02:00
Pier Luigi Fiorini
5624132172
Add packages job
...
This job can be used to install and remove packages.
2014-09-01 21:48:35 +02:00
Teo Mrnjavac
14130ae9c0
Only allow a ViewStep to change next button status if it's active now.
2014-09-01 12:49:24 +02:00
demmm
631649ea69
1.0 Gb RAM should be a good default
2014-08-27 16:17:03 -04:00
Teo Mrnjavac
a9aa3e9aa6
Show an error or warning if there are unsatisfied requirements.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
2182fd2f0c
Add info and fail icons to libcalamaresui.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
5434a04ebc
Block the install process if an entry is required but unsatisfied.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
87711c89fc
Use common icons in users viewmodule.
2014-08-26 18:24:51 +02:00
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.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
0404413b05
Store active user in GlobalStorage as username.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
3bef0b835a
Check for mains power in prepare viewmodule.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
26419f2c8a
Check for internet connection in prepare viewmodule.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
b32bbf2b9a
Add check for enough RAM to prepare viewmodule.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
03800e2966
Newline at end of file.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
9563b2efc7
WIP: new prepare viewmodule, with free space check using libparted.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
1bb6603998
Move spinner widget to libcalamaresui.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
cbfad6f637
Merge pull request #100 from calamares/initcpiocfg
...
New initcpiocfg module, ported from Thus.
2014-08-22 16:37:14 +02:00
Teo Mrnjavac
c70071406f
Merge pull request #99 from calamares/grubcfg
...
New grubcfg module, ported from Thus.
2014-08-21 17:56:57 +02:00
Pier Luigi Fiorini
2133880fdb
dracut: Don't read settings
...
This module doesn't have settings yet so this call fails.
2014-08-21 15:09:56 +02:00
Pier Luigi Fiorini
b40f3bf4bb
Initialize globalstorage before loading custom configuration
2014-08-20 19:24:07 +02:00
Teo Mrnjavac
b51cfd6a45
Merge pull request #106 from plfiorini/settingsconf
...
Try to find settings.conf from SYSCONFDIR
2014-08-20 14:34:54 +02:00
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.
2014-08-20 11:48:30 +02:00
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.
2014-08-19 20:47:46 +02:00
Daniel Hillenbrand
c97251d741
unpackfs: check for supported filesystems
...
Use /proc/filesystems to check if the system
supportes the given source filesystem.
2014-08-19 19:53:59 +02:00
Daniel Hillenbrand
148a29d506
unpackfs: code dedup
2014-08-19 19:12:48 +02:00
Philip
9de863a1af
New initcpiocfg module, ported from Thus.
2014-08-19 15:54:02 +02:00
Philip
82237d1bd1
grubcfg: group variables
2014-08-19 15:46:36 +02:00
Philip
0c4e8863cf
grubcfg: set swap_uuid variable
2014-08-19 15:28:12 +02:00
Philip
5b336fc3c5
New grubcfg module, ported from Thus.
2014-08-19 14:57:22 +02:00
Teo Mrnjavac
35f0dfc76d
List all files recursively.
2014-08-19 12:07:17 +02:00
Teo Mrnjavac
8ce769184e
Check for fs name validity.
2014-08-19 12:02:03 +02:00
Philip
37426b9f7a
Replace unsquashfs with unpackfs
...
Conflicts:
src/modules/unsquashfs/unsquashfs.conf
2014-08-19 11:55:34 +02:00
Teo Mrnjavac
ea32ba6a83
Compare with None
2014-08-19 11:51:54 +02:00
Teo Mrnjavac
ec7edc4b83
Improve diacritics transliteration.
2014-08-19 11:14:26 +02:00
Philip
ba1006a965
Fix autologin in displaymanager module
2014-08-18 21:46:44 +02:00
Teo Mrnjavac
52656190af
Documentation.
2014-08-18 09:38:01 +02:00
Teo Mrnjavac
fea3b68d61
s/AutoUser/User/
2014-08-18 09:30:45 +02:00
Teo Mrnjavac
bdc3185dbe
Let's assume for now that the ISO must ship a sddm.conf.
2014-08-18 09:29:19 +02:00
Teo Mrnjavac
fd4c93c485
Create sddm.conf if it doesn't exist.
2014-08-18 09:24:43 +02:00
Teo Mrnjavac
d6d40d44ee
PEP8 displaymanager.
2014-08-18 09:24:43 +02:00
Teo Mrnjavac
d93b8b9d44
New displaymanager module, based on Thus.
2014-08-18 09:24:43 +02:00
Teo Mrnjavac
9ba06a4cfb
Merge pull request #91 from calamares/services-module
...
New services module, inspired by Thus.
2014-08-13 18:13:46 +02:00
Teo Mrnjavac
a23d7890c0
Merge pull request #92 from calamares/networkcfg-module
...
New networkcfg module, based on Thus.
2014-08-13 18:13:10 +02:00
Teo Mrnjavac
da368c49e6
Merge pull request #93 from calamares/hwclock-module
...
New hwclock module, ported from Thus.
2014-08-13 18:12:23 +02:00
Teo Mrnjavac
ee4a0f1cba
Add support for full name, and user/host autocompletion and validation.
2014-08-13 17:16:54 +02:00
Teo Mrnjavac
6295f48ab7
Add removeDiacritics function to CalamaresUtils.
2014-08-13 17:15:56 +02:00
Teo Mrnjavac
f21da0035d
Refactor layouts in users page, add full name.
2014-08-12 17:33:19 +02:00
Teo Mrnjavac
7a3ce363b3
Add option to run process jobmodules in chroot.
2014-08-12 14:26:10 +02:00
Teo Mrnjavac
24f13d3ad1
New hwclock module, ported from Thus.
2014-08-12 11:03:03 +02:00
Teo Mrnjavac
1b54ec1039
New networkcfg module, based on Thus.
2014-08-11 16:30:01 +02:00
Teo Mrnjavac
c6c5c6ebde
New services module, inspired by Thus.
2014-08-11 15:13:28 +02:00
Aurélien Gâteau
75129131bb
More todos
2014-08-09 11:51:29 +02:00
Aurélien Gâteau
97980f5fad
Make PartitionSizeController handle cloning the partition for PartResizerWidget
2014-08-09 11:31:00 +02:00
Aurélien Gâteau
df89a391c4
Do not try to dereference m_viewStep if it's invalid
2014-08-09 09:10:26 +02:00
Aurélien Gâteau
738427130b
Update partitionmanager submodule: Fix devices without partition table not being listed
2014-08-08 18:45:46 +02:00
Aurélien Gâteau
ddd8d7063c
Doc++
2014-08-08 16:57:22 +02:00
Teo Mrnjavac
eb6b8ac613
Add check_chroot_output to Python interface.
2014-08-08 14:20:09 +02:00
Teo Mrnjavac
f90bf469dd
Add chrootOutput/check_chroot_output to libcalamares utils API.
2014-08-08 14:17:34 +02:00
Aurélien Gâteau
648befb9bb
Add README.md
2014-08-08 13:40:09 +02:00
Aurélien Gâteau
044bd46ca3
Add missing license headers
2014-08-08 13:39:40 +02:00
Aurélien Gâteau
119a04ba3c
Rename jobtests to partitionjobtests
2014-08-08 13:39:19 +02:00
Aurélien Gâteau
693e9229c8
Dispatch files in core/ gui/ and jobs/ dirs
2014-08-08 13:25:56 +02:00
Aurélien Gâteau
8e2b4050e7
clean ups
2014-08-08 12:37:01 +02:00
Aurélien Gâteau
315c0f0fc5
doc++
2014-08-08 12:37:01 +02:00
Aurélien Gâteau
7978a8b279
Remove Context class
2014-08-08 12:37:01 +02:00
Aurélien Gâteau
ec1836d802
dead code--
2014-08-08 12:37:01 +02:00
Aurélien Gâteau
ddb6813d26
Update partitionmanager submodule: merged origin/master into calamares
2014-08-08 10:35:06 +02:00
Aurélien Gâteau
62470ac4cf
Update partitionmanager submodule: remove stray kcolorscheme.h include
2014-08-08 08:54:12 +02:00
Teo Mrnjavac
f5b4de67c4
Properly load module config files with an explicit config path.
2014-08-07 18:05:46 +02:00
Teo Mrnjavac
70691068cb
Fix sudoers setup in users module.
2014-08-07 17:56:52 +02:00
Aurélien Gâteau
1c9265cd21
Merge branch 'wip/resize-partition'
2014-08-07 17:40:03 +02:00
Aurélien Gâteau
9b30e27f5e
update partitionmanager submodule: Nicer rendering of PartResizerWidget
2014-08-07 17:30:07 +02:00
Aurélien Gâteau
310fdc56d9
Set proper colors in PartResizeWidget
2014-08-07 17:26:26 +02:00
Aurélien Gâteau
055904b20a
Coding style
2014-08-07 17:25:45 +02:00
Aurélien Gâteau
86481461fd
Move color handling to a separate namespace
2014-08-07 17:24:39 +02:00
Aurélien Gâteau
cf4416a171
Keep partition color if space is inserted/removed before it
2014-08-07 16:13:46 +02:00
Aurélien Gâteau
06e30b8290
Remove PartitionSizeWidget
2014-08-07 13:05:16 +02:00
Aurélien Gâteau
5c9c414988
Use PartResizerWidget in CreatePartitionDialog
2014-08-07 13:04:02 +02:00
Aurélien Gâteau
38c685dc10
Move code cloning the partition for PartResizerWidget to PMUtils
2014-08-07 12:59:24 +02:00
Aurélien Gâteau
c109059eb7
Fix crash if widgets are deleted before new ones are set
2014-08-07 12:58:28 +02:00
Aurélien Gâteau
55f4231c92
EditExistingPartitionDialog: Visual resizing of partitions
2014-08-06 18:31:46 +02:00
Teo Mrnjavac
78a3f1ce57
Merge pull request #81 from calamares/config
...
Configuration refactor
2014-08-06 17:42:35 +02:00
Teo Mrnjavac
5400afa540
Fix settings.conf loading.
2014-08-06 17:23:40 +02:00
Teo Mrnjavac
014469c849
Improve logging in Module.cpp
2014-08-06 16:16:25 +02:00
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.
2014-08-06 16:15:34 +02:00
Teo Mrnjavac
88d5a301c9
Update Calamares modules documentation.
2014-08-06 15:50:39 +02:00
Teo Mrnjavac
83ad1fae0e
Debug output in keyboard viewmodule.
2014-08-06 15:37:21 +02:00
Aurélien Gâteau
b5c3928609
unsquashfs: Do not ignore rsync failures
2014-08-06 15:11:10 +02:00
Aurélien Gâteau
b246a95606
Coding style
2014-08-06 15:11:10 +02:00
Aurélien Gâteau
493e368bf0
update partitionmanager submodule: Build PartResizerWidget
2014-08-06 15:08:19 +02:00
Teo Mrnjavac
e9ef90990b
Correctly load globalstorage fake.
2014-08-06 12:57:12 +02:00