| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Perl 5.28, Perl has used the thread-safe uselocale() functions
from the C standard library when setting the locale. Once a thread-safe
locale setting has been made, the Locale::gettext functions will use
those settings, not the global locale settings. So calling the drakx
c::setlocale() and c::init_setlocale() functions, which still use the
underlying setlocale() function from the C standard library normally
has no effect. However, prior to Perl 5.38, there was a bug in Perl
that could cause the main thread to revert to using the global locale
settings, and it it would seem this bug was being triggered by the
stage2 installer, meaning it still properly translated the UI after
the language selection step. Now we have a newer version of Perl, this
is no longer so, and the UI contiues to be in English after the user
has selected a different language (mga#34656).
The POSIX::setlocale() function affects the thread-safe locale, so can
be used to fix this bug.
This patch removes the c::setlocale() function to prevent reintroduction
of this bug, and moves the c::init_locale() function to the common module.
|
| |
|
|
|
|
|
| |
If the efivarfs was already mounted in the installer runtime environment,
the previous code would detect that and not mount it in the installed
system enviroment. Currently this doesn't happen unless the user manually
mounts it, but protect against that and against future changes.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Partially tested on Amazon EC2, instance still didn't boot (as it
needed it to be installed in removable mode (EFI/boot/bootaa64.efi)
to be found) but at least drakboot --boot worked (except for
failing to enabled acpid service) and things seem to be in the
expected place.
|
| |
|
|
| |
Needed for next commit.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
MCC also needs a separate fix for forcing using the X11 GDK backend b/c
GtkPlug/Socket do not work under Wayland, thus relying on xwayland
XFdrake will probably fails the same way under wayland, but anyway it's
there for configuring xserver...
It should probably checks for wayland before proposing to test
|
| |
|
|
| |
it'll be reused in compssUsers.pl
|
| | |
|
| |
|
|
| |
thus fixing mga#12490
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
they're obsolete since switching from CVS/SVN to git...
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
consolehelper is outdated and unreliable. We now prefer polkit and just do a simple
test to see if we are root and bail if not.
https://wiki.mageia.org/en/Feature:SystemdTidyups#consolehelper.2Fuserhelper_vs._polkit
|
| |
|
|
| |
thus fixing comment in license text
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loading of syscall.ph through
any->detect_devices>modules>list_modules>MDK::Common>MDK::Common::System>syscall.ph
This can end in crashing mgaaplet when performing live update (mga#3042)
because of lazy loading of syscall (by which time perl may as well have been
updated including syscall.ph which leave eg perl/5.12.x for perl/5.14.x)
This also saves quite some memory for:
- net_applet (5Mb aka 11%),
- mgapplet (7Mb aka 14%)
(as well as maybe for drakxnet but that's more transient):
21736 root 20 0 240m 44m 10m S 0 1.1 0:00.63 net_applet
21501 root 20 0 236m 39m 11m S 0 1.0 0:01.09 net_applet
23116 root 20 0 297m 50m 12m S 0 1.3 0:00.58 mgaapplet
23259 root 20 0 290m 43m 12m S 0 1.1 0:00.40 mgaapplet
|
| |
|
|
|
|
|
|
| |
callers should probably just use mkstemp in /tmp instead of relying on
$TMPDIR || $ENV{HOME}/tmp
or we should just move the choice of directoyr from callers to here,
sg like:
my $tmpdir = find { -d $_ } $ENV{TMPDIR}, "$ENV{HOME}/tmp", "$::prefix/tmp";
|
| | |
|
| |
|
|
| |
(mga#1396)
|
| |
|
|
| |
consistency with others distributions
|
| | |
|
| |
|
|
|
| |
- use 'LDAP' instead of 'Ldap'
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with Mageia.
This commit consitsts of the following subversion commits:
------------------------------------------------------------------------
r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line
Add drakx structure on the SVN
------------------------------------------------------------------------
r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line
Import cleaned advertising
------------------------------------------------------------------------
r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line
Import Clean perl-install
------------------------------------------------------------------------
r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line
Add cleaned files
------------------------------------------------------------------------
r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line
Import cleaned kernel
------------------------------------------------------------------------
r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line
Import cleaned tools
------------------------------------------------------------------------
r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line
Import stage1
------------------------------------------------------------------------
r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line
Import images
------------------------------------------------------------------------
r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines
readd missing file
------------------------------------------------------------------------
r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line
Import rescue
------------------------------------------------------------------------
r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines
import cleaned rescue for Mageia
------------------------------------------------------------------------
r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line
import (cleaned) doc
------------------------------------------------------------------------
|
| |
|
|
|
| |
(for future use)
|
| |
|
|
|
|
|
| |
and pass "reason" and version to urpmi.addmedia
- we also parse {version} field out of /etc/release
|
| |
|
|
| |
than a boolean
|
| |
|
|
|
|
|
|
| |
draksnapshot-applet can reuse it too
note that this code need to be adapted for multiples simultaneous
sessions (being the same user or different users)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
udpate-alternatives which use absolute symlinks)
|
| |
|
|
|
| |
(otherwise formatXiB(-0.1) would need to be supported whereas it was broken)
|
| | |
|
| | |
|
| |
|
|
|
| |
with regular user rights (#33522)
|
| | |
|