Commit Graph

11479 Commits

Author SHA1 Message Date
Teo Mrnjavac
422e78236b Make fileCopy in unsquashfs a single function 2014-07-28 17:57:53 +02:00
Teo Mrnjavac
b48a66a2e5 Improve readability. 2014-07-28 17:51:35 +02:00
Teo Mrnjavac
e937782a4e Fix some lousy error handling 2014-07-28 17:46:56 +02:00
Teo Mrnjavac
4fc2efb7fa Correctly report exit status from Python modules. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
87ee2b8b8c Improve error reporting for Python jobs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
25d37b57dd Use named tuples in unsquashfs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
1b4e56e97e Better call to rsync in unsquashfs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
c42d021b61 Unthreadify FileCopy in unsquashfs. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
f44b8eb758 Count the files in the squashfs image without piping to wc -l. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
cb2dcf7860 Use temp dir for mounting squashfs image. 2014-07-28 17:40:57 +02:00
Teo Mrnjavac
60dda7db49 Begin unsquashfs module, port copy operation from Thus. 2014-07-28 17:40:57 +02:00
Aurélien Gâteau
64f8748c49 Spaces fixes 2014-07-28 15:00:30 +02:00
Aurélien Gâteau
0b01c76687 Coding style 2014-07-28 15:00:17 +02:00
Aurélien Gâteau
9e8c02fa33 Basic fstab module
Misses the 'options' finetunes

Bug #66
2014-07-28 14:59:22 +02:00
Aurélien Gâteau
2d9142487b FillGlobalStorageJob: Add the partition UUID to global storage 2014-07-28 14:58:06 +02:00
Aurélien Gâteau
62d706543b Do not let the user pick a partition type when creating a partition of a GPT disk
Fixes #27
2014-07-28 11:45:13 +02:00
Aurélien Gâteau
feee2b3b60 Document keys in GlobalStorage 2014-07-25 16:50:05 +02:00
Teo Mrnjavac
beafcd9cc4 Consistency: calamares_main ==> run; global_storage => globalStorage 2014-07-25 16:46:12 +02:00
Aurélien Gâteau
fb6d80ccb6 Bring back tree view headers 2014-07-25 13:13:04 +02:00
Aurélien Gâteau
bf72672cce Make double-clicking on a partition item in the list trigger edit/create 2014-07-25 13:07:22 +02:00
Aurélien Gâteau
cd99f64344 Add mnemonics to UI elements 2014-07-25 12:46:20 +02:00
Aurélien Gâteau
c3a91f1c8d Implement Revert
Fixes #14
2014-07-24 19:28:53 +02:00
Aurélien Gâteau
675b07799b Dead code-- 2014-07-24 19:26:57 +02:00
Aurélien Gâteau
d476f9cba8 Make sure we show info of the first device in the device combo box 2014-07-24 19:26:19 +02:00
Aurélien Gâteau
cb546d02f9 Sort device in DeviceModel by device node 2014-07-24 19:24:40 +02:00
Mateusz Mikołajczyk
2644e01cff update README.md with list of needed system packages 2014-07-24 19:03:49 +02:00
Aurélien Gâteau
20521f278c Update doc 2014-07-24 17:51:51 +02:00
Aurélien Gâteau
0f23b8ad5c Add basic grub module. Not enabled for now because it requires a rootfs to work
Fixes #26
2014-07-24 17:17:40 +02:00
Aurélien Gâteau
545eef5761 Refactor mount module to make its code easier to reuse 2014-07-24 17:14:56 +02:00
Aurélien Gâteau
96ede98f27 Update partitionmanager submodule: fix cmake warning 2014-07-24 14:00:56 +02:00
Aurélien Gâteau
92114576ce Create umount module 2014-07-24 13:51:14 +02:00
Teo Mrnjavac
2a231b3532 Try to avoid passing GlobalStorage to Python by value. 2014-07-24 12:19:14 +02:00
Aurélien Gâteau
aef2b7e9e7 We can now test mount with testmodule.py: remove the test main() 2014-07-24 10:17:46 +02:00
Aurélien Gâteau
35d2a10177 Remove \t tab to avoid failure in testmodule.py 2014-07-24 10:16:51 +02:00
Aurélien Gâteau
7cdfc38766 Ignore Python files 2014-07-24 10:16:09 +02:00
Aurélien Gâteau
e1877adf9c Make testmodule.py more Pythonic 2014-07-24 10:15:16 +02:00
Aurélien Gâteau
b3ba56a829 Indeed CMake, a list is not a directory...
After testing a Python module, the build was broken because the test
created a __pycache__ dir, which CMake tried to install as a file because:

a) `if(IS_DIRECTORY foo)` requires a full path to work

b) For CMake, `IS_DIRECTORY(foo)` is not the same as `IS_DIRECTORY foo`

c) CMake is a pain sometimes
2014-07-24 10:14:42 +02:00
Aurélien Gâteau
f2ab67b28b Create bootLoader.installPath in GlobalStorage 2014-07-23 18:16:55 +02:00
Aurélien Gâteau
06a13637b6 Store current boot loader install path in PartitionCoreModule 2014-07-23 18:15:46 +02:00
Aurélien Gâteau
ab4604258c Rework boot loader combo box
List MBR of all devices
Does not loose its selection when updated
2014-07-23 18:14:27 +02:00
Aurélien Gâteau
c9c1917997 log-- 2014-07-23 15:05:01 +02:00
Aurélien Gâteau
a39384eda7 Simplify 2014-07-23 15:04:40 +02:00
Aurélien Gâteau
484d7c4d15 Update partition path after partition has been created
Fixes #56
2014-07-23 14:34:06 +02:00
Aurélien Gâteau
7108718104 Bring back partition and mount modules 2014-07-23 14:33:08 +02:00
Teo Mrnjavac
da83ecfb13 libcalamares.job is of type libcalamares.Job 2014-07-23 13:02:42 +02:00
Teo Mrnjavac
ef28b7f2c1 Add job.setprogress to testmodule.py. 2014-07-23 13:01:30 +02:00
Teo Mrnjavac
78de11a412 Emit job progress from Python jobs. 2014-07-23 12:54:53 +02:00
Aurélien Gâteau
89fd6a950b Add support for per-job progress 2014-07-23 12:04:27 +02:00
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.
2014-07-23 10:58:08 +02:00
Teo Mrnjavac
2636a1273f Add job.setprogress to Python API. 2014-07-22 18:05:58 +02:00