<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drakx/perl-install/common.pm, branch 18.73</title>
<subtitle>Mageia Installer and base platform for many utilities</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/'/>
<entry>
<title>Use POSIX::setlocale() instead of c::setlocale().</title>
<updated>2025-11-02T18:20:25+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2025-11-02T12:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=b518f9f16b0fc09802d238eef91de41ed54de282'/>
<id>b518f9f16b0fc09802d238eef91de41ed54de282</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure efivarfs is mounted in the chroot when running the installer.</title>
<updated>2022-10-25T17:46:55+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2022-10-25T17:46:55+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=1d1d49e4f422e6e5ef8204b6cdcca8fd8cdf5f14'/>
<id>1d1d49e4f422e6e5ef8204b6cdcca8fd8cdf5f14</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor out code to mount the efivarfs pseudo-filesystem.</title>
<updated>2022-10-24T20:07:25+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2022-10-24T20:07:25+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=325cbdb1eeff9310c305bfb4c29bf7f03556655f'/>
<id>325cbdb1eeff9310c305bfb4c29bf7f03556655f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perl_checker cleanups + kill unused variable</title>
<updated>2020-03-25T07:05:39+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2020-03-24T09:47:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=55bc7ba0df2271059a114c6621c429ff96c44149'/>
<id>55bc7ba0df2271059a114c6621c429ff96c44149</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>drakboot: support setting up uefi on aarch64</title>
<updated>2020-01-01T14:43:45+00:00</updated>
<author>
<name>Pascal Terjan</name>
<email>pterjan@mageia.org</email>
</author>
<published>2019-12-31T19:25:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=b20813c771ce7abd72d7c42338f7b1a6b245ff8a'/>
<id>b20813c771ce7abd72d7c42338f7b1a6b245ff8a</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add extra UEFI helper functions.</title>
<updated>2018-12-17T18:16:24+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2018-12-16T22:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=51f5733e7910fdf7c99ef9da67fbb5d0d7ef51c1'/>
<id>51f5733e7910fdf7c99ef9da67fbb5d0d7ef51c1</id>
<content type='text'>
Needed for next commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Needed for next commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix doble quotes in perldoc</title>
<updated>2018-01-07T20:22:09+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2017-10-09T12:03:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=f107fdf1e388ba0f58b4f11939f56b5e0f4f68fa'/>
<id>f107fdf1e388ba0f58b4f11939f56b5e0f4f68fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kill now useless is_mgalive()</title>
<updated>2017-04-04T18:06:18+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2017-04-03T15:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=121369c77f8121376546b6094851fb1036665ed0'/>
<id>121369c77f8121376546b6094851fb1036665ed0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rely on Gtk+ for checking for Xserver (mga#19498)</title>
<updated>2017-01-12T15:40:09+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2017-01-12T15:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=912abc9725196eded7554813e4d6adb91e66f169'/>
<id>912abc9725196eded7554813e4d6adb91e66f169</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>(get_libdir) introduce it</title>
<updated>2016-06-24T15:49:49+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2016-06-24T15:38:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=b8ac3a77825a5d742f445f217a6688532f3d0345'/>
<id>b8ac3a77825a5d742f445f217a6688532f3d0345</id>
<content type='text'>
it'll be reused in compssUsers.pl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it'll be reused in compssUsers.pl
</pre>
</div>
</content>
</entry>
</feed>
