Teo Mrnjavac
d4bdef0be3
Add option of updating packages db before perfoming package operations.
2016-11-03 18:04:28 +01:00
Kevin Kofler
f43c600adc
[netinstall] Support selecting visible groups by default.
...
In other words, support:
hidden: false
selected: true
groups.
This was supposed to work according to README.md, but not actually
implemented. Now it should be working.
2016-11-03 18:04:15 +01:00
Philip
b7c121de9c
[users] add missing images
2016-11-01 05:52:58 +01:00
Philip
09f6392173
[users] enhance dialog
...
- multiple users management.
- ability to set different shells based on configuration.
- ability to select avatars from files and then copy them to a target location in the user's home directory. No specific location suggested due to differences between DEs on where to read avatars from.
2016-11-01 05:42:56 +01:00
Philip
0b4f015d3a
[displaymanager] set a preferred Xsession for autologin
2016-11-01 05:28:39 +01:00
Philip
0ceadc2b95
[displaymanager] use configparser and add better autologin handling
2016-10-31 18:02:50 +01:00
Philip
f42e904dba
[partition] remove sgdisk dependency
2016-10-31 11:06:04 +01:00
Philip
4752f70809
Merge pythonqt branch
2016-10-31 07:45:35 +01:00
Kevin Kofler
ff7cf9b9ec
New dummycpp C++ job module (ported from dummypython).
2016-10-28 21:02:30 +02:00
Philip
381f3e9bb3
Revert "Improve user-visible strings in SetPartFlagsJob."
...
This reverts commit fbe72b3663
.
2016-10-28 20:50:10 +02:00
Teo Mrnjavac
5e81ddecad
Only add LUKS keyfile if relevant, and with a 15s timeout.
2016-10-28 20:47:09 +02:00
Teo Mrnjavac
9a643431dd
Improve user-visible strings in SetPartFlagsJob.
2016-10-28 20:46:56 +02:00
Teo Mrnjavac
c61e53edf7
Add user to groups separately from useradd.
2016-10-28 20:46:32 +02:00
Philip
37df041b9c
[displaymanager] use same pattern for all str.format calls
2016-10-26 22:14:00 +02:00
Bernhard Landauer
b293f0320d
[displaymanager] add Deepin
2016-10-26 22:13:58 +02:00
Kevin Kofler
9d2291b74e
[grubcfg] Compare integers to integers, not strings.
...
target_env_call returns an integer, so do not compare its result to the
string "0".
2016-10-22 11:21:41 +02:00
V3n3RiX
a279eaf4fa
dracut : unlock encrypted swap if exists ( #267 )
...
* dracut : unlock encrypted swap if exists
* only check for swap_outer_uuid if dracut exists
2016-10-22 11:21:31 +02:00
V3n3RiX
e0dc6e03fd
Only write rd.luks.uuid if dracut is present and leave other initramfs generators clean ( #266 )
...
* add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut --nohostonly, and doesn't affect any other initramfs generators)
* typo
* only write rd.luks.uuid line if dracut is present, and leave other initramfs generators alone :D
* add missing = operator
2016-10-22 11:21:19 +02:00
V3n3RiX
f5793a760d
add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut… ( #265 )
...
* add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut --nohostonly, and doesn't affect any other initramfs generators)
* typo
2016-10-22 11:21:10 +02:00
Kevin Kofler
4a88223f6d
[dracutlukscfg] New module: pre-configuration for dracut+LUKS.
2016-10-22 11:21:02 +02:00
Kevin Kofler
4a7c469f96
[grubcfg] Fix mismatched quoting and escaping.
...
If we use .replace("'", "'\\''") for escaping, we also need to use
single quotes, not double quotes.
This was broken by the port from '%' to format, which also randomly
changed quoting characters for no good reason. Changing the outer ones
does not matter, but \" or ' within a string is not the same thing!
2016-10-22 11:20:54 +02:00
David McKinney
af8b0e84a4
[initramfscfg] New module: pre-configuration for update-initramfs.
...
Added an initramfscfg module to handle pre-configuration for the Debian
update-initramfs, such as installing hooks (needed for luks/FDE support
on Debian-based distros).
Closes #254 . (Cherry-picked from the pull request.)
2016-10-22 11:20:37 +02:00
Philip
87006eaa20
[services] proper DM check
2016-10-15 09:41:10 +02:00
Philip
9d18fb1ece
[services] don't configure DM if already configured
2016-10-14 18:55:02 +02:00
Teo Mrnjavac
499fd513b4
Use the target system's boot name in partitioning summary widget.
2016-10-14 18:37:35 +02:00
Kevin Kofler
eb6bb49d5a
[fstab] Write configurable options to crypttab (default: luks).
...
fstab.conf: Add a new "crypttabOptions" option that defaults to "luks".
Document that for Debian and Debian-based distributions, the
setting should be changed to "luks,keyscript=/bin/cat".
main.py: Append the options from the above setting to the end of every
line in crypttab.
At least the "luks" option should always be there, because there may be
different encryption types. The Debian initramfs-tools also require the
Debian-specific keyscript option and will otherwise ignore the keyfile
entirely (see pull request #254 ).
2016-10-14 18:37:19 +02:00
Kevin Kofler
17c0dd08c7
[fstab] Do not omit "/" from crypttab.
...
At least the Debian update-initramfs needs the entry to be there (see
pull request #254 ). Dracut will probably need it too. And logically, it
should be there.
2016-10-14 18:37:09 +02:00
Kevin Kofler
b6f8d6ae92
users: Drop dependency on chfn. ( #260 )
...
Pass the full name directly to useradd instead, using the "-c" (comment)
parameter, which is "currently used as the field for the user's full
name" according to the documentation.
The chfn utility is no longer installed by default on current Fedora
releases due to its dependency on libuser. (They split out chfn and chsh
from util-linux into an optional subpackage.) It could be added as a
dependency of Calamares, but since it is needed inside the chroot, it
has to be on the base live image, not the overlay. Thus, to allow
testing Calamares with a simple "dnf install calamares" again, the
dependency needs to go away. And it is unnecessary anyway.
2016-09-28 21:24:36 +02:00
Kevin Kofler
3edf1bb162
Fix locale filtering for UTF-8 on Fedora.
...
locale -a returns the locales using ".utf8" names rather than ".UTF-8".
The case-insensitive match does not help because it is "utf8" rather
than "UTF-8". So we need to match both with and without the dash.
2016-09-28 21:22:10 +02:00
Teo Mrnjavac
2a74fc423f
Make writeEtcDefaultKeyboard an option in keyboard.conf.
2016-09-28 21:22:07 +02:00
Teo Mrnjavac
431e6b8c03
Allow disabling automated LUKS modes.
2016-09-28 21:22:04 +02:00
udeved
9fe9320555
services: enable displaymanager via globalstorage
2016-09-27 19:28:31 +02:00
udeved
18f4b6e50c
servicescfg: fix typo
2016-09-23 22:37:23 +02:00
udeved
74c2090ebc
servicescfg: set pulse autospawn; clean up imports
2016-09-23 22:34:58 +02:00
Teo Mrnjavac
a1c4c23051
Remove target resolv.conf before proceeding.
2016-09-22 20:51:27 +02:00
Teo Mrnjavac
027ba074ed
Add support for writing keymap data to /etc/default/keyboard.
2016-09-22 20:51:16 +02:00
shainer
b6811c65e8
In the netinstall page, always show the arrow-down button.
...
The arrow no longer changes direction depending on whether
the button is clicked or not.
2016-09-21 20:35:15 +02:00
shainer
cb6f9ae576
In the netinstall page, fix the group button.
...
The button is "not checked" by default, and becomes
checked when clicked; the packageview becomes visible
when the button is checked.
2016-09-21 20:34:56 +02:00
udeved
8a3047f1ab
license: validate yaml conf
2016-09-19 09:29:52 +02:00
udeved
b593682c0c
servicescfg: validate yaml conf
2016-09-19 09:17:31 +02:00
udeved
2b00d28de2
postcfg: only attempt to rank mirrors if hasInternet
...
clean up imports
2016-09-17 23:03:55 +02:00
Teo Mrnjavac
021e3b20c6
Fix VFAT filename handling in bootloader module.
...
CAL-385 #close
2016-09-17 10:16:44 +02:00
Teo Mrnjavac
dcea99e278
Warning in debug output when the RequirementsChecker is misconfigured.
...
CAL-390 #close
2016-09-17 10:16:35 +02:00
udeved
c70e91fa9a
mhwdcfg:clean up imports; use target_env_call()
2016-09-12 18:51:38 +02:00
udeved
ac43d43409
mhwdcfg: adjust interation; update conf
2016-09-12 18:30:39 +02:00
Philip
7dfac7b5bf
[mhwdcfg] update conf file
...
- add 302 and 380 to gfx IDs
- disable usb as we don't have any config for that yet
2016-09-12 07:40:08 +02:00
Philip
fe92450e7b
[displaymanager] prefer Budgie before Gnome
2016-09-10 22:16:58 +02:00
Philip
06facb22cb
[servicescfg] add new module
2016-09-10 14:18:58 +02:00
Philip
6927ca6439
[chrootcfg] add new module
2016-09-10 14:17:47 +02:00
Philip
29392f24ee
[mhwdcfg] replace hardwarecfg
2016-09-10 14:17:04 +02:00
Philip
f03195150b
[hardwarecfg] remove module
2016-09-10 14:15:47 +02:00
Philip
5adf8775fa
[users] use upstream config
2016-09-10 14:10:43 +02:00
Philip
ff8be85b08
[modules] adjust to Manjaro configs
2016-09-10 14:01:50 +02:00
Philip
587681b14c
[postcfg] add new module
2016-09-10 13:56:05 +02:00
Philip
d7c8ff5a45
[hardwarecfg] add new module
2016-09-10 13:55:17 +02:00
Philip
295cf12b9a
[plymouthcfg] add module to configure Plymouth
2016-09-10 13:50:50 +02:00
Teo Mrnjavac
cbb2162ee9
Merge pull request #255 from stikonas/master
...
Port away from most cases of Q_FOREACH to C++11 ranged for loop.
2016-09-02 15:14:25 +02:00
Teo Mrnjavac
6c928e0404
Exclude ISO9660 volumes.
2016-09-02 15:12:48 +02:00
Teo Mrnjavac
ad219e1b8e
Exclude loop devices with mounted children from devices list.
2016-09-02 12:08:00 +02:00
Andrius Štikonas
9f0ca042fe
Port away from most cases of Q_FOREACH to C++11 ranged for loop.
...
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
2016-09-01 16:46:14 +01:00
Teo Mrnjavac
1a1657a7fc
Set timezone on the live system too.
2016-08-26 17:20:48 +02:00
Teo Mrnjavac
f2a087c348
Write timezone correctly.
2016-08-26 15:05:42 +02:00
Teo Mrnjavac
83b341b0f7
Handle a variety of case-insensitive situations on the VFAT ESP.
...
This fixes CAL-385 #close
2016-08-23 10:23:22 +02:00
udeved
c2d7890f3e
displaymanager: write process DM list to globalstorage so other modules can use it
2016-08-19 09:42:28 +02:00
Teo Mrnjavac
8daac2cba5
Recompute defaults after init.
2016-08-18 16:18:24 +02:00
Teo Mrnjavac
3146d2093e
Add support for freegeoip.net in locale module.
...
This is disabled by default. To enable, provide a geoipUrl setting in
locale.conf.
Relies on the RequirementsChecker output, in the welcome module.
2016-08-18 15:38:41 +02:00
Teo Mrnjavac
cd1268cb63
Fix defaults.
2016-08-18 15:30:08 +02:00
Teo Mrnjavac
9a1c65a23e
Style.
2016-08-18 15:29:32 +02:00
Teo Mrnjavac
0521f8a3b9
Be sure to always write hasInternet into GlobalStorage.
2016-08-18 15:28:55 +02:00
Teo Mrnjavac
6926f239f7
Write hasInternet into GlobalStorage.
2016-08-18 11:27:53 +02:00
Philip Müller
239c7534d2
[locale] default to the states
...
Since our default locale setting is **en_US** anyway, it makes more sense to default to New York.
2016-08-15 10:06:06 +02:00
V3n3RiX
ef3600891f
improve portage backend, so that it removes ALL calamares deps
2016-08-12 15:32:35 +01:00
Teo Mrnjavac
701d7d8a62
Be sure to validate user name even if empty.
2016-08-12 12:40:15 +02:00
Teo Mrnjavac
e6cabe277b
Fix locale names and user-visible locale names.
2016-08-10 16:10:06 +02:00
Teo Mrnjavac
2b26f6e6c9
Fix localecfg to work with new locale module.
2016-08-10 12:11:48 +02:00
Teo Mrnjavac
dee87f68aa
And in GS, it's called localeConf now.
2016-08-10 11:47:36 +02:00
Teo Mrnjavac
160d00a47a
Write locales map into GS.
2016-08-10 11:47:24 +02:00
Teo Mrnjavac
8f44f76443
Use LocaleConfiguration in LocalePage. Add relevant widgets.
...
Also fix error reporting.
Move guesswork to LocaleConfiguration + a total rewrite.
Locale is now a LocaleConfiguration, that converts to QMap.
2016-08-10 11:45:22 +02:00
Teo Mrnjavac
f60f1c6220
New LocaleConfiguration class which also deals with locale guesswork.
2016-08-10 11:43:13 +02:00
Teo Mrnjavac
471d94a02e
Read country codes from zone.tab.
2016-08-10 11:43:13 +02:00
Teo Mrnjavac
2e27c3b84b
Don't try to overwrite resolv.conf in no-chroot mode.
2016-08-02 13:25:33 +02:00
Teo Mrnjavac
5e12096e4b
Only use UTF-8 locales.
2016-08-02 13:25:33 +02:00
Teo Mrnjavac
849137c20b
Use UUIDs instead of paths to match osprober entries with partitions.
2016-07-28 17:53:54 +02:00
Teo Mrnjavac
811261258b
Try to load filesystem UUIDs into the OsproberEntryList structure.
2016-07-28 17:53:54 +02:00
Teo Mrnjavac
f13f6a1faf
Add filesystem UUID to OsproberEntry structure.
2016-07-28 17:53:54 +02:00
Teo Mrnjavac
18b6e56271
nullptr safety.
2016-07-28 17:53:54 +02:00
Teo Mrnjavac
754cfc78b3
Make che color cache indexed by UUID instead of by path.
2016-07-28 17:53:54 +02:00
Philip
8768c3af66
[machineid] simplify code
2016-07-28 02:37:51 +02:00
Philip
ca9f4bc053
[manchineid] proper cleanup
2016-07-28 02:00:47 +02:00
Philip
24c0da3fb1
[machineid] fix copyright
2016-07-28 01:28:53 +02:00
Philip
23789675c8
[machineid] cleanup first
...
- to garantie a random new ID also dbus machine-id needs to be removed
2016-07-28 01:27:41 +02:00
Teo Mrnjavac
003456594e
Try with new enumeration but no cache reset.
2016-07-27 16:55:22 +02:00
Teo Mrnjavac
1da4360ed6
Go on with colors enumeration even when there's a new partition.
2016-07-27 16:53:17 +02:00
Teo Mrnjavac
c08eecbbaf
Invalidate colors cache on delete.
2016-07-27 16:49:53 +02:00
Teo Mrnjavac
9f1f3a8f54
Add invalidateCache to ColorUtils.
2016-07-27 16:49:13 +02:00
Teo Mrnjavac
39782f80c9
Fix warnings.
2016-07-27 13:38:30 +02:00
Teo Mrnjavac
01607d878a
Write more LC variables in localecfg.
2016-07-26 17:39:55 +02:00
Teo Mrnjavac
41ee4096a6
Merge pull request #244 from hmikihth/master
...
Support the already mounted loop fs (example in the blackPanther OS)
2016-07-26 10:05:53 +02:00
Teo Mrnjavac
e9da3acd95
Fix EncryptWidget height.
2016-07-22 16:36:26 +02:00
Teo Mrnjavac
04ab71bad9
Fix default new partition text.
2016-07-22 16:36:26 +02:00